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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/stacked-float-under-composited-inline.html

Issue 2647383004: Float layer should ignore offsets from ancestor inline layers under containing block (Closed)
Patch Set: - Created 3 years, 11 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/compositing/stacked-float-under-composited-inline.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/stacked-float-under-composited-inline.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/stacked-float-under-composited-inline.html
new file mode 100644
index 0000000000000000000000000000000000000000..c1803db2122cd862eba5b266499c8ec8f685f3d1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/stacked-float-under-composited-inline.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<span style="position: relative; top: 100px; left: 100px; will-change: transform">
+ <div id="float" style="float: left; position: relative; top: 50px; left: 50px; width: 100px; height: 100px; background-color: red"></div>
+</span>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ float.style.backgroundColor = 'green';
+}
+onload = runRepaintAndPixelTest;
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698