Index: third_party/WebKit/LayoutTests/editing/execCommand/justify-right-in-effect-crash.html |
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/justify-center-empty-list-crash.html b/third_party/WebKit/LayoutTests/editing/execCommand/justify-right-in-effect-crash.html |
similarity index 58% |
copy from third_party/WebKit/LayoutTests/editing/execCommand/justify-center-empty-list-crash.html |
copy to third_party/WebKit/LayoutTests/editing/execCommand/justify-right-in-effect-crash.html |
index 760f54d28b5350573dac0173529857542da1e485..1a87a6db111c4b257d8f2e5d1b23456684410206 100644 |
--- a/third_party/WebKit/LayoutTests/editing/execCommand/justify-center-empty-list-crash.html |
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/justify-right-in-effect-crash.html |
@@ -5,19 +5,20 @@ |
if (window.testRunner) |
testRunner.dumpAsText(); |
-onload = function() { |
+window.onload= function() { |
document.designMode = "on"; |
document.execCommand("SelectAll"); |
- document.execCommand("JustifyCenter"); |
+ document.execCommand("JustifyRight"); |
document.body.textContent = 'PASS if Blink doesn\'t crash.'; |
}; |
</script> |
-</head> |
-<body> |
-<ul style="height: 20px;"></ul> |
-<div> |
- <div></div> |
- <a target="foo">more</a> |
-</div> |
+<style> |
+.CLASS3 { |
+ -webkit-text-decorations-in-effect:underline; |
+} |
+</style> |
+<body class="CLASS3"> |
+nls |
+<hr> |
</body> |
</html> |