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

Side by Side Diff: LayoutTests/fast/multicol/dynamic/spanner-becomes-abspos-crash.html

Issue 1162253006: An object may become a column spanner or cease to be one even if column-span doesn't change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>Turn a column spanner into an absolutely positioned box.</p>
3 <p>PASS if no crash or assertion failure.</p>
4 <div style="-webkit-column-count:2;">
5 Text.
6 <div>
7 <div id="spanner" style="-webkit-column-span:all;"></div>
8 </div>
9 Text.
10 <span id="something" style="display:none;"></span>
11 </div>
12 <script>
13 if (window.testRunner)
14 testRunner.dumpAsText();
15 document.body.offsetTop;
16 spanner.style.position = "absolute";
17
18 // Trigger another layout pass, now that the spanner should be
19 // gone. That element is now absolutely positioned, so it should
20 // have lost its spanner capabilities, since the combination of
21 // abspos and spanner isn't allowed.
22 document.body.offsetTop;
23 something.style.display = "inline";
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698