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

Unified Diff: LayoutTests/svg/W3C-SVG-1.1/text-intro-02-b.svg

Issue 1057303003: Remove 2 duplicated SVG tests and rename 3 SVG text tests for selection (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove 2 duplicated SVG tests and rename 3 SVG text tests for reflecting Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/W3C-SVG-1.1/text-intro-02-b.svg
diff --git a/LayoutTests/svg/W3C-SVG-1.1/text-intro-02-b.svg b/LayoutTests/svg/W3C-SVG-1.1/text-intro-02-b.svg
deleted file mode 100644
index 32a639db199f70ae099d9948c987f5901b3fe471..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/W3C-SVG-1.1/text-intro-02-b.svg
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd"
-[
- <!ENTITY % svgExt "| SVGTestCase">
- <!ELEMENT SVGTestCase (OperatorScript)>
- <!ATTLIST SVGTestCase
- xmlns CDATA #REQUIRED
->
- <!ELEMENT OperatorScript (Paragraph)*>
- <!ATTLIST OperatorScript
- version CDATA #IMPLIED
- testname CDATA #IMPLIED
->
- <!ELEMENT Paragraph (#PCDATA)>
-]>
-<!--======================================================================-->
-<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
-<!--= Institute of Technology, Institut National de Recherche en =-->
-<!--= Informatique et en Automatique, Keio University). All Rights =-->
-<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
-<!--======================================================================-->
-<!-- ===================================================================== -->
-<!-- -->
-<!-- text-i18n-BE-09.svg -->
-<!-- renamed for 1.1 suite to text-intro-02-b.svg -->
-<!-- -->
-<!-- Test various aspects of internationalized text, including -->
-<!-- left-to-right, right-to-left, and the -->
-<!-- following properties: 'writing-mode', -->
-<!-- 'direction' and 'unicode-bidi'. -->
-<!-- -->
-<!-- Author : Jon Ferraiolo 06-Aug-2000 -->
-<!-- 1.1 revision by Vincent Hardy -->
-<!-- -->
-<!-- History: -->
-<!-- 06-Aug-2000, JF: Serial#1 created. -->
-<!-- 19-Aug-2000, LH: fix missing </g>. -->
-<!-- -->
-<!-- ===================================================================== -->
-<!--======================================================================-->
-<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
-<!--= log messages, and therefore is no longer in the preceding preamble.=-->
-<!--======================================================================-->
-<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
- <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
- <!--nav data here-->
- <OperatorScript version="$Revision: 1.9 $" testname="text-intro-02-b.svg">
- <Paragraph>
- Test various aspects of internationalized text, including
- left-to-right, right-to-left, and the
- following properties: 'writing-mode',
- 'direction' and 'unicode-bidi'.
- </Paragraph>
- <Paragraph>
- Various text strings in various languages appear. The main
- purpose of the test is to verify that the correct characters
- appear and that they appear in the correct order and orientation.
- Ensure that the three lines with Hebrew are ordered
- correctly (test of bidi algorithms and support of 'unicode-bidi' and
- 'direction' properties). </Paragraph>
- <Paragraph>
- This test requires installation of a system font that supports
- the various international characters used in this test case. A
- suitable font should be used by the SVG renderer if none of the
- specified font families are available (or if they are available but do
- not have the required glyphs). To
- minimize system dependencies, a future version of this test
- might include all necessary glyphs as an SVG font.
- </Paragraph>
- </OperatorScript>
- </SVGTestCase>
- <title id="test-title">text-intro-02-b</title>
- <desc id="test-desc">Test various aspects of internationalized text, including left-to-right and right-to-left text, and the following properties: 'direction' and 'unicode-bidi'.</desc>
- <!--======================================================================-->
- <!--Content of Test Case follows... =====================-->
- <!--======================================================================-->
- <defs>
- <!-- Important SVGExotic font instead of relying on MS Office Fonts to be present -->
- <font-face font-family="SVGExotic">
- <font-face-src>
- <font-face-uri xlink:href="resources/SVGExotic.svg#exotic"/>
- </font-face-src>
- </font-face>
- </defs>
- <g id="test-body-content">
- <text font-family="Arial" font-size="17" fill="red" x="10" y="40">unicode-bidi="bidi-override" direction="ltr".</text>
- <g font-size="18" font-family="SVGExotic">
- <text x="10" y="80" unicode-bidi="bidi-override" direction="ltr">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
- </g>
- <!-- NOTE: THIS SUBTEST IS BROKEN ON PURPOSE. SVG 1.1 2nd Edition changed the meaning of direction="rtl" and text-anchor properties.
- text-anchor should be defined relative to writing direction, so with text-anchor="end" this test would work again.
- Compare with LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-02-b.svg, which contains this fix. -->
- <text font-family="Arial" font-size="17" fill="red" x="10" y="140">unicode-bidi="bidi-override" direction="rtl".</text>
- <g font-size="18" font-family="SVGExotic">
- <text x="10" y="180" unicode-bidi="bidi-override" direction="rtl">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
- </g>
- <!-- NOTE: THIS SUBTEST IS BROKEN ON PURPOSE. SVG 1.1 2nd Edition changed the meaning of direction="rtl" and text-anchor properties.
- text-anchor should be defined relative to writing direction, so with text-anchor="end" this test would work again.
- Compare with LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-02-b.svg, which contains this fix. -->
- <text font-family="Arial" font-size="17" fill="red" x="10" y="240">unicode-bidi="normal" direction="ltr".</text>
- <g font-size="18" font-family="SVGExotic">
- <text x="10" y="280" unicode-bidi="normal" direction="rtl">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
- </g>
- </g>
- <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
- <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
-</svg>
« no previous file with comments | « LayoutTests/platform/win/svg/text/text-spacing-01-b-expected.png ('k') | LayoutTests/svg/W3C-SVG-1.1/text-intro-05-t.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698