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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html

Issue 2322703002: Revert of Copy float list of ruby base when merging it with a sibling (Closed)
Patch Set: Created 4 years, 3 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 | third_party/WebKit/Source/core/layout/FloatingObjects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html b/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
index 66cac45ae3742b3773aeff6a2097559aedc54011..25bf7a3c49e90a200fcf485eedf6ac92312dcf77 100644
--- a/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
@@ -1,20 +1,21 @@
-<!DOCTYPE html>
-<style>
-.list{display:list-item;}
-.float{float:right;}
-</style>
+<!doctype HTML>
+Passes if it does not crash.
<ruby>
- crbug.com/619380: Passes if it does not crash.
+ test
<rt>
- <rtc>
- <a class="list">
- <input class="float">
- </rtc>
-</rt>
-</ruby>
+ <rtc>
+ <a style="display:list-item">
+ <input style="float:right"></input>
+ </rtc>
+ </a>
+ </rt>
+ </ruby>
<script>
- if (window.testRunner)
- window.testRunner.dumpAsText();
- document.execCommand("SelectAll");
- window.getSelection().deleteFromDocument();
+if (window.testRunner)
+ window.testRunner.dumpAsText();
+onload = function() {
+ var mySelection=window.getSelection();
+ document.execCommand("SelectAll");
+ mySelection.deleteFromDocument();
+}
</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/FloatingObjects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698