Commit 666bfd5d authored by Koji Ishii's avatar Koji Ishii Committed by Commit Bot

Update expected file for hyphens-auto-mock.html

Legacy does not use hyphenation points that are beyond the
line end, but LayoutNG does. The LayoutNG behavior is more
correct. This patch updates the expected file to the LayoutNG
behavior, and marks the test to fail in `disable-layout-ng`.

Note, while crbug.com/870219 was fixed in LayoutNG, the test
from the reporter still has a few undesired results, due to
crbug.com/1022415 (sometimes it hyphenates though, which is
unexpected) and crbug.com/1140738. By adding one more word and
using the build the latter issue was fixed, the result looks
correct.

TBR=ikilpatrick@chromium.org, tkent@chromium.org, yosin@chromium.org

Bug: 870219
Change-Id: I6ec6262b2a79e3a5815f4ffd4cd7a34507b2735d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489777Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819390}
parent 642148be
...@@ -385,6 +385,7 @@ crbug.com/875235 external/wpt/html/rendering/non-replaced-elements/the-fieldset- ...@@ -385,6 +385,7 @@ crbug.com/875235 external/wpt/html/rendering/non-replaced-elements/the-fieldset-
### virtual/text-antialias/ ### virtual/text-antialias/
crbug.com/591099 virtual/text-antialias/justify-ideograph-simple.html [ Failure ] crbug.com/591099 virtual/text-antialias/justify-ideograph-simple.html [ Failure ]
crbug.com/591099 virtual/text-antialias/apply-start-width-after-skipped-text.html [ Failure ] crbug.com/591099 virtual/text-antialias/apply-start-width-after-skipped-text.html [ Failure ]
crbug.com/870219 virtual/text-antialias/hyphens/hyphens-auto-mock.html [ Failure ]
crbug.com/591099 virtual/text-antialias/hyphens/hyphens-auto-nowrap.html [ Failure ] crbug.com/591099 virtual/text-antialias/hyphens/hyphens-auto-nowrap.html [ Failure ]
crbug.com/639223 virtual/text-antialias/line-break-between-text-nodes-latin1.html [ Failure ] crbug.com/639223 virtual/text-antialias/line-break-between-text-nodes-latin1.html [ Failure ]
......
...@@ -1634,7 +1634,6 @@ crbug.com/676270 external/wpt/css/css-text/hyphens/hyphens-auto-001.html [ Failu ...@@ -1634,7 +1634,6 @@ crbug.com/676270 external/wpt/css/css-text/hyphens/hyphens-auto-001.html [ Failu
crbug.com/1024331 external/wpt/css/css-text/hyphens/hyphens-out-of-flow-001.html [ Failure ] crbug.com/1024331 external/wpt/css/css-text/hyphens/hyphens-out-of-flow-001.html [ Failure ]
crbug.com/1024331 external/wpt/css/css-text/hyphens/hyphens-out-of-flow-002.html [ Failure ] crbug.com/1024331 external/wpt/css/css-text/hyphens/hyphens-out-of-flow-002.html [ Failure ]
crbug.com/1140728 external/wpt/css/css-text/hyphens/hyphens-span-002.html [ Failure ] crbug.com/1140728 external/wpt/css/css-text/hyphens/hyphens-span-002.html [ Failure ]
crbug.com/870219 virtual/text-antialias/hyphens/hyphens-auto-mock.html [ Failure ]
crbug.com/1139693 virtual/text-antialias/hyphens/midword-break-priority.html [ Failure ] crbug.com/1139693 virtual/text-antialias/hyphens/midword-break-priority.html [ Failure ]
crbug.com/626703 external/wpt/css/css-text/letter-spacing/letter-spacing-control-chars-001.html [ Failure ] crbug.com/626703 external/wpt/css/css-text/letter-spacing/letter-spacing-control-chars-001.html [ Failure ]
......
...@@ -25,9 +25,9 @@ if (window.internals) ...@@ -25,9 +25,9 @@ if (window.internals)
</script> </script>
<div lang="en-us"> <div lang="en-us">
<div> <div>
<span style="width: 2ch;">hyphenation<img></span> <span style="width: 2ch;">hy-<br>phen-<br>ation<img></span>
<span style="width: 3.1ch;">hy-<br>phenation<img></span> <span style="width: 3.1ch;">hy-<br>phen-<br>ation<img></span>
<span style="width: 4ch;">hy-<br>phenation<img></span> <span style="width: 4ch;">hy-<br>phen-<br>ation<img></span>
<span style="width: 5.1ch;">hy-<br>phen-<br>ation<img></span> <span style="width: 5.1ch;">hy-<br>phen-<br>ation<img></span>
<span style="width: 6ch;">hy-<br>phen-<br>ation<img></span> <span style="width: 6ch;">hy-<br>phen-<br>ation<img></span>
<span style="width: 7.1ch;">hyphen-<br>ation<img></span> <span style="width: 7.1ch;">hyphen-<br>ation<img></span>
...@@ -37,9 +37,9 @@ if (window.internals) ...@@ -37,9 +37,9 @@ if (window.internals)
<span style="width: 11ch;">hyphenation<img></span> <span style="width: 11ch;">hyphenation<img></span>
</div> </div>
<div> <div>
<span style="width: 2ch;">hyphenation test</span> <span style="width: 2ch;">hy-<br>phen-<br>ation test</span>
<span style="width: 3.1ch;">hy-<br>phenation test</span> <span style="width: 3.1ch;">hy-<br>phen-<br>ation test</span>
<span style="width: 4ch;">hy-<br>phenation test</span> <span style="width: 4ch;">hy-<br>phen-<br>ation test</span>
<span style="width: 5.1ch;">hy-<br>phen-<br>ation test</span> <span style="width: 5.1ch;">hy-<br>phen-<br>ation test</span>
<span style="width: 6ch;">hy-<br>phen-<br>ation test</span> <span style="width: 6ch;">hy-<br>phen-<br>ation test</span>
<span style="width: 7.1ch;">hyphen-<br>ation test</span> <span style="width: 7.1ch;">hyphen-<br>ation test</span>
...@@ -49,9 +49,9 @@ if (window.internals) ...@@ -49,9 +49,9 @@ if (window.internals)
<span style="width: 11ch;">hyphenation test</span> <span style="width: 11ch;">hyphenation test</span>
</div> </div>
<div> <div>
<span style="width: 2ch;">a hyphenation test</span> <span style="width: 2ch;">a hy-<br>phen-<br>ation test</span>
<span style="width: 3.1ch;">a hy-<br>phenation test</span> <span style="width: 3.1ch;">a hy-<br>phen-<br>ation test</span>
<span style="width: 4ch;">a hy-<br>phenation test</span> <span style="width: 4ch;">a hy-<br>phen-<br>ation test</span>
<span style="width: 5.1ch;">a hy-<br>phen-<br>ation test</span> <span style="width: 5.1ch;">a hy-<br>phen-<br>ation test</span>
<span style="width: 6ch;">a hy-<br>phen-<br>ation test</span> <span style="width: 6ch;">a hy-<br>phen-<br>ation test</span>
<span style="width: 7.1ch;">a hy-<br>phen-<br>ation test</span> <span style="width: 7.1ch;">a hy-<br>phen-<br>ation test</span>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment