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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-spanner-in-empty-nested-block-crash.html

Issue 2473953003: Don't let a column spanner affect the self-margin-collapsing state of the parent. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-spanner-in-empty-nested-block-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-spanner-in-empty-nested-block-crash.html b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-spanner-in-empty-nested-block-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..a67960418cf011a6217baac1e9cc4253260e6535
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-spanner-in-empty-nested-block-crash.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<div style="columns:2; column-fill:auto; height:100px;">
+ <div>
+ <div>
+ <div id="spanner" style="column-span:all;"></div>
+ </div>
+ </div>
+</div>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+test(() => {
+ document.documentElement.offsetTop;
+ document.getElementById('spanner').style.display = 'none';
+}, "No crash or assertion failure.");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698