aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html
index a41f24bb95e..21e7d0d3abf 100644
--- a/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html
+++ b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html
@@ -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>