Skip to content

Commit 32fa5ea

Browse files
committed
Revert "Set document.fonts.ready.then on DOMContentLoaded as that seems to give more reliable results on WebKit."
This reverts commit 391154f.
1 parent 391154f commit 32fa5ea

12 files changed

+12
-12
lines changed

mathml/presentation-markup/fractions/frac-parameters-1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262

6363
setup({ explicit_done: true });
64-
window.addEventListener("DOMContentLoaded", function() {
64+
window.addEventListener("load", function() {
6565
document.fonts.ready.then(runTests);
6666
});
6767

mathml/presentation-markup/fractions/frac-parameters-2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050

5151
setup({ explicit_done: true });
52-
window.addEventListener("DOMContentLoaded", function() {
52+
window.addEventListener("load", function() {
5353
document.fonts.ready.then(runTests);
5454
});
5555

mathml/presentation-markup/operators/mo-axis-height-1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
setup({ explicit_done: true });
28-
window.addEventListener("DOMContentLoaded", function() {
28+
window.addEventListener("load", function() {
2929
document.fonts.ready.then(runTests);
3030
});
3131

mathml/presentation-markup/radicals/root-parameters-1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050

5151
setup({ explicit_done: true });
52-
window.addEventListener("DOMContentLoaded", function() {
52+
window.addEventListener("load", function() {
5353
document.fonts.ready.then(runTests);
5454
});
5555

mathml/presentation-markup/scripts/subsup-parameters-1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262

6363
setup({ explicit_done: true });
64-
window.addEventListener("DOMContentLoaded", function() {
64+
window.addEventListener("load", function() {
6565
document.fonts.ready.then(runTests);
6666
});
6767

mathml/presentation-markup/scripts/underover-parameters-1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
setup({ explicit_done: true });
40-
window.addEventListener("DOMContentLoaded", function() {
40+
window.addEventListener("load", function() {
4141
document.fonts.ready.then(runTests);
4242
});
4343

mathml/presentation-markup/scripts/underover-parameters-2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
setup({ explicit_done: true });
40-
window.addEventListener("DOMContentLoaded", function() {
40+
window.addEventListener("load", function() {
4141
document.fonts.ready.then(runTests);
4242
});
4343

mathml/presentation-markup/scripts/underover-parameters-3.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
setup({ explicit_done: true });
43-
window.addEventListener("DOMContentLoaded", function() {
43+
window.addEventListener("load", function() {
4444
document.fonts.ready.then(runTests);
4545
});
4646

mathml/presentation-markup/scripts/underover-parameters-4.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
setup({ explicit_done: true });
43-
window.addEventListener("DOMContentLoaded", function() {
43+
window.addEventListener("load", function() {
4444
document.fonts.ready.then(runTests);
4545
});
4646

mathml/presentation-markup/tables/table-axis-height.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
setup({ explicit_done: true });
28-
window.addEventListener("DOMContentLoaded", function() {
28+
window.addEventListener("load", function() {
2929
document.fonts.ready.then(runTests);
3030
});
3131

mathml/relations/css-styling/displaystyle-1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
assert_approx_equals(elementSize, 1000 * emToPx, epsilon, description);
3232
}
3333

34-
window.addEventListener("DOMContentLoaded", function() {
34+
window.addEventListener("load", function() {
3535
document.fonts.ready.then(runTests);
3636
});
3737

mathml/relations/css-styling/lengths-3.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
setup({ explicit_done: true });
28-
window.addEventListener("DOMContentLoaded", function() {
28+
window.addEventListener("load", function() {
2929
document.fonts.ready.then(runTests);
3030
});
3131

0 commit comments

Comments
 (0)