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

Side by Side Diff: LayoutTests/fast/dynamic/position-change-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: WIP (just idea): redesign positioned objects handling Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/position-change-to-absolute-with-positioned-child-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <body>
4 <div id="container-fixed" style="position: fixed;">
5 <div style="position: fixed;"></div>
6 </div>
7 <div id="container-relative" style="position: relative;">
8 <div style="position: fixed;"></div>
9 </div>
10 <p id="description">
11 This tests that changing the container's position from fixed or relative to absolute is safe,<br>
12 when child container with fixed position is present.<br>
13 PASS, if no crash or assert in debug.
14 </p>
15 <script>
16 if (window.testRunner)
17 testRunner.dumpAsText();
18 document.body.offsetHeight;
19
20 var fixedContainer = document.getElementById("container-fixed");
21 fixedContainer.style.position = "absolute";
22
23 var relativeContainer = document.getElementById("container-relative");
24 relativeContainer.style.position = "absolute";
25 </script>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/position-change-to-absolute-with-positioned-child-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698