mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision eb12303bec1d47bbe91ebf011d17d81ec6fce68d
This commit is contained in:
parent
6ca767d7f9
commit
916ba6ef4d
467 changed files with 6716 additions and 1478 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
<div id="item2">XX</div>
|
||||
</div>
|
||||
<script>
|
||||
setup({ explicit_done: true });
|
||||
document.fonts.ready.then(() => {
|
||||
item1.setAttribute("data-offset-x", "80");
|
||||
item2.setAttribute("data-offset-x", "340");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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 grid items alignment works as expected with VERTICAL-LR vs HORIZONTAL-TB orthogonal flows.</p>
|
||||
|
||||
|
|
|
@ -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 grid items alignment works as expected with VERTICAL-RL vs HORIZONTAL-TB orthogonal flows.</p>
|
||||
|
||||
|
|
|
@ -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 grid items alignment works as expected with HORIZONTAL-TB vs VERTICAL-RL orthogonal flows.</p>
|
||||
|
||||
|
|
|
@ -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 align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied.</p>
|
||||
|
||||
|
|
|
@ -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 align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied.</p>
|
||||
|
||||
|
|
|
@ -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 align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied.</p>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue