Closed
Bug 1951027
Opened 4 months ago
Closed 4 months ago
Add WPT to check collapsed invisible white-spaces do not appear in the result of `.innerText`
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
137 Branch
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
()
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•4 months ago
|
||
It seems that there are not enough testing for the handling of collapsible
white-spaces of the getter of .innerText
.
Additionally, Chrome overrides white-space
property if the element has
contenteditable="plaintext-only"
and that causes incompatible results from
Firefox and Safari. Therefore, WPT should explicitly test it as invalid
behavior.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/c12c5867b31f
Add tests of handling collapsed white-space in the result of `.innerText` r=jfkthame
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51040 for changes under testing/web-platform/tests
Comment 4•4 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•