Revision c360ca023dc5c341065de0f2814914b3c6004e4f authored by Koji Ishii on 29 June 2018, 21:50:07 UTC, committed by Blink WPT Bot on 29 June 2018, 21:59:50 UTC
When NGLineBreaker tries to fit items into a line, rounding errors are hard to avoid. One case is to fit `monospace` font into a container whose `width` is set by `ch` unit. Blink computes `ch` units in float, then round to LayoutUnit. This rounding often prevents the specified number of characters to fit into the line. All 4 impls pass this test for `3ch` to `100ch`. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I9fe68a8bb44820aa15c7eb8c564776688c8320ee Reviewed-on: https://chromium-review.googlesource.com/1116409 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#571642}
1 parent 8b8082f
File | Mode | Size |
---|---|---|
resources | ||
304.htm | -rw-r--r-- | 3.3 KB |
META.yml | -rw-r--r-- | 76 bytes |
README.md | -rw-r--r-- | 200 bytes |
access-control-expose-headers-parsing.window.js | -rw-r--r-- | 512 bytes |
allow-headers.htm | -rw-r--r-- | 3.1 KB |
basic.htm | -rw-r--r-- | 2.2 KB |
client-hint-request-headers.htm | -rw-r--r-- | 3.1 KB |
credentials-flag.htm | -rw-r--r-- | 4.1 KB |
image-tainting-in-cross-origin-iframe.sub.html | -rw-r--r-- | 893 bytes |
late-upload-events.htm | -rw-r--r-- | 1.4 KB |
origin.htm | -rw-r--r-- | 4.4 KB |
preflight-cache.htm | -rw-r--r-- | 4.4 KB |
preflight-failure.htm | -rw-r--r-- | 1.8 KB |
redirect-origin.htm | -rw-r--r-- | 6.8 KB |
redirect-preflight-2.htm | -rw-r--r-- | 2.1 KB |
redirect-preflight.htm | -rw-r--r-- | 1.5 KB |
redirect-userinfo.htm | -rw-r--r-- | 3.3 KB |
remote-origin.htm | -rw-r--r-- | 3.7 KB |
request-headers.htm | -rw-r--r-- | 2.8 KB |
response-headers.htm | -rw-r--r-- | 3.9 KB |
script-304.html | -rw-r--r-- | 1.1 KB |
simple-requests.htm | -rw-r--r-- | 3.4 KB |
status-async.htm | -rw-r--r-- | 4.4 KB |
status-preflight.htm | -rw-r--r-- | 2.0 KB |
status.htm | -rw-r--r-- | 2.4 KB |
support.js | -rw-r--r-- | 843 bytes |
Computing file changes ...