| Index: LayoutTests/fast/html/direction-in-case-of-invalid-dir-attribute.html
|
| diff --git a/LayoutTests/fast/html/direction-in-case-of-invalid-dir-attribute.html b/LayoutTests/fast/html/direction-in-case-of-invalid-dir-attribute.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5aea37b0eaa35c90bdae59850dbad5285e292b92
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/html/direction-in-case-of-invalid-dir-attribute.html
|
| @@ -0,0 +1,25 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<body>
|
| +This test checks that if an element has a parent element and the dir attribute
|
| +is not in a defined state (i.e. it is not present or has an invalid value), the
|
| +directionality of the element is the same as the element's parent element's
|
| +directionality.
|
| +<div dir='rtl'>
|
| + <textarea dir=''>RTL</textarea>
|
| +</div>
|
| +
|
| +<div dir='rtl'>
|
| + <textarea dir='invalidDirName'>RTL</textarea>
|
| +</div>
|
| +
|
| +<div dir='rtl'>
|
| + <input type='text' dir='' value='RTL'>
|
| +</div>
|
| +
|
| +<div dir='rtl'>
|
| + <input type='text' dir='invalidDirName' value='RTL'>
|
| +</div>
|
| +
|
| +</body>
|
| +</html>
|
|
|