Update web-platform-tests to revision eb12303bec1d47bbe91ebf011d17d81ec6fce68d

This commit is contained in:
WPT Sync Bot 2020-03-25 08:18:42 +00:00
parent 6ca767d7f9
commit 916ba6ef4d
467 changed files with 6716 additions and 1478 deletions

View file

@ -35,8 +35,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -114,7 +114,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -36,7 +36,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.container')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.container'); })">
<div id="log"></div>

View file

@ -32,8 +32,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -53,8 +53,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -46,8 +46,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -57,8 +57,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -31,8 +31,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -35,8 +35,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -44,8 +44,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the align-content property is applied correctly when using content-distribution values in vertical-lr writing mode.</p>

View file

@ -44,8 +44,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the align-content property is applied correctly when using content-distribution values for vertical-rl mode.</p>

View file

@ -39,8 +39,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the align-content property is applied correctly when using content-distribution values.</p>

View file

@ -31,8 +31,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div style="position: relative">
<p>direction: LTR | align-content: 'center'</p>

View file

@ -31,8 +31,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div style="position: relative">
<p>direction: LTR | align-content: 'center'</p>

View file

@ -36,8 +36,11 @@ body {
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div style="position: relative">
<p>direction: LTR | align-content: 'center'</p>

View file

@ -33,8 +33,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the 'margin', 'border' and 'padding' properties are applied together correctly for 'align' and 'justify' properties on vertical-LR grids.</p>

View file

@ -33,8 +33,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the 'margin', 'border' and 'padding' properties are applied together correctly for 'align' and 'justify' properties on vertical-RL grids.</p>

View file

@ -32,8 +32,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the 'margin', 'border' and 'padding' properties are applied together correctly for 'align' and 'justify' properties.</p>

View file

@ -34,8 +34,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the 'overflow' keyword is applied correctly for 'align' and 'justify' properties.</p>

View file

@ -41,8 +41,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that stretching alignment works as expected with orthogonal flows.</p>

View file

@ -39,8 +39,11 @@ body {
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div style="position: relative">
<div class="grid fit-content" data-expected-width="200" data-expected-height="400">

View file

@ -29,8 +29,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<p>This test checks that the alignment properties align-self and justify-self apply the 'stretch' value correctly on replaced elements.</p>

View file

@ -35,8 +35,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div style="position: relative">
<div class="grid fit-content" data-expected-width="200" data-expected-height="400">

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 200);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 200);
grid.style.alignItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 200);
grid.style.alignItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 200);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 80);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 80);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-width="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 200);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 200);
grid.style.alignItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 100);
grid.style.alignItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-height", 80);
grid.style.alignItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 200);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 120);
grid.style.justifyItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 200);
grid.style.alignItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 200);
grid.style.justifyItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 120);
grid.style.justifyItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 200);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XX X<br>X XXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 120);
grid.style.justifyItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XXXXXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 80);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XXXXXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 120);
grid.style.justifyItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XXXXXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 80);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<div data-expected-height="100" id="item">XXXXXX<br>X<br>XX XXX</div>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 200);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 100);
grid.style.justifyItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 200);
grid.style.justifyItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 100);
grid.style.justifyItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 100);
grid.style.justifyItems = "normal";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 100);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 100);
grid.style.justifyItems = "stretch";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -29,6 +29,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
evaluateStyleChange(item, "before", "data-expected-width", 80);
grid.style.justifyItems = "start";
@ -36,7 +37,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>

View file

@ -36,6 +36,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
let before = {
item1: {"data-offset-y": 16 },
@ -55,7 +56,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div id="container">
<div id="item1" data-expected-width="50" data-expected-height="20" data-offset-x="0">É</div>
<div id="item2" data-expected-width="50" data-expected-height="40" data-offset-x="50">É</div>

View file

@ -37,6 +37,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
let before = {
item1: {"data-offset-y": 8 },
@ -56,7 +57,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div id="container">
<div id="item1" data-expected-width="50" data-expected-height="20" data-offset-x="0">É</div>
<div id="item2" data-expected-width="50" data-expected-height="40" data-offset-x="50">É</div>

View file

@ -38,6 +38,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
let before = {
item1: {"data-offset-x": 4 },
@ -57,7 +58,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div id="container">
<div id="item1" data-expected-width="20" data-expected-height="50" data-offset-y="0">É</div>
<div id="item2" data-expected-width="40" data-expected-height="50" data-offset-y="50">É</div>

View file

@ -39,6 +39,7 @@
<script src="/resources/check-layout-th.js"></script>
<script src="support/style-change.js"></script>
<script>
setup({ explicit_done: true });
function runTest() {
let before = {
item1: {"data-offset-x": 2 },
@ -58,7 +59,7 @@ function runTest() {
done();
}
</script>
<body onload="runTest()">
<body onload="document.fonts.ready.then(() => { runTest(); })">
<div id="container">
<div id="item1" data-expected-width="20" data-expected-height="50" data-offset-y="0">É</div>
<div id="item2" data-expected-width="40" data-expected-height="50" data-offset-y="50">É</div>

View file

@ -35,6 +35,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "75");
item2.setAttribute("data-offset-y", "300");

View file

@ -35,6 +35,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "75");
item2.setAttribute("data-offset-y", "300");

View file

@ -36,6 +36,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "75");
item2.setAttribute("data-offset-y", "300");

View file

@ -36,6 +36,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "75");
item2.setAttribute("data-offset-y", "300");

View file

@ -34,6 +34,7 @@
<div id="item2">XXXXX</div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "90");
item2.setAttribute("data-offset-y", "345");

View file

@ -34,6 +34,7 @@
<div id="item2">XXXXX</div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "95");
item2.setAttribute("data-offset-y", "345");

View file

@ -35,6 +35,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-y", "75");
item2.setAttribute("data-offset-y", "300");

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="140" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="120" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="70" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="60" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="140" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="120" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="140" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="120" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -54,7 +54,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="RTL firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="RTL firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -54,7 +54,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="140" data-expected-width="60" data-expected-height="10" class="RTL firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="120" data-expected-width="70" data-expected-height="30" class="RTL firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -57,7 +57,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid LTR">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="100" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -57,7 +57,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid LTR">
<div data-offset-x="0" data-offset-y="90" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="220" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -57,7 +57,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid LTR">
<div data-offset-x="0" data-offset-y="45" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="160" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -57,7 +57,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid LTR">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="RTL firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="100" data-expected-width="70" data-expected-height="30" class="RTL firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -57,7 +57,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid LTR">
<div data-offset-x="0" data-offset-y="90" data-expected-width="60" data-expected-height="10" class="RTL firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="220" data-expected-width="70" data-expected-height="30" class="RTL firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -53,7 +53,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div class="grid">
<div data-offset-x="0" data-offset-y="0" data-expected-width="60" data-expected-height="10" class="firstRowFirstColumn">X XX X</div>
<div data-offset-x="100" data-offset-y="0" data-expected-width="70" data-expected-height="30" class="firstRowSecondColumn">XX X<br>X XXX X<br>XX XXX</div>

View file

@ -31,7 +31,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<pre>Horizontal grid and verticalRL item</pre>

View file

@ -34,7 +34,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<pre>Horizontal grid and item with fixed height</pre>

View file

@ -36,7 +36,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<pre>Horizontal grid and item with relative height</pre>

View file

@ -34,7 +34,10 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<pre>Horizontal grid and item with fixed height</pre>

View file

@ -23,8 +23,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onLoad="checkLayout('.grid');">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -23,8 +23,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onLoad="checkLayout('.grid');">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -39,8 +39,11 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onLoad="checkLayout('.grid');">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<div id="log"></div>

View file

@ -87,8 +87,11 @@ div.gridWithPaddingBorder > div.cell {
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="checkLayout('.grid')">
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<!-- Check that gutters do not interfere with self alignment computation. -->
<div class="container">

View file

@ -35,6 +35,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-x", "75");
item2.setAttribute("data-offset-x", "300");

View file

@ -35,6 +35,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-x", "75");
item2.setAttribute("data-offset-x", "300");

View file

@ -36,6 +36,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-x", "75");
item2.setAttribute("data-offset-x", "300");

View file

@ -36,6 +36,7 @@
<div id="item2"></div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-x", "75");
item2.setAttribute("data-offset-x", "300");

View file

@ -36,6 +36,7 @@
<div id="item2">XXXXX</div>
</div>
<script>
setup({ explicit_done: true });
document.fonts.ready.then(() => {
item1.setAttribute("data-offset-x", "50");
item2.setAttribute("data-offset-x", "325");

Some files were not shown because too many files have changed in this diff Show more