diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/bidi/83958-1c.html | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bidi/83958-1c.html')
-rw-r--r-- | layout/reftests/bidi/83958-1c.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/bidi/83958-1c.html b/layout/reftests/bidi/83958-1c.html new file mode 100644 index 0000000000..b81362fb44 --- /dev/null +++ b/layout/reftests/bidi/83958-1c.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>Bidirectional Text Test 2 - HTML</title> + <style> + body { font-size: 300%; } + p { font-family: monospace; text-align: left; margin: 0; } +.rtl { direction: rtl; } +.ltr { direction: ltr; } +.rle { direction: rtl; unicode-bidi: embed; } +.lre { direction: ltr; unicode-bidi: embed; } +.rlo { direction: rtl; unicode-bidi: bidi-override;} +.lro { direction: ltr; unicode-bidi: bidi-override; } +.embed { unicode-bidi: embed; } +.override { unicode-bidi: bidi-override; } + </style> + </head> +<!-- Testcases based on https://dbaron.org/css/test/bidi2_html by L. David Baron. --> + <body> + <p>The following lines should all read "ABCDEFGHI":</p> + <p>ABCDEFGHI</p> + <p class="rtl">ABCDEFGHI</p> + <p class="rtl">ABC<span>DEF</span>GHI</p> + <p class="rlo">IHGFEDCBA</p> + <p class="rlo">IHG<span>FED</span>CBA</p> + <p class="rlo">IHG<span dir="rtl">DEF</span>CBA</p> + <p class="rlo">IHG<bdo dir="rtl">FED</bdo>CBA</p> + <p class="rlo">IHG<span style="unicode-bidi: inherit">FED</span>CBA</p> + <p class="rlo">IHG<bdo dir="ltr">DEF</bdo>CBA</p> + </body> +</html> |