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

Side by Side Diff: LayoutTests/fast/multicol/span/table-column-group-crash.html

Issue 809193002: Don't apply column-span:all for display:table-* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <style>
7 #invalid-spanner { display:none; -webkit-column-span:all; }
8 </style>
9
10 Test passes if it does not CRASH.
11 <div style="-webkit-column-count:1;">
12 <div>
13 <span id="inline" style="display:none;"></span>
14 <div id="invalid-spanner"></div>
15 </div>
16 </div>
17
18 <script>
19 document.body.offsetTop;
20 document.getElementById("inline").style.display = "inline";
21
22 // Note that a table-column-group isn't allowed to become a spanner.
23 document.getElementById("invalid-spanner").style.display = "table-column-gro up";
24
25 onload = function() {
26 document.body.offsetTop;
27 document.getElementById("invalid-spanner").style.webkitColumnSpan = "non e";
28 }
29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698