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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/stacked-diacritics.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/stacked-diacritics.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/stacked-diacritics.html b/third_party/WebKit/LayoutTests/paint/invalidation/stacked-diacritics.html
new file mode 100644
index 0000000000000000000000000000000000000000..2f343555d4d7abc7047b978105058b96189fd886
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/stacked-diacritics.html
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html lang="en">
+<head>
+<style type="text/css">
+ div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10px; }
+</style>
+ <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script type="text/javascript">
+ function repaintTest()
+ {
+ document.getElementById('stacked').innerText = "";
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6274"> Bugzilla bug 6274</a>Text repainting does not account for glyphs which draw outside the typographic bounds of the font.</p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+The text will entirely disappear.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+Most of the text will be gone, but some artifacts will be left behind at the top of the page.
+</p>
+
+<div class="test">
+ <div style="font-size: 36px;" id="stacked">&#x1EA6;&#x1EA4;&#x1EAA;&#x1EA8;&#x1EB0;</div>
+</div>
+<br>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698