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

Unified Diff: LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-positioned.html

Issue 358033003: Fix LayoutState for relatively positioned inlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Damn Windows. 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-positioned.html
diff --git a/LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-positioned.html b/LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-positioned.html
new file mode 100644
index 0000000000000000000000000000000000000000..65b9814cb3842b0df294d97a7a607e457e813e1d
--- /dev/null
+++ b/LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-positioned.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<body onload="runRepaintTest()">
+<div style="font-family: Ahem;">This test passes if we correctly repaint the following relatively positioned inline.</div>
+<span style="position: relative; top: 80px;">
+ <span id="target" style="position: relative; top: 80px;">
+ <div style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; color: green;">x</div>
+ </span>
+</span>
+<script>
+ function repaintTest()
+ {
+ document.getElementById("target").style.top = "100px";
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698