Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore descendant nodes of replace elements during inner text collection steps #20161

Open
ferjm opened this issue Mar 1, 2018 · 0 comments
Open

Comments

@ferjm
Copy link
Member

@ferjm ferjm commented Mar 1, 2018

The spec says:

Note that descendant nodes of most replaced elements (e.g., textarea, input, and video — but not button) are not rendered by CSS, strictly speaking, and therefore have no CSS boxes for the purposes of this algorithm.

This makes tests like <audio> contents ignored ("<div><audio>abc") or <video> contents ignored ("<div><video>abc") fail.

@ferjm ferjm added the A-layout/query label Mar 1, 2018
@ferjm ferjm changed the title Ignore descendants nodes of replace elements during inner text collection steps Ignore descendant nodes of replace elements during inner text collection steps Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.