Closed
Bug 1926194
Opened 1 year ago
Closed 1 year ago
Make tests under `editing/plaintext-only` not allow to pass with `<br>` elements when `white-space` is `pre`, `pre-wrap` or `pre-line`
Categories
(Core :: DOM: Editor, task)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
133 Branch
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
Currently, the expectations include <br> element cases even if white-space value is pre, pre-wrap or pre-line. However, in these cases, only \n should be allowed because <br> elements are not converted to \n if web apps gets the editing host value with .textContent.
| Assignee | ||
Comment 1•1 year ago
|
||
Currently, the expectations include <br> element cases even if white-space
value is pre, pre-wrap or pre-line. However, in these cases, only \n
should be allowed because <br> elements are not converted to \n if web apps
gets the editing host value with .textContent.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/69bbad8c218d
Make tests under `editing/plaintext-only` not allow to pass with `<br>` elements when `white-space` is `pre`, `pre-wrap` or `pre-line` r=m_kato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48811 for changes under testing/web-platform/tests
Comment 4•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•