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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/global-attributes/dir_auto-isolate-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: dir=auto, isolated in LTR text</title>
6 <link rel="match" href="dir_auto-isolate-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="HTML5 bidi test WG" href="mailto:html5bidi@googleg roups.com" />
10 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dir-attri bute" />
11 <meta name="assert" content="
12 When dir='auto', the direction is set according to the first strong charac ter
13 of the text, but the element behaves externally as a neutral character.
14 In this test, it allows a preceding R to form a single directional run
15 with a succeeding number." />
16 <style>
17 input, textarea {
18 font-size:1em;
19 }
20 body {
21 font-size:2em;
22 }
23 .test, .ref {
24 border: medium solid gray;
25 width: 400px;
26 margin: 20px;
27 }
28 .comments {
29 display: none;
30 }
31 </style>
32 </head>
33 <body>
34 <div class="instructions"><p>Test passes if the two boxes below look exactly the same.</p></div>
35 <div class="comments">
36 Key to entities used below:
37 &#x05D0; - The Hebrew letter Alef (strongly RTL).
38 &#x202D; - The LRO (left-to-right override) formatting character.
39 &#x202C; - The PDF (pop directional formatting) formatting character; clos es LRO.
40 </div>
41 <div class="test">
42 <div dir="ltr">
43 &#x202D;1 a! &#x05D0;&#x202C;
44 </div>
45 <div dir="rtl">
46 &#x202D;a !&#x05D0; 1&#x202C;
47 </div>
48 </div>
49 <div class="ref">
50 <div dir="ltr">
51 &#x202D;1 a! &#x05D0;&#x202C;
52 </div>
53 <div dir="rtl">
54 &#x202D;a !&#x05D0; 1&#x202C;
55 </div>
56 </div>
57 </body>
58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698