From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../tests/svg/import/fonts-desc-05-t-manual.svg | 136 +++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 testing/web-platform/tests/svg/import/fonts-desc-05-t-manual.svg (limited to 'testing/web-platform/tests/svg/import/fonts-desc-05-t-manual.svg') diff --git a/testing/web-platform/tests/svg/import/fonts-desc-05-t-manual.svg b/testing/web-platform/tests/svg/import/fonts-desc-05-t-manual.svg new file mode 100644 index 000000000..41cff386f --- /dev/null +++ b/testing/web-platform/tests/svg/import/fonts-desc-05-t-manual.svg @@ -0,0 +1,136 @@ + + + + + + + + + + + + +

+ This tests a combination of font attribute matching. +

+ + +

+ Run the test. No interaction required. +

+
+ +

+ The correct result for the first line is diamond, diamond, upward-triangle, + downard-triangle. The correct result for the second line is + upward-triangle, downard triangle, and a right-triangle. +

+

+ Reasoning for glyphs on the first line: + The first character is a diamond because it is matched purely + on the font-style attribute. The second character is a diamond + because font-style (italic) is of highest precedence, followed + by font-variant (normal), then font-weight (bold). The third + character matches upward-triangle because again font-variant + (small-caps) is a higher precedence than font-weight. The + fourth character undisputedly matches the downward-triangle. +

+

+ Reasoning for the glyphs on the second line: + The first character is a upward-triangle because the font + matching must fall back to SVGFont1 to get a match + for small-caps. The second character is a downward-triangle + because there is no match for small-caps in SVGFont2. + The third character is a right facing triangle because + italic should match oblique in SVGFont2. +

+
+ + $RCSfile: fonts-desc-05-t.svg,v $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a + a + a + a + + + a + a + a + + + + $Revision: 1.7 $ + + + + + + DRAFT + + -- cgit v1.2.3