Index: LayoutTests/fast/text/international/bdo-bidi-width.html |
diff --git a/LayoutTests/fast/text/international/bdo-bidi-width.html b/LayoutTests/fast/text/international/bdo-bidi-width.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..633f5e735dc2fb7605e7e52a7f31b25d5b8a8ab2 |
--- /dev/null |
+++ b/LayoutTests/fast/text/international/bdo-bidi-width.html |
@@ -0,0 +1,41 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <meta charset="utf-8"> |
+ <style> |
+ #test { |
+ background: silver; |
+ padding: 15px; |
+ width: 30ex; |
+ } |
+ #test > div { |
+ font-size: 3em; |
+ background: white; |
+ display: inline-block; |
+ } |
+ .highlight { |
+ position: absolute; |
+ border: 10px solid silver; |
+ } |
+ |
+ </style> |
+ </head> |
+ <body> |
+ <section id="test"> |
+ <div>ااااا<bdo>کبند</bdo></div><br><br> |
+ <div><bdo>کبند</bdo></div><br><br> |
+ <div><bdo>کبند کبند</bdo></div><br><br> |
+ <div>ااااا<bdo dir="ltr">کبند</bdo></div><br><br> |
+ <div>ااااا<bdo dir="rtl">کبند</bdo></div><br><br> |
+ <div>ااااا<bdo dir="auto">کبند</bdo></div> |
+ </section> |
+ <section> |
+ <p> |
+ Tests handling of <code>bdo</code> tags. The white box |
+ for each line above should fully contain the text and |
+ characters should not be painted on top of other |
+ characters. |
+ </p> |
+ </section> |
+ </body> |
+</body> |