Commit 8c13d985 authored by mrobinson@webkit.org's avatar mrobinson@webkit.org

[GTK] Some GTK+-specific font-face tests fail on the bots

https://bugs.webkit.org/show_bug.cgi?id=65820

Fix the timing issues in this test.

Reviewed by Philippe Normand.

* platform/gtk/fonts/custom-font-missing-glyphs.html: Delay the test completion until
after document.readyState moves to "complete" and a short timeout.
* platform/gtk/fonts/font-face-with-complex-text.html: Ditto.

git-svn-id: svn://svn.chromium.org/blink/trunk@93513 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 05ceef65
2011-08-22 Martin Robinson <mrobinson@igalia.com>
[GTK] Some GTK+-specific font-face tests fail on the bots
https://bugs.webkit.org/show_bug.cgi?id=65820
Fix the timing issues in this test.
Reviewed by Philippe Normand.
* platform/gtk/fonts/custom-font-missing-glyphs.html: Delay the test completion until
after document.readyState moves to "complete" and a short timeout.
* platform/gtk/fonts/font-face-with-complex-text.html: Ditto.
2011-08-22 Kristóf Kosztyó <kkristof@inf.u-szeged.hu>
[NRWT] Fix "Only unexpected results" option of results.html
......@@ -6,6 +6,15 @@
font-family: MostlyEmptyFont;
}
</style>
<script>
if (window.layoutTestController) {
layoutTestController.waitUntilDone();
document.onreadystatechange = function() {
if (document.readyState === 'complete')
setTimeout(function() {layoutTestController.notifyDone();}, 100);
};
}
</script>
<body>
<div style="font-family: MostlyEmptyFont;">A B C D E F G H I J K L M N O P Q R S T U V W X Y Z</div>
</body>
......
......@@ -8,6 +8,15 @@
}
body { text-rendering: geometricPrecision; }
</style>
<script>
if (window.layoutTestController) {
layoutTestController.waitUntilDone();
document.onreadystatechange = function() {
if (document.readyState === 'complete')
setTimeout(function() {layoutTestController.notifyDone();}, 100);
};
}
</script>
</head>
<body>
<p>This text should be rendered with the default font:</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment