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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/listbox-bidi-align.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/LayoutTests/fast/forms/listbox-bidi-align.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/listbox-bidi-align.html b/third_party/WebKit/LayoutTests/fast/forms/listbox-bidi-align.html
deleted file mode 100644
index 5973e1eca3f62c4778eb214af1e104bbd69c4889..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/listbox-bidi-align.html
+++ /dev/null
@@ -1,145 +0,0 @@
-<!DOCTYPE html>
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-</head>
-<body style="overflow: hidden;">
-This test verifies the visual alignment of items in a select element while changing text direction.<br>
-All the items in the following select elements should be left-aligned.
-<table>
- <tr>
- <td><select size=3 dir=ltr>
- <option>This is an English text</option>
- <option>It needs to be left aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=ltr>
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לשמאל</option>
- <option>ישראל מתייבשת</option>
- </select></td>
-
- <td><select size=3 dir=rtl style="text-align:left;">
- <option>This is an English text</option>
- <option>It needs to be left aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=rtl style="text-align:left;">
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לשמאל</option>
- <option>ישראל מתייבשת</option>
- </select></td>
- </tr>
- <tr>
- <td><select size=3 dir=ltr style="text-align:left;">
- <option>This is an English text</option>
- <option>It needs to be left aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=ltr style="text-align:left;">
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לשמאל</option>
- <option>ישראל מתייבשת</option>
- </select></td>
- </tr>
-</table>
-All the items in the following select elements should be right-aligned.
-<table>
- <tr>
- <td><select size=3 dir=rtl>
- <option>This is an English text</option>
- <option>It needs to be right aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=rtl>
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לימין</option>
- <option>ישראל מתייבשת</option>
- </select></td>
-
- <td><select size=3 dir=rtl style="text-align:right;">
- <option>This is an English text</option>
- <option>It needs to be right aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=rtl style="text-align:right;">
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לימין </option>
- <option>ישראל מתייבשת</option>
- </select></td>
- </tr>
- <tr>
- <td><select size=3 dir=ltr style="text-align:right;">
- <option>This is an English text</option>
- <option>It needs to be right aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=ltr style="text-align:right;">
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לימין </option>
- <option>ישראל מתייבשת</option>
- </select></td>
- </tr>
-</table>
-All the items in the following select elements should be center-aligned.
-<table>
- <tr>
- <td><select size=3 dir=rtl style="text-align:center;">
- <option>This is an English text</option>
- <option>It needs to be center aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=rtl style="text-align:center;">
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לאמצע</option>
- <option>ישראל מתייבשת</option>
- </select></td>
-
- <td><select size=3 dir=ltr style="text-align:center;">
- <option>This is an English text</option>
- <option>It needs to be center aligned</option>
- <option>Some more text</option>
- </select></td>
-
- <td><select size=3 dir=ltr style="text-align:center;">
- <option>זה טקסט בעברית</option>
- <option>הוא צריך להיות מיושר לאמצע </option>
- <option>ישראל מתייבשת</option>
- </select></td>
- </tr>
-</table>
-The following tables check mixed alignments.
-<table>
- <tr>
- <td><select size=3 dir=rtl>
- <option>This should be right aligned</option>
- <option dir=ltr>This should be left aligned</option>
- <option style="text-align:center">Center aligned</option>
- </select></td>
-
- <td><select size=3>
- <option>This should be left aligned</option>
- <option dir=rtl>This should be right aligned</option>
- <option style="text-align:center">Center aligned</option>
- </select></td>
-
- <td><select size=3 dir=rtl>
- <option>טקסט זה צריך להיות מיושר לימין</option>
- <option dir=ltr>טקסט זה צריך להיות מיושר לשמאל</option>
- <option style="text-align:center">טקסט ממורכז</option>
- </select></td>
-
- <td><select size=3>
- <option>טקסט זה צריך להיות מיושר לשמאל</option>
- <option dir=rtl>טקסט זה צריך להיות מיושר לימין</option>
- <option style="text-align:center">טקסט ממורכז</option>
- </select></td>
- </tr>
-</table>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698