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

Unified Diff: LayoutTests/fast/block/positioning/fixed-position-transform-related-container.html

Issue 1111423002: Fix accumulating offsets for fixed positioned layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/block/positioning/fixed-position-transform-related-container.html
diff --git a/LayoutTests/fast/block/positioning/fixed-position-transform-related-container.html b/LayoutTests/fast/block/positioning/fixed-position-transform-related-container.html
new file mode 100644
index 0000000000000000000000000000000000000000..1ab668e481c41d59fa7d914bc747f9982dca8dc9
--- /dev/null
+++ b/LayoutTests/fast/block/positioning/fixed-position-transform-related-container.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<div style="position:absolute; left:50px; transform:translateX(0)">
+ <div style="position:absolute; top:50px; transform-style:preserve-3d;">
+ <div style="position:fixed; left:5px; top:5px; width:50px; height:50px; background-color:green;">
+ </div>
+ </div>
+</div>
+
+
+<div style="position:absolute; left:50px; transform:translateZ(0)">
+ <div style="position:absolute; top:150px; perspective:1px;">
+ <div style="position:fixed; left:5px; top:5px; width:50px; height:50px; background-color:green;">
+ </div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698