aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-10-03 01:25:13 -0400
committerGitHub <noreply@github.com>2019-10-03 01:25:13 -0400
commit78438113d4ee6838c1f630f4ac0cdb2b157e8781 (patch)
tree63d5c28933840ad067fae9477ec4c461a251bf9a /tests
parent84693d81173b58c4afc408a7295210960842484a (diff)
parentddbd7aef7d7a0cdf48ac28656f8e547bd28d51cd (diff)
downloadservo-78438113d4ee6838c1f630f4ac0cdb2b157e8781.tar.gz
servo-78438113d4ee6838c1f630f4ac0cdb2b157e8781.zip
Auto merge of #24347 - jdm:mac-font-load, r=pcwalton
Fix intermittent macOS reftest failures CTCreateFontWithName intermittently returns the wrong font for a given postscript name. These changes rely on obtaining a font descriptor, using it to get the path to the actual font file on disk, getting the bytes that make up the font, and using Core Graphics to create a font handle and obtaining the Core Graphics font from the CGFont reference. This is the same strategy that font-kit uses. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23290 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24347) <!-- Reviewable:end -->
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/metadata/css/css-text/word-break/word-break-normal-bo-000.html.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wpt/metadata/css/css-text/word-break/word-break-normal-bo-000.html.ini b/tests/wpt/metadata/css/css-text/word-break/word-break-normal-bo-000.html.ini
index fb935620095..c7554ba00fb 100644
--- a/tests/wpt/metadata/css/css-text/word-break/word-break-normal-bo-000.html.ini
+++ b/tests/wpt/metadata/css/css-text/word-break/word-break-normal-bo-000.html.ini
@@ -1,4 +1,3 @@
[word-break-normal-bo-000.html]
type: reftest
- expected:
- if os == "linux": FAIL
+ expected: FAIL