commit | 874f00072f7239eeafe6c2d98bdee58baf65f6e7 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Wed May 09 09:17:16 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 09 09:17:16 2018 |
tree | 5956ef866aeeaae1720bda5d0fc26d4af30ee026 | |
parent | e885c34b7374e801895fb0adc47f4ed6e2fc07b8 [diff] |
Fix fast/text/transform-text-first-line.html not to rely on a known issue The new approach to apply the 'text-transform' property to ::first-line pseudo element[1] has a known issue that, since it transforms at paint time, line breaking is measured against non-transformed text. The test fast/text/transform-text-first-line.html relies on line breaking is measured against small letters, but this issue does not exist in LayoutNG. This patch fixes the test by using Ahem. Because Ahem has different glyph but the same width for small letter 'p', it can test which letters are capitalized without line breaking being affected by the issue. [1] https://chromium-review.googlesource.com/603855 TBR=eae@chromium.org Bug: 129669, 644733, 636993 Change-Id: Ie0a14652c43d4b863ea0fd9bf40d8ab17f39d0ea Reviewed-on: https://chromium-review.googlesource.com/1051067 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#557129}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .