Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: LayoutTests/fast/text/decorations-transformed.html

Issue 316933003: Deflake fast/text/decorations-transformed.html on Win7 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <body> 1 <body>
2 <script> 2 <script>
3 function addTest(scaleFactor) 3 function addTest(scaleFactor)
4 { 4 {
5 var div = document.createElement("div"); 5 var div = document.createElement("div");
6 div.style.float = "left"; 6 div.style.float = "left";
7 div.style.marginRight = 100 * (scaleFactor - 1) + "px"; 7 div.style.marginRight = 100 * (scaleFactor - 1) + "px";
8 div.style.webkitTransform = "scale(" + scaleFactor + ")"; 8 div.style.webkitTransform = "scale(" + scaleFactor + ")";
9 div.style.webkitTransformOrigin = "0 0"; 9 div.style.webkitTransformOrigin = "0 0";
10 div.style.textDecoration = "underline"; 10 div.style.textDecoration = "underline";
11 div.style.fontFamily = "ahem"; 11 div.style.fontFamily = "Ahem";
12 for (var i = 0; i < 15; ++i) { 12 for (var i = 0; i < 15; ++i) {
13 div.appendChild(document.createTextNode("\u00a0\u00a0\u00a0\u00a 0")); 13 div.appendChild(document.createTextNode("\u00a0\u00a0\u00a0\u00a 0"));
14 div.appendChild(document.createElement("br")); 14 div.appendChild(document.createElement("br"));
15 } 15 }
16 document.body.appendChild(div); 16 document.body.appendChild(div);
17 } 17 }
18 18
19 addTest(1.15); 19 addTest(1.15);
20 addTest(1.2); 20 addTest(1.2);
21 addTest(1.22); 21 addTest(1.22);
22 addTest(1.3); 22 addTest(1.3);
23 addTest(1.45); 23 addTest(1.45);
24 addTest(1.55); 24 addTest(1.55);
25 addTest(1.75); 25 addTest(1.75);
26 </script> 26 </script>
27 </body> 27 </body>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/script-tests/line-break-after-question-mark.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698