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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/stacked-diacritics.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en"> 3 <html lang="en">
4 <head> 4 <head>
5 <style type="text/css"> 5 <style type="text/css">
6 div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10p x; } 6 div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10p x; }
7 </style> 7 </style>
8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function repaintTest() 10 function repaintTest()
11 { 11 {
12 document.getElementById('stacked').innerText = ""; 12 document.getElementById('stacked').innerText = "";
13 } 13 }
14 </script> 14 </script>
15 </head> 15 </head>
16 <body onload="runRepaintTest();"> 16 <body onload="runRepaintAndPixelTest();">
17 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6274"> Bugzil la bug 6274</a>Text repainting does not account for glyphs which draw outside th e typographic bounds of the font.</p> 17 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6274"> Bugzil la bug 6274</a>Text repainting does not account for glyphs which draw outside th e typographic bounds of the font.</p>
18 18
19 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</ b> 19 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</ b>
20 The text will entirely disappear. 20 The text will entirely disappear.
21 </p> 21 </p>
22 22
23 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> 23 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
24 Most of the text will be gone, but some artifacts will be left behind at the top of the page. 24 Most of the text will be gone, but some artifacts will be left behind at the top of the page.
25 </p> 25 </p>
26 26
27 <div class="test"> 27 <div class="test">
28 <div style="font-size: 36px;" id="stacked">&#x1EA6;&#x1EA4;&#x1EAA;&#x1EA8;& #x1EB0;</div> 28 <div style="font-size: 36px;" id="stacked">&#x1EA6;&#x1EA4;&#x1EAA;&#x1EA8;& #x1EB0;</div>
29 </div> 29 </div>
30 <br> 30 <br>
31 31
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698