diff options
Diffstat (limited to 'testing/web-platform/tests/html/dom/directionality/bdi-element-invalid-dir.html')
-rw-r--r-- | testing/web-platform/tests/html/dom/directionality/bdi-element-invalid-dir.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/dom/directionality/bdi-element-invalid-dir.html b/testing/web-platform/tests/html/dom/directionality/bdi-element-invalid-dir.html new file mode 100644 index 0000000000..629cee8738 --- /dev/null +++ b/testing/web-platform/tests/html/dom/directionality/bdi-element-invalid-dir.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<head> +<meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/dom.html#the-directionality"> +<link rel="match" href="bdi-element-invalid-dir-ref.html"> +<style> +div { position: relative; width: 100px; height: 100px; background: red; } +bdi { width: 100px; height: 100px; display: block; } +span { display: inline-block; width: 50px; height: 100px; background: green; color: green; } +#left { background: green; position: absolute; left: 0px; top: 0px; } +</style> +</head> +<body> +<div><bdi dir="foo"><span id="left"></span><span>ת</span></bdi></div> +</body> +</html> |