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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/text/combining-character-queries.html

Issue 2650353005: Workaround platform differences in svg/text/combining-character-queries.html (2) (Closed)
Patch Set: rebaseline Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <meta charset="utf8"> 2 <meta charset="utf8">
3 <style> 3 <style>
4 .testTextRun { 4 .testTextRun {
5 font-size: 35px; 5 font-size: 35px;
6 } 6 }
7 #highlightContainer rect { 7 #highlightContainer rect {
8 fill-opacity: 0.3; 8 fill-opacity: 0.3;
9 } 9 }
10 </style> 10 </style>
11 <svg width="600px" height="500px" xmlns="http://www.w3.org/2000/svg"> 11 <svg width="600px" height="500px" xmlns="http://www.w3.org/2000/svg">
12 <g id="highlightContainer"/> 12 <g id="highlightContainer"/>
13 13
14 <!-- multiple combining diacritics in LTR --> 14 <!-- multiple combining diacritics in LTR -->
15 <text x="50" y="50" class="testTextRun" font-family="cursive">ab&#x030c;c&#x 030c;&#x030c;</text> 15 <text x="50" y="50" class="testTextRun" font-family="cursive">ab&#x030c;c&#x 030c;&#x030c;</text>
16 <text x="200" y="50" class="testTextRun" font-family="serif">ab&#x030c;c&#x0 30c;&#x030c;</text> 16 <text x="200" y="50" class="testTextRun" font-family="serif">ab&#x030c;c&#x0 30c;&#x030c;</text>
17 <text x="350" y="50" class="testTextRun" font-family="sans-serif">ab&#x030c; c&#x030c;&#x030c;</text> 17 <text x="350" y="50" class="testTextRun" font-family="sans-serif">ab&#x030c; c&#x030c;&#x030c;</text>
18 18
19 <!-- multiple combining diacritics in RTL --> 19 <!-- multiple combining diacritics in RTL -->
20 <text x="100" y="125" class="testTextRun" font-family="cursive" direction="r tl">&#8207;a&#8207;b&#x030c;&#8207;c&#x030c;&#x030c;</text> 20 <text x="100" y="125" class="testTextRun" font-family="cursive" direction="r tl">&#8207;a&#8207;b&#x030c;&#8207;c&#x030c;&#x030c;</text>
21 <text x="250" y="125" class="testTextRun" font-family="serif" direction="rtl ">&#8207;a&#8207;b&#x030c;&#8207;c&#x030c;&#x030c;</text> 21 <text x="250" y="125" class="testTextRun" font-family="serif" direction="rtl ">&#8207;a&#8207;b&#x030c;&#8207;c&#x030c;&#x030c;</text>
22 <text x="400" y="125" class="testTextRun" font-family="sans-serif" direction ="rtl">&#8207;a&#8207;b&#x030c;&#8207;c&#x030c;&#x030c;</text> 22 <text x="400" y="125" class="testTextRun" font-family="sans-serif" direction ="rtl">&#8207;a&#8207;b&#x030c;&#8207;c&#x030c;&#x030c;</text>
23 23
24 <!-- multiple combining diacritics on ligatures in LTR --> 24 <!-- multiple combining diacritics on ligatures in LTR -->
25 <!-- MacOS has differences with the "ffi" glyph and diacritics in cursive fo nt family so the first run uses 'fi' as a workaround. --> 25 <!-- MacOS has differences with multiple diacritics in cursive font family s o this is skipped, see: https://crbug.com/669693. -->
26 <text x="50" y="200" class="testTextRun" font-family="cursive">fi&#x030c; fi &#x030c;&#x030c;</text> 26 <!-- <text x="50" y="200" class="testTextRun" font-family="cursive">fi&#x030 c; ffi&#x030c;&#x030c;</text> -->
27 <text x="200" y="200" class="testTextRun" font-family="serif">fi&#x030c; ffi &#x030c;&#x030c;</text> 27 <text x="200" y="200" class="testTextRun" font-family="serif">fi&#x030c; ffi &#x030c;&#x030c;</text>
28 <text x="350" y="200" class="testTextRun" font-family="sans-serif">fi&#x030c ; ffi&#x030c;&#x030c;</text> 28 <text x="350" y="200" class="testTextRun" font-family="sans-serif">fi&#x030c ; ffi&#x030c;&#x030c;</text>
29 29
30 <!-- combining diacritics on ligatures in mixed bidi runs --> 30 <!-- combining diacritics on ligatures in mixed bidi runs -->
31 <text x="50" y="275" class="testTextRun" font-family="cursive">ff&#x030c;&#1 600;&#1600;&#1604;&#1575;ff&#x030c;</text> 31 <text x="50" y="275" class="testTextRun" font-family="cursive">ff&#x030c;&#1 600;&#1600;&#1604;&#1575;ff&#x030c;</text>
32 <text x="200" y="275" class="testTextRun" font-family="serif">ff&#x030c;&#16 00;&#1600;&#1604;&#1575;ff&#x030c;</text> 32 <text x="200" y="275" class="testTextRun" font-family="serif">ff&#x030c;&#16 00;&#1600;&#1604;&#1575;ff&#x030c;</text>
33 <text x="350" y="275" class="testTextRun" font-family="sans-serif">ff&#x030c ;&#1600;&#1600;&#1604;&#1575;ff&#x030c;</text> 33 <text x="350" y="275" class="testTextRun" font-family="sans-serif">ff&#x030c ;&#1600;&#1600;&#1604;&#1575;ff&#x030c;</text>
34 34
35 <!-- combining diacritics which are wider than characters in mixed bidi runs --> 35 <!-- combining diacritics which are wider than characters in mixed bidi runs -->
36 <text x="50" y="350" class="testTextRun" font-family="cursive"> &#x030c;&#64 944;i&#819;</text> 36 <text x="50" y="350" class="testTextRun" font-family="cursive"> &#x030c;&#64 944;i&#819;</text>
37 <!-- Linux has differences with space width in the following two runs so a p eriod is used as a workaround. --> 37 <!-- Linux has differences with space width in the following two runs so a p eriod is used as a workaround. -->
38 <text x="200" y="350" class="testTextRun" font-family="serif">.&#x030c;&#649 44;i&#819;</text> 38 <text x="200" y="350" class="testTextRun" font-family="serif">.&#x030c;&#649 44;i&#819;</text>
39 <text x="350" y="350" class="testTextRun" font-family="sans-serif">.&#x030c; &#64944;i&#819;</text> 39 <text x="350" y="350" class="testTextRun" font-family="sans-serif">.&#x030c; &#64944;i&#819;</text>
40 </svg> 40 </svg>
41 <script src="resources/highlightGlyphs.js"></script> 41 <script src="resources/highlightGlyphs.js"></script>
42 <script> 42 <script>
43 highlightGlyphs(document.querySelectorAll('.testTextRun'), highlightContaine r); 43 highlightGlyphs(document.querySelectorAll('.testTextRun'), highlightContaine r);
44 </script> 44 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698