Commit 23e0eedc authored by eae@chromium.org's avatar eae@chromium.org

Deflake fast/text/decorations-transformed.html on Win7

Change fast/text/decorations-transformed.html to use the Ahem font
instead of ahem as test-only side-loaded fonts are case sensetive on
Windows. Also fix similar issue in line-break-after-question-mark
test.

BUG=378610
R=dglazkov@chromium.org

Review URL: https://codereview.chromium.org/316933003

git-svn-id: svn://svn.chromium.org/blink/trunk@175509 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d4b0da15
...@@ -389,9 +389,6 @@ crbug.com/290411 [ XP Mac ] fast/text/sub-pixel/text-scaling-webfont.html [ Skip ...@@ -389,9 +389,6 @@ crbug.com/290411 [ XP Mac ] fast/text/sub-pixel/text-scaling-webfont.html [ Skip
crbug.com/377696 printing/setPrinting.html [ Skip ] crbug.com/377696 printing/setPrinting.html [ Skip ]
crbug.com/377696 printing/width-overflow.html [ Skip ] crbug.com/377696 printing/width-overflow.html [ Skip ]
# Flaky since DirectWrite.
crbug.com/378610 [ Win ] fast/text/decorations-transformed.html [ Pass Failure ]
# FIXME: Remove windows-directwrite test suite once we're sure the DW won't be reverted. Keep it but skip it for now. # FIXME: Remove windows-directwrite test suite once we're sure the DW won't be reverted. Keep it but skip it for now.
crbug.com/378610 [ Win7 ] virtual/windows-directwrite [ Skip ] crbug.com/378610 [ Win7 ] virtual/windows-directwrite [ Skip ]
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
div.style.webkitTransform = "scale(" + scaleFactor + ")"; div.style.webkitTransform = "scale(" + scaleFactor + ")";
div.style.webkitTransformOrigin = "0 0"; div.style.webkitTransformOrigin = "0 0";
div.style.textDecoration = "underline"; div.style.textDecoration = "underline";
div.style.fontFamily = "ahem"; div.style.fontFamily = "Ahem";
for (var i = 0; i < 15; ++i) { for (var i = 0; i < 15; ++i) {
div.appendChild(document.createTextNode("\u00a0\u00a0\u00a0\u00a0")); div.appendChild(document.createTextNode("\u00a0\u00a0\u00a0\u00a0"));
div.appendChild(document.createElement("br")); div.appendChild(document.createElement("br"));
......
...@@ -2,7 +2,7 @@ description("Tests when line breaking is allowed after a question mark character ...@@ -2,7 +2,7 @@ description("Tests when line breaking is allowed after a question mark character
var div = document.body.appendChild(document.createElement("div")); var div = document.body.appendChild(document.createElement("div"));
div.style.width = "1px"; div.style.width = "1px";
div.style.fontFamily = "ahem"; div.style.fontFamily = "Ahem";
div.style.fontSize = "25px"; div.style.fontSize = "25px";
function allowsBreakBefore(i) function allowsBreakBefore(i)
......
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