1 No markup

Assertion: When direction is not set or inherited, and text-align is not set, Latin, Arabic and Hebrew text will be left-aligned.

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

Link to the test

2 dirNone alignStart

Assertion: When direction is not set or inherited, and text-align is set to start, Latin, Arabic and Hebrew text will be left-aligned.

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

Link to the test

3 dirNone alignEnd

Assertion: When direction is not set or inherited, and text-align is set to end, Latin, Arabic and Hebrew text will be right-aligned.

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

Link to the test

4 dirNone aligncenter

Assertion: When direction is not set or inherited, and text-align is set to center, Latin, Arabic and Hebrew text will be centered.

There is no direction markup. The default direction is ltr. text-align value is center.

Link to the test

5 dirLTR alignStart

Assertion: When direction is set to ltr on the text element, and text-align is set to start, Latin, Arabic and Hebrew text will be left-aligned.

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

Link to the test

6 dirLTR alignEnd

Assertion: When direction is set to ltr on the text element, and text-align is set to end, Latin, Arabic and Hebrew text will be right-aligned.

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

Link to the test

7 dirLTR alignCenter

Assertion: When direction is set to ltr on the text element, and text-align is set to center, Latin, Arabic and Hebrew text will be centered.

direction is set to ltr on the text element. text-align value is center.

Link to the test

8 dirRTL alignStart

Assertion: When direction is set to rtl on the text element, and text-align is set to start, Latin, Arabic and Hebrew text will be right-aligned.

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

Link to the test

9 dirRTL alignEnd

Assertion: When direction is set to rtl on the text element, and text-align is set to end, Latin, Arabic and Hebrew text will be left-aligned.

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

Link to the test

10 dirRTL alignCenter

Assertion: When direction is set to rtl on the text element, and text-align is set to center, Latin, Arabic and Hebrew text will be centered.

direction is set to rtl on the text element. text-align value is center.

Link to the test

11 dirLTR inherited, alignStart

Assertion: When ltr direction is inherited by the text element, and text-align is set to start, Latin, Arabic and Hebrew text will be left-aligned.

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

Link to the test

12 dirLTR inherited, alignEnd

Assertion: When ltr direction is inherited by the text element, and text-align is set to end, Latin, Arabic and Hebrew text will be right-aligned.

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

Link to the test

13 dirLTR inherited, alignCenter

Assertion: When ltr direction is inherited by the text element, and text-align is set to center, Latin, Arabic and Hebrew text will be centered.

direction is set to ltr on a g element. text-align value is center.

Link to the test

14 dirRTL inherited, alignStart

Assertion: When rtl direction is inherited by the text element, and text-align is set to start, Latin, Arabic and Hebrew text will be right-aligned.

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

Link to the test

15 dirRTL inherited, alignEnd

Assertion: When rtl direction is inherited by the text element, and text-align is set to end, Latin, Arabic and Hebrew text will be left-aligned.

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

Link to the test

16 dirRTL inherited, alignCenter

Assertion: When rtl direction is inherited by the text element, and text-align is set to center, Latin, Arabic and Hebrew text will be centered.

direction is set to rtl on a g element. text-align value is center.

Link to the test

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