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

Side by Side Diff: LayoutTests/editing/selection/repaint-rect-for-vertical-writing-mode-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: Removing the extra check 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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <style>
4 #test {
5 position: absolute;
6 left: 0px;
7 top: 200px;
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 var selection = window.getSelection();
22 selection.collapse(testElement, 1);
23 selection.modify("Extend", "Forward", "Line");
24 }
25 </script>
26 <body onload="runRepaintTest()">
27 <div id="test" contenteditable="true">
28 <div>Some text in vertical mode</div>
29 </div>
30 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698