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

Side by Side Diff: LayoutTests/fast/dynamic/position-fixed-to-absolute-with-positioned-child-crash.html

Issue 875563003: Ensure that positioned objects' list is always in parent first order (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <body>
4 <div id="container" style="position: fixed;">
5 <div style="position: fixed;"></div>
6 </div>
7 <p id="description">
8 This tests that changing the container's position from fixed to absolute is safe, when
9 child container with fixed position is present.<br>
10 PASS, if no crash or assert in debug.
11 </p>
12 <script>
13 if (window.testRunner)
14 testRunner.dumpAsText();
15 var description = document.getElementById("description");
16 var container = document.getElementById("container");
17 container.offsetHeight;
18 container.style.position = "absolute";
19 container.style.width = description.offsetWidth + "px";
20 </script>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698