Open
Bug 1926194
Opened 4 days ago
Updated 1 day 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
()
ASSIGNED
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
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•4 days 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
You need to log in
before you can comment on or make changes to this bug.
Description
•