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> |