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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/dynamic/former-spanner-in-float-in-continuation-crash.html

Issue 2479873002: Descendants may become or cease to be spanners when an ancestor changes style. (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
Index: third_party/WebKit/LayoutTests/fast/multicol/dynamic/former-spanner-in-float-in-continuation-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/dynamic/former-spanner-in-float-in-continuation-crash.html b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/former-spanner-in-float-in-continuation-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..2fad314ef246c7921a2b3b7cf0e20ed536a8b09d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/former-spanner-in-float-in-continuation-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<div style="columns:2;">
+ <span>
+ <div id="troublemaker"></div>
+ </span>
+ <div id="wannaBeFloat">
+ <div style="column-span:all;"><br></div>
+ </div>
+</div>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+test(() => {
+ var wannaBeFloat = document.getElementById("wannaBeFloat");
+ var troublemaker = document.getElementById("troublemaker");
+ document.body.offsetTop;
+ wannaBeFloat.style.cssFloat = "left";
+ document.body.offsetTop;
+ troublemaker.style.display = "none";
+}, "No crash or assertion failure.");
+</script>

Powered by Google App Engine
This is Rietveld 408576698