commit | 4641ae7ad64f0972109a66989a90217a1d51a9fa | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Fri Jan 11 09:58:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 09:58:56 2019 |
tree | 6e6b09454b29cab9cf5a46f3f947648cda56edd9 | |
parent | 89b2665274dd45001ebbbdc5bb63e109e6cf8b3e [diff] |
Fix unique local matching for sideloaded fonts In Windows layout tests we populate a set of sideloaded fonts to the FontCache. These were not covered by local unique matching, even though some tests rely on for example matching src: local(Ahem). Fix this with a test-only implementation based on retrieving the PostScript name from FreeType. This fixes http/tests/css/css-resources-referrer-srcdoc.html http/tests/css/css-resources-referrer.html http/tests/webfont/fontface-style-change.html when enabling local unique font name matching. Bug: 889864 Change-Id: I5284b2fc186cff03d2da9475ccd081cb3632dbc6 Reviewed-on: https://chromium-review.googlesource.com/c/1404089 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#621957}
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 .