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

Unified Diff: LayoutTests/fast/regions/selection/selecting-text-in-empty-region.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/regions/selection/selecting-text-in-empty-region.html
diff --git a/LayoutTests/fast/regions/selection/selecting-text-in-empty-region.html b/LayoutTests/fast/regions/selection/selecting-text-in-empty-region.html
deleted file mode 100644
index 675b47ba93ff21b140c33fe249d4c2e9ae6a5b80..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/selection/selecting-text-in-empty-region.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <script src="../resources/helper.js"></script>
- <style>
- body { font: 20px/1 monospace; margin: 20px; }
- #region { -webkit-flow-from: undefined; width: 100px; height: 100px; border: 10px solid blue; }
- </style>
- </head>
- <body>
- <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=107752"> [CSS Regions] Selecting text inside an empty region causes selection outside the region area</a>.</p>
- <p>The blue border box is a region without flowed content.</p>
- <p>To test manually, move the mouse in the top left corner of the region and try to select the region content.</p>
- <p>You should not see any selected text: <span id="result"></span></p>
- <div id="region"></div>
- <script>
- if (window.testRunner) {
- window.testRunner.dumpAsText();
- var selection = window.getSelection();
-
- var region = document.getElementById("region");
- var startPositionX = region.offsetLeft + 10;
- var startPositionY = region.offsetTop + 10;
- var endPositionX = startPositionX + 100;
- var endPositionY = startPositionY + 100;
-
- selectContentByRange(startPositionX, startPositionY, endPositionX, endPositionY);
-
- document.getElementById("result").innerHTML = (selection.toString().length == 0) ? "PASS" : "FAIL";
- }
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698