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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/selection/repaint-rect-for-vertical-writing-mode-with-positioned-root.html
diff --git a/LayoutTests/editing/selection/repaint-rect-for-vertical-writing-mode-with-positioned-root.html b/LayoutTests/editing/selection/repaint-rect-for-vertical-writing-mode-with-positioned-root.html
new file mode 100644
index 0000000000000000000000000000000000000000..8b520e2b6b3bddc53a5ccaee72b64be7cde12d5b
--- /dev/null
+++ b/LayoutTests/editing/selection/repaint-rect-for-vertical-writing-mode-with-positioned-root.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<style>
+#test {
+ position: absolute;
+ left: 0px;
+ top: 200px;
+ -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");
+ var selection = window.getSelection();
+ selection.collapse(testElement, 1);
+ selection.modify("Extend", "Forward", "Line");
+}
+</script>
+<body onload="runRepaintTest()">
+<div id="test" contenteditable="true">
+<div>Some text in vertical mode</div>
+</div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698