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

Unified Diff: LayoutTests/fast/repaint/selection-gap-overflow-scroll-2.html

Issue 1356983003: Set SelectionPaintingWithoutSelectionGaps to stable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Two more tests. Created 5 years, 3 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/fast/repaint/selection-gap-overflow-scroll-2.html
diff --git a/LayoutTests/fast/repaint/selection-gap-overflow-scroll-2.html b/LayoutTests/fast/repaint/selection-gap-overflow-scroll-2.html
deleted file mode 100644
index f76a23990723967b16413d63bd3916bc09f5fd9b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/repaint/selection-gap-overflow-scroll-2.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
- <title></title>
- <style type="text/css">
- div#overflow { margin: 5px; padding: 10px; border: medium solid; width: 100px; height: 100px; overflow: auto; }
- ::selection { background-color: red; }
- </style>
- <script type="text/javascript" src="resources/text-based-repaint.js"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- getSelection().empty();
- }
- </script>
-</head>
-<body onload="runRepaintTest()">
- <p>
- Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=34946">https://bugs.webkit.org/show_bug.cgi?id=34946</a>
- REGRESSION: Selection painting issue in bug review textbox</i>.
- </p>
- <div id="overflow">
- <div style="height: 100px;"></div>
- <div style="display: inline-block; width: 94px;"><span id="target">Lorem<br>ipsum</span></div>
- </div>
- <script type="text/javascript">
- var overflow = document.getElementById("overflow");
- overflow.scrollTop = overflow.scrollHeight;
- var selection = getSelection();
- var target = document.getElementById("target");
- selection.setBaseAndExtent(target, 0, target, 3);
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698