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

Unified Diff: LayoutTests/fast/forms/label/label-selection.html

Issue 290153002: Revert of Fix selection of label having control element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix bad conflict resolution Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/label/label-selection-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/label/label-selection.html
diff --git a/LayoutTests/fast/forms/label/label-selection.html b/LayoutTests/fast/forms/label/label-selection.html
deleted file mode 100644
index 92b70a62ed51e4ed4a97cca76f4871d0ac6eed43..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/forms/label/label-selection.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html>
-<script src="../../../resources/js-test.js"></script>
-
-<body>
-<label id="labelWithInput" for="inputText">Some, Text associated with input</label>
-<input id="inputText" type="text">
-</body>
-
-<script>
-description('Test the selection of label associated with input.');
-
-var labelElement = document.getElementById('labelWithInput');
-testWithDoubleClick(labelElement);
-
-shouldBeEqualToString('window.getSelection().toString()', 'Some');
-
-labelElement.style.display = 'none';
-
-function testWithDoubleClick(element)
-{
- eventSender.mouseMoveTo(element.offsetLeft, element.offsetTop);
- eventSender.mouseDown();
- eventSender.mouseUp();
- eventSender.mouseDown();
- eventSender.mouseUp();
-}
-</script>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/forms/label/label-selection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698