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

Unified Diff: LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html

Issue 1181983002: Ensure that positioned objects' list is always in parent first order (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mstensho's nits and change test to avoid timeouts Created 5 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/dynamic/transform-removed-from-absolute-with-fixed-children.html
diff --git a/LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html b/LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html
new file mode 100644
index 0000000000000000000000000000000000000000..f659c8d53b863be0c4eccb45d4c49ac54ac6e6fa
--- /dev/null
+++ b/LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<p>The word "PASS" should be seen in the bottom left corner of the viewport, and there should be no crash or assertion failure.</p>
+<div style="position:relative;">
+ <div id="elm" style="transform:rotate(3deg); position:absolute;">
+ <div id="child" style="position:fixed; bottom:0;">PASS</div>
+ </div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("elm").style.transform = "none";
+ document.body.offsetTop;
+ document.getElementById("child").style.width = "50%";
+</script>

Powered by Google App Engine
This is Rietveld 408576698