diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/text/zwnj-01-ref.xhtml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/reftests/text/zwnj-01-ref.xhtml b/layout/reftests/text/zwnj-01-ref.xhtml new file mode 100644 index 0000000000..deb3382dba --- /dev/null +++ b/layout/reftests/text/zwnj-01-ref.xhtml @@ -0,0 +1,36 @@ +<?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%"> +<!-- Reference rendering for zwnj-01.html. This uses spans with + display:inline-block to prevent the letters from connecting --> +<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; + } + span { + display: inline-block; + } + </style> + </head> + <body lang="ar"> + <p><span>ها</span><span>هفته</span></p> + <p><span>ها</span><span>موزه</span></p> + <p><span>شنبه</span><span>سه</span></p> + <p><span>آهن</span><span>راه</span></p> + <p><span>افزار</span><span>نرم</span></p> + </body> +</html> +</foreignObject> +</svg> |