1 No markup

Assertion: When direction is not set or inherited, and text-anchor is not set, Latin, Arabic and Hebrew text will extend to the right of the x coordinate.

There is no direction or text-anchor markup. The default direction is ltr, and the default text-anchor value is start.

Link to the test

2 dirNone anchorStart

Assertion: When direction is not set or inherited, and text-anchor is set to start, Latin, Arabic and Hebrew text will extend to the right of the x coordinate..

There is no direction markup. The default direction is ltr. text-anchor value is start.

Link to the test

3 dirNone anchorEnd

Assertion: When direction is not set or inherited, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the left of the x coordinate.

There is no direction markup. The default direction is ltr. text-anchor value is end.

Link to the test

4 dirNone anchorMiddle

Assertion: When direction is not set or inherited, and text-anchor is set to middle, Latin, Arabic and Hebrew text will extend to either side of the x coordinate.

There is no direction markup. The default direction is ltr. text-anchor value is middle.

Link to the test

5 dirLTR anchorStart

Assertion: When direction is not set or inherited, and text-anchor is set to middle, Latin, Arabic and Hebrew text will extend to either side of the x coordinate.

direction is set to ltr on the text element. text-anchor value is start.

Link to the test

6 dirLTR anchorEnd

Assertion: When direction is set to ltr on the text element, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the left of the x coordinate.

direction is set to ltr on the text element. text-anchor value is end.

Link to the test

7 dirLTR anchorMiddle

Assertion: When direction is set to ltr on the text element, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the left of the x coordinate.

direction is set to ltr on the text element. text-anchor value is middle.

Link to the test

8 dirRTL anchorStart

Assertion: When direction is set to rtl on the text element, and text-anchor is set to start, Latin, Arabic and Hebrew text will extend to the left of the x coordinate.

direction is set to rtl on the text element. text-anchor value is start.

Link to the test

9 dirRTL anchorEnd

Assertion: When direction is set to rtl on the text element, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the right of the x coordinate.

direction is set to rtl on the text element. text-anchor value is end.

Link to the test

10 dirRTL anchorMiddle

Assertion: When direction is set to rtl on the text element, and text-anchor is set to middle, Latin, Arabic and Hebrew text will extend to both sides of the x coordinate.

direction is set to rtl on the text element. text-anchor value is middle.

Link to the test

11 dirLTR inherited, anchorStart

Assertion: When ltr direction is inherited by the text element, and text-anchor is set to start, Latin, Arabic and Hebrew text will extend to the right of the x coordinate.

direction is set to ltr on a g element. text-anchor value is start.

Link to the test

12 dirLTR inherited, anchorEnd

Assertion: When ltr direction is inherited by the text element, and text-anchor is set to start, Latin, Arabic and Hebrew text will extend to the right of the x coordinate.

direction is set to ltr on a g element. text-anchor value is end.

Link to the test

13 dirLTR inherited, anchorMiddle

Assertion: When ltr direction is inherited by the text element, and text-anchor is set to middle, Latin, Arabic and Hebrew text will extend to either side of the x coordinate.

direction is set to ltr on a g element. text-anchor value is middle.

Link to the test

14 dirRTL inherited, anchorStart

Assertion: When rtl direction is inherited by the text element, and text-anchor is set to start, Latin, Arabic and Hebrew text will extend to the left of the x coordinate.

direction is set to rtl on a g element. text-anchor value is start.

Link to the test

15 dirRTL inherited, anchorEnd

Assertion: When rtl direction is inherited by the text element, and text-anchor is set to end, Latin, Arabic and Hebrew text will extend to the right of the x coordinate.

direction is set to rtl on a g element. text-anchor value is end.

Link to the test

16 dirRTL inherited, anchorMiddle

Assertion: When rtl direction is inherited by the text element, and text-anchor is set to middle, Latin, Arabic and Hebrew text will extend to both sides of the x coordinate.

direction is set to rtl on a g element. text-anchor value is middle.

Link to the test

Version: $Id: test-direction-alignment-1.html,v 1.1 2008/11/07 17:25:27 rishida Exp $