Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Side by Side Diff: LayoutTests/svg/custom/glyph-selection-bidi-mirror.svg

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
3 <!-- Test that SVG fonts in RTL correctly render mirrored characters -->
4 <defs>
5 <font horiz-adv-x="500">
6 <font-face font-family="SVGFont" units-per-em="1000" ascent="800" descen t="200" alphabetic="200"/>
7 <glyph unicode="]" glyph-name="close-bracket" d="M0 0L500 0L500 900L0 90 0L0 800L400 800L400 100L0 100Z"/>
8 <glyph unicode="[" glyph-name="open-bracket" d="M500 0L0 0L0 900L500 900 L500 800L100 800L100 100L500 100Z"/>
9 </font>
10 </defs>
11 <g font-size="20">
12 <!-- SVG Font: Should produce "hello" in brackets: "[hello]" not "]hello[" - ->
13 <text font-family="SVGFont, serif" x="20" y="20" direction="ltr" unicode-bid i="bidi-override">[hello]</text>
14 <!-- Regular Font: Should produce "hello" in brackets: "[hello]" not "]hello [" -->
15 <text x="20" y="40" direction="ltr" unicode-bidi="bidi-override">[hello]</te xt>
16 <!-- SVG Font: Should produce "שלום" in brackets: "[שלום]" not "]שלום["-->
17 <text font-family="SVGFont, serif" x="100" y="70" direction="rtl" unicode-bi di="bidi-override">[שלום]</text>
18 <!-- Regular Font: Should produce "שלום" in brackets: "[שלום]" not "]שלום["- ->
19 <text x="100" y="90" direction="rtl" unicode-bidi="bidi-override">[שלום]</te xt>
20 </g>
21 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698