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

Unified Diff: LayoutTests/paint/invalidation/fixed-position-with-text.html

Issue 1330993002: Invalidate all non-composited descendants on fixed-position changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Higher expectations Created 5 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/paint/invalidation/fixed-position-with-text-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/paint/invalidation/fixed-position-with-text.html
diff --git a/LayoutTests/paint/invalidation/fixed-position-with-text.html b/LayoutTests/paint/invalidation/fixed-position-with-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..28c4546318640dbffae5b5f0ce028cc5362dda81
--- /dev/null
+++ b/LayoutTests/paint/invalidation/fixed-position-with-text.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ #div {
+ position: fixed;
+ float: left;
+ z-index: 10;
+ }
+ span {
+ display: inline-block;
+ border: 1px solid black;
+ }
+ span:hover {
+ color: green;
+ }
+ </style>
+ <script src="../../resources/run-after-layout-and-paint.js"></script>
+ <script type="text/javascript">
+ if (window.testRunner)
+ testRunner.waitUntilDone();
+
+ runAfterLayoutAndPaint(function() {
+ document.body.style.height = "300px";
+ document.getElementById("div").style.position = "relative";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ </script>
+</head>
+<body>
+<div id="div">
+<span>This text should be in a box</span>
+</div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/paint/invalidation/fixed-position-with-text-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698