Index: LayoutTests/editing/inserting/insert-paragraph-between-text-with-positioned-root.html |
diff --git a/LayoutTests/editing/inserting/insert-paragraph-between-text-with-positioned-root.html b/LayoutTests/editing/inserting/insert-paragraph-between-text-with-positioned-root.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..62607c785126c6271c60523e010324644ebd9ff8 |
--- /dev/null |
+++ b/LayoutTests/editing/inserting/insert-paragraph-between-text-with-positioned-root.html |
@@ -0,0 +1,37 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
ojan
2014/07/08 23:53:30
Please remove the html and head element as this te
arpitab_
2014/07/09 13:57:26
Done.
|
+<script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script> |
ojan
2014/07/08 23:53:30
No need for the type attribute.
arpitab_
2014/07/09 13:57:26
Done.
|
+<style> |
+.textArea { |
+ position: absolute; left: 0px; top: 200px; |
ojan
2014/07/08 23:53:30
Please put each of these on their own line.
arpitab_
2014/07/09 13:57:26
Done.
|
+ -webkit-writing-mode: vertical-rl; |
+ width: 200px; |
+ height: 300px; |
+ border: 1px solid black; |
+ outline-style: none; |
+} |
+</style> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsTextWithPixelResults(); |
+ |
+function repaintTest() { |
+ var testElement = document.getElementById("test"); |
+ testElement.focus(); |
+ |
+ var selection = window.getSelection(); |
+ selection.collapse(testElement, 1); |
+ selection.modify("move", "backward", "character"); |
+ document.execCommand("InsertParagraph"); |
ojan
2014/07/08 23:53:30
execCommands and selections are complicated and ma
|
+} |
+</script> |
+</head> |
+<body onload="runRepaintTest()"> |
+<div class="textArea" contenteditable="true"> |
+<p> |
+<span id="test">Some text in vertical mode</span> |
+</p> |
+</div> |
+</body> |
+</html> |