gecko-dev/testing/web-platform/tests/css/css-text/white-space/reference
Koji Ishii 4add24f066 Bug 1631501 [wpt PR 23119] - Fix inline box positions when RTL and has trailing spaces, a=testonly
Automatic update from web-platform-tests
Fix inline box positions when RTL and has trailing spaces

This patch fixes inline box positions when the line is in RTL
and has preserved trailing spaces.

Two issues were found for this case:
a. Computes incorrect value for how much the line hangs.
b. When hang is not zero, inline box positions are incorrect.

This patch fixes the issue b.

The issue a is related but does not contribute to the
reported symptom. It should be worked with better trailing
space support and UAX#9 L1 support (crbug.com/316409). TODO
comment added for this issue.

Bug: 1062716
Change-Id: Ie33db517ebc886a724116b594699f8d59751c808
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2156235
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760793}

--

wpt-commits: 44215ed1f182054fdd55a43035b70041b50d61b0
wpt-pr: 23119
2020-04-28 11:33:55 +00:00
..
break-spaces-tab-003-ref.html
break-spaces-tab-005-ref.html
control-chars-000-ref.html
eol-spaces-bidi-001-ref.html
line-edge-white-space-collapse-001-ref.html
line-edge-white-space-collapse-002-ref.html
pre-float-001-ref.html
pre-wrap-001-ref.html
pre-wrap-012-ref.html
pre-wrap-013-ref.html
pre-wrap-014-ref.html
pre-wrap-018-ref.html
pre-wrap-019-ref.html
pre-wrap-020-ref.html
pre-wrap-float-001-ref.html
tab-stop-threshold-001-ref.html
tab-stop-threshold-002-ref.html
text-space-collapse-discard-001-ref.xht
text-space-collapse-preserve-breaks-001-ref.xht
text-space-trim-trim-inner-001-ref.xht
textarea-pre-wrap-001-ref.html
textarea-pre-wrap-014-ref.html
trailing-ideographic-space-001-ref.html
trailing-ideographic-space-002-ref.html
trailing-ideographic-space-003-ref.html
trailing-ideographic-space-004-ref.html
trailing-ideographic-space-alt-003-ref.html
trailing-other-space-separators-001-ref.html
trailing-other-space-separators-002-ref.html
trailing-other-space-separators-break-spaces-001-ref.html
trailing-other-space-separators-break-spaces-002-ref.html
trailing-other-space-separators-break-spaces-009-ref.html
trailing-other-space-separators-break-spaces-013-ref.html
trailing-space-align-start-ref.html
trailing-space-rtl-001-ref.html
white-space-break-spaces-005-ref.html
white-space-intrinsic-size-001-ref.html
white-space-intrinsic-size-002-ref.html
white-space-intrinsic-size-003-ref.html
white-space-intrinsic-size-004-ref.html
white-space-normal-011-ref.html
white-space-nowrap-011-ref.html
white-space-pre-011-ref.html
white-space-pre-031-ref.html
white-space-pre-034-ref.html
white-space-pre-wrap-trailing-spaces-001-ref.html
white-space-pre-wrap-trailing-spaces-002-ref.html
white-space-pre-wrap-trailing-spaces-003-ref.html
white-space-pre-wrap-trailing-spaces-004-ref.html
white-space-wrap-after-nowrap-001-ref.html
white-space-zero-fontsize-001-ref.html
white-space-zero-fontsize-002-ref.html
ws-break-spaces-applies-to-001-ref.html
ws-break-spaces-applies-to-003-ref.html
ws-break-spaces-applies-to-006-ref.html
ws-break-spaces-applies-to-012-ref.html