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

Unified Diff: LayoutTests/fast/block/float/float-not-removed-crash2.html

Issue 14759010: Fix the float logic to not return an anonymous block ancestor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Sorry, forgot to update test in last commit Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-not-removed-crash2-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/block/float/float-not-removed-crash2.html
diff --git a/LayoutTests/fast/block/float/float-not-removed-crash2.html b/LayoutTests/fast/block/float/float-not-removed-crash2.html
new file mode 100755
index 0000000000000000000000000000000000000000..46387cf0da86cf360d8a12b1b90a5f2b87e04e4e
--- /dev/null
+++ b/LayoutTests/fast/block/float/float-not-removed-crash2.html
@@ -0,0 +1,25 @@
+<html>
+<body style="display: -webkit-flex;">
+<i>
+<div> </div><row>
+<source id=test style="float: right; padding-top: 238px;">A</source>
+</i>
+<div style="height: 188;"></div>
+<style>
+.class1 {
+ width: 51667px;
+}
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+document.body.offsetTop;
+test.setAttribute("class", "class1");
+document.body.offsetTop;
+test.parentNode.removeChild(test);
+document.body.offsetTop;
+document.body.innerHTML = "PASS. WebKit didn't crash.";
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-not-removed-crash2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698