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 25bf7a3c49e90a200fcf485eedf6ac92312dcf77..66cac45ae3742b3773aeff6a2097559aedc54011 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,21 +1,20 @@ |
-<!doctype HTML> |
-Passes if it does not crash. |
+<!DOCTYPE html> |
+<style> |
+.list{display:list-item;} |
+.float{float:right;} |
+</style> |
<ruby> |
- test |
+ crbug.com/619380: Passes if it does not crash. |
<rt> |
- <rtc> |
- <a style="display:list-item"> |
- <input style="float:right"></input> |
- </rtc> |
- </a> |
- </rt> |
- </ruby> |
+ <rtc> |
+ <a class="list"> |
+ <input class="float"> |
+ </rtc> |
+</rt> |
+</ruby> |
<script> |
-if (window.testRunner) |
- window.testRunner.dumpAsText(); |
-onload = function() { |
- var mySelection=window.getSelection(); |
- document.execCommand("SelectAll"); |
- mySelection.deleteFromDocument(); |
-} |
+ if (window.testRunner) |
+ window.testRunner.dumpAsText(); |
+ document.execCommand("SelectAll"); |
+ window.getSelection().deleteFromDocument(); |
</script> |