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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html

Issue 2303013002: Add UMA metric to track usage of sending a mousedown to select elements. (Closed)
Patch Set: W3C auto test import CL. Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8" />
5 <title>HTML Test: input with dir=auto, start with N+L</title>
6 <link rel="match" href="dir_auto-input-N-L-ref.html" />
7 <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouch e@google.com" />
8 <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com" />
9 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com" />
10 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg roups.com" />
11 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dir-attri bute" />
12 <meta name="assert" content="
13 When dir='auto', the direction of an input element is set according to
14 the first strong character of its value.
15 In this test, it is the Latin letter A since neutrals are not
16 strongly directional, thus the direction must be resolved as LTR." />
17 <style>
18 input, textarea {
19 font-size:1em;
20 }
21 body {
22 font-size:2em;
23 }
24 .test, .ref {
25 border: medium solid gray;
26 width: 400px;
27 margin: 20px;
28 }
29 .comments {
30 display: none;
31 }
32 </style>
33 </head>
34 <body>
35 <div class="instructions"><p>Test passes if the two boxes below look exactly the same.</p></div>
36 <div class="comments">
37 Key to entities used below:
38 &#x05D0; - The Hebrew letter Alef (strongly RTL).
39 &#x05D1; - The Hebrew letter Bet (strongly RTL).
40 &#x05D2; - The Hebrew letter Gimel (strongly RTL).
41 </div>
42 <div class="test">
43 <div dir="ltr">
44 <input type="text" dir="ltr" value=".-=ABC&#x05D0;&#x05D1;&#x05D2;." />
45 </div>
46 <div dir="rtl">
47 <input type="text" dir="ltr" value=".-=ABC&#x05D0;&#x05D1;&#x05D2;." />
48 </div>
49 </div>
50 <div class="ref">
51 <div dir="ltr">
52 <input type="text" dir="ltr" value=".-=ABC&#x05D0;&#x05D1;&#x05D2;." />
53 </div>
54 <div dir="rtl">
55 <input type="text" dir="ltr" value=".-=ABC&#x05D0;&#x05D1;&#x05D2;." />
56 </div>
57 </div>
58 </body>
59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698