mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 756a676d640e9a772f565964285b2f20f6164fce
This commit is contained in:
parent
a38f28f811
commit
3d5ad91231
3066 changed files with 23973 additions and 26209 deletions
|
@ -3,6 +3,7 @@
|
|||
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
font: 10px/1 Ahem;
|
||||
|
@ -18,6 +19,7 @@ div {
|
|||
<span class="inline-block"></span>
|
||||
</div>
|
||||
<script>
|
||||
document.fonts.ready.then(() => {
|
||||
run(document.getElementById('empty'));
|
||||
function run(element) {
|
||||
test(() => {
|
||||
|
@ -28,5 +30,6 @@ function run(element) {
|
|||
assert_equals(rect.height, 10, "height");
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue