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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection.html

Issue 2145323002: Content in disabled input field should not be selectable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated code for WebViewTest.LongPressImageTextArea test failure Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection.html b/third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection.html
index 4193d43822c4b42646891232a1a2085777a0c25f..e676b085159da5ecb05cf9c6cb0d80a7365acc02 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection.html
@@ -5,7 +5,7 @@ onload = function() {
if (!window.eventSender || !window.eventSender.gestureLongPress) {
debug("gestureLongPress not implemented by this platform.");
debug("Manullay long press on every element in the page and check whether Text selection is happening or not");
- debug("If Text selection is not happening for readonly or disabled input/textarea, then it's a failure.");
+ debug("If Text selection is not happening for readonly input/textarea, then it's a failure.");
return;
}
@@ -37,10 +37,10 @@ function doLongPressOnElement(elementId) {
</script>
<input id="normalText" type="text" value="NormalInput">
<input id="readOnlyText" type="text" value="ReadonlyInput" readonly>
-<input id="disabledText" type="text" value="DisabledInput" disabled>
-<input id="readOnlyDisabledText" size="20" type="text" value="ReadonlyDisabledInput"readonly disabled>
+<input id="disabledText" type="text" value="" disabled>
+<input id="readOnlyDisabledText" size="20" type="text" value=""readonly disabled>
<textarea id="normalTextArea" cols="31">NormalTextarea</textarea>
<textarea id="readOnlyTextArea" cols="31" readonly>ReadonlyTextarea</textarea>
-<textarea id="disabledTextArea" cols="31" disabled>DisabledTextarea</textarea>
-<textarea id="readOnlyDisabledTextArea" cols="31" readonly disabled>ReadonlyDisabledTextarea</textarea>
+<textarea id="disabledTextArea" cols="31" disabled></textarea>
+<textarea id="readOnlyDisabledTextArea" cols="31" readonly disabled></textarea>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/readonly-disabled-text-selection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698