github web-platform-tests/wpt merge_pr_48811

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
10 months ago

Make tests under editing/plaintext-only not allow to pass with <br> elements when white-space is pre, pre-wrap or `pre-line

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.

Differential Revision: https://phabricator.services.mozilla.com/D226441

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1926194
gecko-commit: 69bbad8c218d32f119ad2a87445ef1f067a7426c
gecko-reviewers: m_kato

Don't miss a new wpt release

NewReleases is sending notifications on new releases.