-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Make <select> special in innerText #1717
Conversation
Hmmm. I suppose |
Probably? What do browsers do? |
@zcorpan what's the plan here? Add acks, add tests, merge? Or back off this change since it only matches 1/4 browsers, apparently? |
I think we can merge this and see if browsers align with this. There is a small benefit of this approach over the WebKit/Edge 14.14393 behavior in that it is closer to IE, where |
@zcorpan LGTM then. Can you add the acks? Will let you decide whether to merge before or after adding tests. |
Tests for whatwg/html#1717 These all pass in Gecko.
Tests at web-platform-tests/wpt#4166 |
Tests for whatwg/html#1717 These all pass in Gecko.
`select` is a replaced element, but for Web compat we need to include the text of `option` elements in innerText. The new text is intended to match the behavior of Gecko, which in turn is very close to the legacy IE/Edge behavior. Fixes rocallahan/innerText-spec#5
7c1a2c1
to
b403e90
Compare
Tests for whatwg/html#1717 These all pass in Gecko.
select
is a replaced element, but for Web compat we needto include the text of
option
elements in innerText.The new text is intended to match the behavior of Gecko,
which in turn is very close to the legacy IE/Edge behavior.
Fixes rocallahan/innerText-spec#5
@jfkthame are you in the spec's Acks? If not, which name do you prefer?