diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/text/zwnj-01.xhtml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/text/zwnj-01.xhtml b/layout/reftests/text/zwnj-01.xhtml new file mode 100644 index 0000000000..25cec48356 --- /dev/null +++ b/layout/reftests/text/zwnj-01.xhtml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + version="1.1"> + + <!-- use an empty g to force filters.svg to load before onload --> + <use xlink:href="../filters.svg#empty" /> + + <foreignObject filter="url(../filters.svg#NonWhiteToBlack)" + x="0" y="0" height="100%" width="100%"> +<!-- ZWNJ test #1. Persian words containing a ZWNJ (copied from + http://www.unics.uni-hannover.de/nhtcapri/bidirectional-text.html) --> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>ZWNJ test</title> + <style type="text/css"> + body { + font-size: 36px; + background: white; + color: black; + } + </style> + </head> + <body lang="ar"> + <p>هفته‌ها</p> + <p>موزه‌ها</p> + <p>سه‌شنبه</p> + <p>راه‌آهن</p> + <p>نرم‌افزار</p> + </body> +</html> +</foreignObject> +</svg> |