Closed Bug 1497327 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 13376 - Make Element#innerText to collapse white spaces after <br>

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13376 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/13376
Details from upstream follow.

Yoshifumi Inoue <yosin@chromium.org> wrote:
>  Make Element#innerText to collapse white spaces after <br>
>  
>  This patch makes Element#innerText to collapse white space after \<br> to avoid
>  emitting extra space for improving interop.
>  
>  Bug: 892491
>  Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
>  Change-Id: I8dd429a8af6ecd2e6d5195d6a6ec7b0214c6345c
>  Reviewed-on: https://chromium-review.googlesource.com/c/1263638
>  Reviewed-by: Yoichi Osato \<yoichio@chromium.org>
>  Commit-Queue: Yoshifumi Inoue \<yosin@chromium.org>
>  Cr-Commit-Position: refs/heads/master@{#597004}
>
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 215 subtests
OK     : 1
PASS   : 214
FAIL   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/06f46420815f
[wpt PR 13376] - Make Element#innerText to collapse white spaces after <br>, a=testonly
https://hg.mozilla.org/mozilla-central/rev/06f46420815f
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.