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

Side by Side Diff: LayoutTests/editing/inserting/insert-paragraph-between-text-with-positioned-root.html

Issue 18254006: Repaint issues with vertical text which has absolute (or fixed) position specified for it. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing nit in testcase Created 6 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <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.
4 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/java script"></script>
ojan 2014/07/08 23:53:30 No need for the type attribute.
arpitab_ 2014/07/09 13:57:26 Done.
5 <style>
6 .textArea {
7 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.
8 -webkit-writing-mode: vertical-rl;
9 width: 200px;
10 height: 300px;
11 border: 1px solid black;
12 outline-style: none;
13 }
14 </style>
15 <script>
16 if (window.testRunner)
17 testRunner.dumpAsTextWithPixelResults();
18
19 function repaintTest() {
20 var testElement = document.getElementById("test");
21 testElement.focus();
22
23 var selection = window.getSelection();
24 selection.collapse(testElement, 1);
25 selection.modify("move", "backward", "character");
26 document.execCommand("InsertParagraph");
ojan 2014/07/08 23:53:30 execCommands and selections are complicated and ma
27 }
28 </script>
29 </head>
30 <body onload="runRepaintTest()">
31 <div class="textArea" contenteditable="true">
32 <p>
33 <span id="test">Some text in vertical mode</span>
34 </p>
35 </div>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698