mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6
This commit is contained in:
parent
39963266ae
commit
ea00d34098
392 changed files with 5974 additions and 7614 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<link rel="author" title="Dominik Röttsches" href="drott@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-font-loading/#font-face-load">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4510">
|
||||
<meta name="assert" content="Ensure that an empty font family name loads and resolves to array." />
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
promise_test(function(t) {
|
||||
var testFontFace = new FontFace('a', 'url(a)');
|
||||
document.fonts.add(testFontFace);
|
||||
return document.fonts.load("1px \"\"").then(function(result) {
|
||||
assert_true(Array.isArray(result),
|
||||
"Resolved promise's value must be an array.") });
|
||||
})
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue