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

Side by Side Diff: LayoutTests/fast/html/direction-in-case-of-invalid-dir-attribute-expected.html

Issue 524593003: Resolve direction correctly when dir attribute is not in a defined state Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix failing test Created 6 years, 1 month 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 <body>
4 This test checks that if an element has a parent element and the dir attribute
5 is not in a defined state (i.e. it is not present or has an invalid value), the
6 directionality of the element is the same as the element's parent element's
7 directionality.
8 <div dir='rtl'>
9 <textarea dir='rtl'>RTL</textarea>
10 </div>
11
12 <div dir='rtl'>
13 <textarea dir='rtl'>RTL</textarea>
14 </div>
15
16 <div dir='rtl'>
17 <input type='text' dir='rtl' value='RTL'>
18 </div>
19
20 <div dir='rtl'>
21 <input type='text' dir='rtl' value='RTL'>
22 </div>
23
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698