Unprefix unicode-bidi CSS values
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 May 2017 15:26:38 +0000 (15:26 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 May 2017 15:26:38 +0000 (15:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=171761

Reviewed by Simon Fraser.

Source/WebCore:

Create new values which parse to the same internal state as the
prefixed values.

Tests: fast/text/bidi-unprefix.html
       imported/w3c/i18n/bidi/bidi-embed-001.html
       imported/w3c/i18n/bidi/bidi-embed-002.html
       imported/w3c/i18n/bidi/bidi-embed-003.html
       imported/w3c/i18n/bidi/bidi-embed-004.html
       imported/w3c/i18n/bidi/bidi-embed-005.html
       imported/w3c/i18n/bidi/bidi-embed-006.html
       imported/w3c/i18n/bidi/bidi-embed-007.html
       imported/w3c/i18n/bidi/bidi-embed-008.html
       imported/w3c/i18n/bidi/bidi-embed-009.html
       imported/w3c/i18n/bidi/bidi-embed-010.html
       imported/w3c/i18n/bidi/bidi-embed-011.html
       imported/w3c/i18n/bidi/bidi-isolate-001.html
       imported/w3c/i18n/bidi/bidi-isolate-002.html
       imported/w3c/i18n/bidi/bidi-isolate-003.html
       imported/w3c/i18n/bidi/bidi-isolate-004.html
       imported/w3c/i18n/bidi/bidi-isolate-005.html
       imported/w3c/i18n/bidi/bidi-isolate-006.html
       imported/w3c/i18n/bidi/bidi-isolate-007.html
       imported/w3c/i18n/bidi/bidi-isolate-008.html
       imported/w3c/i18n/bidi/bidi-isolate-009.html
       imported/w3c/i18n/bidi/bidi-isolate-010.html
       imported/w3c/i18n/bidi/bidi-isolate-011.html
       imported/w3c/i18n/bidi/bidi-isolate-override-001.html
       imported/w3c/i18n/bidi/bidi-isolate-override-002.html
       imported/w3c/i18n/bidi/bidi-isolate-override-003.html
       imported/w3c/i18n/bidi/bidi-isolate-override-004.html
       imported/w3c/i18n/bidi/bidi-isolate-override-005.html
       imported/w3c/i18n/bidi/bidi-isolate-override-006.html
       imported/w3c/i18n/bidi/bidi-isolate-override-007.html
       imported/w3c/i18n/bidi/bidi-isolate-override-008.html
       imported/w3c/i18n/bidi/bidi-isolate-override-009.html
       imported/w3c/i18n/bidi/bidi-isolate-override-010.html
       imported/w3c/i18n/bidi/bidi-isolate-override-011.html
       imported/w3c/i18n/bidi/bidi-isolate-override-012.html
       imported/w3c/i18n/bidi/bidi-normal-001.html
       imported/w3c/i18n/bidi/bidi-normal-002.html
       imported/w3c/i18n/bidi/bidi-normal-003.html
       imported/w3c/i18n/bidi/bidi-normal-004.html
       imported/w3c/i18n/bidi/bidi-normal-005.html
       imported/w3c/i18n/bidi/bidi-normal-006.html
       imported/w3c/i18n/bidi/bidi-normal-007.html
       imported/w3c/i18n/bidi/bidi-normal-008.html
       imported/w3c/i18n/bidi/bidi-normal-009.html
       imported/w3c/i18n/bidi/bidi-normal-010.html
       imported/w3c/i18n/bidi/bidi-normal-011.html
       imported/w3c/i18n/bidi/bidi-override-001.html
       imported/w3c/i18n/bidi/bidi-override-002.html
       imported/w3c/i18n/bidi/bidi-override-003.html
       imported/w3c/i18n/bidi/bidi-override-004.html
       imported/w3c/i18n/bidi/bidi-override-005.html
       imported/w3c/i18n/bidi/bidi-override-006.html
       imported/w3c/i18n/bidi/bidi-override-007.html
       imported/w3c/i18n/bidi/bidi-override-008.html
       imported/w3c/i18n/bidi/bidi-override-009.html
       imported/w3c/i18n/bidi/bidi-override-010.html
       imported/w3c/i18n/bidi/bidi-override-011.html
       imported/w3c/i18n/bidi/bidi-override-012.html
       imported/w3c/i18n/bidi/bidi-plaintext-001.html
       imported/w3c/i18n/bidi/bidi-plaintext-003.html
       imported/w3c/i18n/bidi/bidi-plaintext-005.html
       imported/w3c/i18n/bidi/bidi-plaintext-006.html
       imported/w3c/i18n/bidi/bidi-plaintext-007.html
       imported/w3c/i18n/bidi/bidi-plaintext-008.html
       imported/w3c/i18n/bidi/bidi-plaintext-009.html
       imported/w3c/i18n/bidi/bidi-plaintext-010.html
       imported/w3c/i18n/bidi/bidi-plaintext-011.html
       imported/w3c/i18n/bidi/bidi-table-001.html
       imported/w3c/i18n/bidi/bidi-unset-001.html
       imported/w3c/i18n/bidi/bidi-unset-002.html
       imported/w3c/i18n/bidi/bidi-unset-003.html
       imported/w3c/i18n/bidi/bidi-unset-004.html
       imported/w3c/i18n/bidi/bidi-unset-005.html
       imported/w3c/i18n/bidi/bidi-unset-006.html
       imported/w3c/i18n/bidi/bidi-unset-007.html
       imported/w3c/i18n/bidi/bidi-unset-008.html
       imported/w3c/i18n/bidi/bidi-unset-009.html
       imported/w3c/i18n/bidi/bidi-unset-010.html
       imported/w3c/i18n/bidi/block-embed-001.html
       imported/w3c/i18n/bidi/block-embed-002.html
       imported/w3c/i18n/bidi/block-embed-003.html
       imported/w3c/i18n/bidi/block-override-001.html
       imported/w3c/i18n/bidi/block-override-002.html
       imported/w3c/i18n/bidi/block-override-003.html
       imported/w3c/i18n/bidi/block-override-004.html
       imported/w3c/i18n/bidi/block-override-isolate-001.html
       imported/w3c/i18n/bidi/block-override-isolate-002.html
       imported/w3c/i18n/bidi/block-override-isolate-003.html
       imported/w3c/i18n/bidi/block-override-isolate-004.html
       imported/w3c/i18n/bidi/block-plaintext-001.html
       imported/w3c/i18n/bidi/block-plaintext-002.html
       imported/w3c/i18n/bidi/block-plaintext-003.html
       imported/w3c/i18n/bidi/block-plaintext-004.html
       imported/w3c/i18n/bidi/block-plaintext-005.html
       imported/w3c/i18n/bidi/block-plaintext-006.html

* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EUnicodeBidi):
* css/CSSProperties.json:
* css/CSSValueKeywords.in:
* css/html.css:
(bdi, output):
* css/parser/CSSParserFastPaths.cpp:
(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
* html/HTMLElement.cpp:
(WebCore::unicodeBidiAttributeForDirAuto):
* html/track/TextTrackCueGeneric.cpp:
(WebCore::TextTrackCueGenericBoxElement::applyCSSProperties):
* html/track/VTTCue.cpp:
(WebCore::VTTCueBox::applyCSSProperties):

Source/WebInspectorUI:

* UserInterface/Models/CSSKeywordCompletions.js:

LayoutTests:

Import W3C's internationalization tests from
https://www.w3.org/International/tests/repo/results/writing-modes-bidi

* fast/css/default-bidi-css-rules-expected.txt: Updating expected results.
* fast/css/default-bidi-css-rules.html: Ditto.
* fast/css/unicode-bidi-computed-value-expected.txt: Ditto.
* fast/css/unicode-bidi-computed-value.html: Ditto.
* fast/text/bidi-unprefix-expected.txt: Added. Test unprefixing.
* fast/text/bidi-unprefix.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-001.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-002-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-002.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-003.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-004-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-004.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-005.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-006.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-007.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-008.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-009.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-010.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-011-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-embed-011.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-001.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-002-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-002.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-003.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-004-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-004.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-005.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-006.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-007.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-008.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-009.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-010.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-011-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-011.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-001.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-002-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-002.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-003.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-004-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-004.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-005.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-006.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-007.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-008.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-009.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-010.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-011-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-011.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-012-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-isolate-override-012.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-001.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-002-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-002.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-003.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-004-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-004.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-005.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-006.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-007.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-008.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-009.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-010.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-011-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-normal-011.html: Added.
* imported/w3c/i18n/bidi/bidi-override-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-001.html: Added.
* imported/w3c/i18n/bidi/bidi-override-002-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-002.html: Added.
* imported/w3c/i18n/bidi/bidi-override-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-003.html: Added.
* imported/w3c/i18n/bidi/bidi-override-004-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-004.html: Added.
* imported/w3c/i18n/bidi/bidi-override-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-005.html: Added.
* imported/w3c/i18n/bidi/bidi-override-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-006.html: Added.
* imported/w3c/i18n/bidi/bidi-override-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-007.html: Added.
* imported/w3c/i18n/bidi/bidi-override-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-008.html: Added.
* imported/w3c/i18n/bidi/bidi-override-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-009.html: Added.
* imported/w3c/i18n/bidi/bidi-override-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-010.html: Added.
* imported/w3c/i18n/bidi/bidi-override-011-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-011.html: Added.
* imported/w3c/i18n/bidi/bidi-override-012-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-override-012.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-001.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-003.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-005.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-006.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-007.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-008.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-009.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-010.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-011-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-plaintext-011.html: Added.
* imported/w3c/i18n/bidi/bidi-table-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-table-001.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-001-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-001.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-002-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-002.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-003-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-003.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-004-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-004.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-005-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-005.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-006-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-006.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-007-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-007.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-008-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-008.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-009-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-009.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-010-expected.html: Added.
* imported/w3c/i18n/bidi/bidi-unset-010.html: Added.
* imported/w3c/i18n/bidi/block-embed-001-expected.html: Added.
* imported/w3c/i18n/bidi/block-embed-001.html: Added.
* imported/w3c/i18n/bidi/block-embed-002-expected.html: Added.
* imported/w3c/i18n/bidi/block-embed-002.html: Added.
* imported/w3c/i18n/bidi/block-embed-003-expected.html: Added.
* imported/w3c/i18n/bidi/block-embed-003.html: Added.
* imported/w3c/i18n/bidi/block-override-001-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-001.html: Added.
* imported/w3c/i18n/bidi/block-override-002-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-002.html: Added.
* imported/w3c/i18n/bidi/block-override-003-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-003.html: Added.
* imported/w3c/i18n/bidi/block-override-004-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-004.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-001-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-001.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-002-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-002.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-003-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-003.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-004-expected.html: Added.
* imported/w3c/i18n/bidi/block-override-isolate-004.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-001-expected.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-001.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-002-expected.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-002.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-003-expected.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-003.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-004-expected.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-004.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-005-expected.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-005.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-006-expected.html: Added.
* imported/w3c/i18n/bidi/block-plaintext-006.html: Added.
* imported/w3c/i18n/bidi/resources/sileot-webfont.woff: Added.
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216418 268f45cc-cd09-0410-ab3c-d52691b4dbfc

209 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css/default-bidi-css-rules-expected.txt
LayoutTests/fast/css/default-bidi-css-rules.html
LayoutTests/fast/css/unicode-bidi-computed-value-expected.txt
LayoutTests/fast/css/unicode-bidi-computed-value.html
LayoutTests/fast/text/bidi-unprefix-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/bidi-unprefix.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-011-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-embed-011.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-011-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-011.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-011-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-011.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-012-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-012.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-011-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-normal-011.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-011-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-011.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-012-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-override-012.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-011-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-011.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-table-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-table-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-007-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-007.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-008-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-008.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-009-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-009.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-010-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/bidi-unset-010.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-embed-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-embed-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-embed-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-embed-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-embed-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-embed-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-override-isolate-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-004-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-004.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-005-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-005.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-006-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/block-plaintext-006.html [new file with mode: 0644]
LayoutTests/imported/w3c/i18n/bidi/resources/sileot-webfont.woff [new file with mode: 0644]
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/mac/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/css/CSSPrimitiveValueMappings.h
Source/WebCore/css/CSSProperties.json
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/html.css
Source/WebCore/css/parser/CSSParserFastPaths.cpp
Source/WebCore/html/HTMLElement.cpp
Source/WebCore/html/track/TextTrackCueGeneric.cpp
Source/WebCore/html/track/VTTCue.cpp
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js

index d41b343..3361b43 100644 (file)
@@ -1,3 +1,211 @@
+2017-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unprefix unicode-bidi CSS values
+        https://bugs.webkit.org/show_bug.cgi?id=171761
+
+        Reviewed by Simon Fraser.
+
+        Import W3C's internationalization tests from
+        https://www.w3.org/International/tests/repo/results/writing-modes-bidi
+
+        * fast/css/default-bidi-css-rules-expected.txt: Updating expected results.
+        * fast/css/default-bidi-css-rules.html: Ditto.
+        * fast/css/unicode-bidi-computed-value-expected.txt: Ditto.
+        * fast/css/unicode-bidi-computed-value.html: Ditto.
+        * fast/text/bidi-unprefix-expected.txt: Added. Test unprefixing.
+        * fast/text/bidi-unprefix.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-002.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-004.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-010.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-011-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-embed-011.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-002.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-004.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-010.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-011-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-011.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-002.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-004.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-010.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-011-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-011.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-012-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-isolate-override-012.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-002.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-004.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-010.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-011-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-normal-011.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-002.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-004.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-010.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-011-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-011.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-012-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-override-012.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-010.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-011-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-plaintext-011.html: Added.
+        * imported/w3c/i18n/bidi/bidi-table-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-table-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-001.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-002.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-003.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-004.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-005.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-006.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-007-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-007.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-008-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-008.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-009-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-009.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-010-expected.html: Added.
+        * imported/w3c/i18n/bidi/bidi-unset-010.html: Added.
+        * imported/w3c/i18n/bidi/block-embed-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-embed-001.html: Added.
+        * imported/w3c/i18n/bidi/block-embed-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-embed-002.html: Added.
+        * imported/w3c/i18n/bidi/block-embed-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-embed-003.html: Added.
+        * imported/w3c/i18n/bidi/block-override-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-001.html: Added.
+        * imported/w3c/i18n/bidi/block-override-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-002.html: Added.
+        * imported/w3c/i18n/bidi/block-override-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-003.html: Added.
+        * imported/w3c/i18n/bidi/block-override-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-004.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-001.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-002.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-003.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-override-isolate-004.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-001-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-001.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-002-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-002.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-003-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-003.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-004-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-004.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-005-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-005.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-006-expected.html: Added.
+        * imported/w3c/i18n/bidi/block-plaintext-006.html: Added.
+        * imported/w3c/i18n/bidi/resources/sileot-webfont.woff: Added.
+        * platform/ios/TestExpectations:
+        * platform/mac/TestExpectations:
+
 2017-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         Unreviewed GTK+ gardening. Update expectations of several tests.
index 8c49f1b..f69f6b4 100644 (file)
@@ -1,13 +1,13 @@
 This test checks the default rules for direction and unicode-bidi CSS properties.
 
 PASS styleOf("div", {}).direction is "ltr"
-FAIL styleOf("div", {}).unicodeBidi should be -webkit-isolate. Was normal.
+FAIL styleOf("div", {}).unicodeBidi should be isolate. Was normal.
 PASS styleOf("div", {"dir":"ltr"}).direction is "ltr"
 PASS styleOf("div", {"dir":"ltr"}).unicodeBidi is "embed"
 PASS styleOf("div", {"dir":"rtl"}).direction is "rtl"
 PASS styleOf("div", {"dir":"rtl"}).unicodeBidi is "embed"
 PASS styleOf("div", {"dir":"auto"}).direction is "ltr"
-PASS styleOf("div", {"dir":"auto"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("div", {"dir":"auto"}).unicodeBidi is "isolate"
 PASS styleOf("div", {"dir":""}).direction is "ltr"
 PASS styleOf("div", {"dir":""}).unicodeBidi is "embed"
 PASS styleOf("span", {}).direction is "ltr"
@@ -17,29 +17,29 @@ PASS styleOf("span", {"dir":"ltr"}).unicodeBidi is "embed"
 PASS styleOf("span", {"dir":"rtl"}).direction is "rtl"
 PASS styleOf("span", {"dir":"rtl"}).unicodeBidi is "embed"
 PASS styleOf("span", {"dir":"auto"}).direction is "ltr"
-PASS styleOf("span", {"dir":"auto"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("span", {"dir":"auto"}).unicodeBidi is "isolate"
 PASS styleOf("span", {"dir":""}).direction is "ltr"
 PASS styleOf("span", {"dir":""}).unicodeBidi is "embed"
 PASS styleOf("bdi", {}).direction is "ltr"
-PASS styleOf("bdi", {}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("bdi", {}).unicodeBidi is "isolate"
 PASS styleOf("bdi", {"dir":"ltr"}).direction is "ltr"
-PASS styleOf("bdi", {"dir":"ltr"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("bdi", {"dir":"ltr"}).unicodeBidi is "isolate"
 PASS styleOf("bdi", {"dir":"rtl"}).direction is "rtl"
-PASS styleOf("bdi", {"dir":"rtl"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("bdi", {"dir":"rtl"}).unicodeBidi is "isolate"
 PASS styleOf("bdi", {"dir":"auto"}).direction is "ltr"
-PASS styleOf("bdi", {"dir":"auto"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("bdi", {"dir":"auto"}).unicodeBidi is "isolate"
 PASS styleOf("bdi", {"dir":""}).direction is "ltr"
-PASS styleOf("bdi", {"dir":""}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("bdi", {"dir":""}).unicodeBidi is "isolate"
 PASS styleOf("output", {}).direction is "ltr"
-PASS styleOf("output", {}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("output", {}).unicodeBidi is "isolate"
 PASS styleOf("output", {"dir":"ltr"}).direction is "ltr"
-PASS styleOf("output", {"dir":"ltr"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("output", {"dir":"ltr"}).unicodeBidi is "isolate"
 PASS styleOf("output", {"dir":"rtl"}).direction is "rtl"
-PASS styleOf("output", {"dir":"rtl"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("output", {"dir":"rtl"}).unicodeBidi is "isolate"
 PASS styleOf("output", {"dir":"auto"}).direction is "ltr"
-PASS styleOf("output", {"dir":"auto"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("output", {"dir":"auto"}).unicodeBidi is "isolate"
 PASS styleOf("output", {"dir":""}).direction is "ltr"
-PASS styleOf("output", {"dir":""}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("output", {"dir":""}).unicodeBidi is "isolate"
 PASS styleOf("bdo", {}).direction is "ltr"
 PASS styleOf("bdo", {}).unicodeBidi is "bidi-override"
 PASS styleOf("bdo", {"dir":"ltr"}).direction is "ltr"
@@ -47,7 +47,7 @@ PASS styleOf("bdo", {"dir":"ltr"}).unicodeBidi is "bidi-override"
 PASS styleOf("bdo", {"dir":"rtl"}).direction is "rtl"
 PASS styleOf("bdo", {"dir":"rtl"}).unicodeBidi is "bidi-override"
 PASS styleOf("bdo", {"dir":"auto"}).direction is "ltr"
-FAIL styleOf("bdo", {"dir":"auto"}).unicodeBidi should be bidi-override -webkit-isolate. Was -webkit-isolate.
+FAIL styleOf("bdo", {"dir":"auto"}).unicodeBidi should be bidi-override isolate. Was isolate.
 PASS styleOf("bdo", {"dir":""}).direction is "ltr"
 PASS styleOf("bdo", {"dir":""}).unicodeBidi is "bidi-override"
 PASS styleOf("textarea", {}).direction is "ltr"
@@ -57,7 +57,7 @@ PASS styleOf("textarea", {"dir":"ltr"}).unicodeBidi is "embed"
 PASS styleOf("textarea", {"dir":"rtl"}).direction is "rtl"
 PASS styleOf("textarea", {"dir":"rtl"}).unicodeBidi is "embed"
 PASS styleOf("textarea", {"dir":"auto"}).direction is "ltr"
-PASS styleOf("textarea", {"dir":"auto"}).unicodeBidi is "-webkit-plaintext"
+PASS styleOf("textarea", {"dir":"auto"}).unicodeBidi is "plaintext"
 PASS styleOf("textarea", {"dir":""}).direction is "ltr"
 PASS styleOf("textarea", {"dir":""}).unicodeBidi is "embed"
 PASS styleOf("pre", {}).direction is "ltr"
@@ -67,7 +67,7 @@ PASS styleOf("pre", {"dir":"ltr"}).unicodeBidi is "embed"
 PASS styleOf("pre", {"dir":"rtl"}).direction is "rtl"
 PASS styleOf("pre", {"dir":"rtl"}).unicodeBidi is "embed"
 PASS styleOf("pre", {"dir":"auto"}).direction is "ltr"
-PASS styleOf("pre", {"dir":"auto"}).unicodeBidi is "-webkit-plaintext"
+PASS styleOf("pre", {"dir":"auto"}).unicodeBidi is "plaintext"
 PASS styleOf("pre", {"dir":""}).direction is "ltr"
 PASS styleOf("pre", {"dir":""}).unicodeBidi is "embed"
 PASS successfullyParsed is true
index 8cb6d38..4ed7bf4 100644 (file)
@@ -20,46 +20,46 @@ function styleOf(name, attributes) {
 }
 
 var tests = [
-    ['div', {}, 'ltr', '-webkit-isolate'],
+    ['div', {}, 'ltr', 'isolate'],
     ['div', {'dir': 'ltr'}, 'ltr', 'embed'],
     ['div', {'dir': 'rtl'}, 'rtl', 'embed'],
-    ['div', {'dir': 'auto'}, 'ltr', '-webkit-isolate'],
+    ['div', {'dir': 'auto'}, 'ltr', 'isolate'],
     ['div', {'dir': ''}, 'ltr', 'embed'],
 
     ['span', {}, 'ltr', 'normal'],
     ['span', {'dir': 'ltr'}, 'ltr', 'embed'],
     ['span', {'dir': 'rtl'}, 'rtl', 'embed'],
-    ['span', {'dir': 'auto'}, 'ltr', '-webkit-isolate'],
+    ['span', {'dir': 'auto'}, 'ltr', 'isolate'],
     ['span', {'dir': ''}, 'ltr', 'embed'],
 
-    ['bdi', {}, 'ltr', '-webkit-isolate'],
-    ['bdi', {'dir': 'ltr'}, 'ltr', '-webkit-isolate'],
-    ['bdi', {'dir': 'rtl'}, 'rtl', '-webkit-isolate'],
-    ['bdi', {'dir': 'auto'}, 'ltr', '-webkit-isolate'],
-    ['bdi', {'dir': ''}, 'ltr', '-webkit-isolate'],
+    ['bdi', {}, 'ltr', 'isolate'],
+    ['bdi', {'dir': 'ltr'}, 'ltr', 'isolate'],
+    ['bdi', {'dir': 'rtl'}, 'rtl', 'isolate'],
+    ['bdi', {'dir': 'auto'}, 'ltr', 'isolate'],
+    ['bdi', {'dir': ''}, 'ltr', 'isolate'],
 
-    ['output', {}, 'ltr', '-webkit-isolate'],
-    ['output', {'dir': 'ltr'}, 'ltr', '-webkit-isolate'],
-    ['output', {'dir': 'rtl'}, 'rtl', '-webkit-isolate'],
-    ['output', {'dir': 'auto'}, 'ltr', '-webkit-isolate'],
-    ['output', {'dir': ''}, 'ltr', '-webkit-isolate'],
+    ['output', {}, 'ltr', 'isolate'],
+    ['output', {'dir': 'ltr'}, 'ltr', 'isolate'],
+    ['output', {'dir': 'rtl'}, 'rtl', 'isolate'],
+    ['output', {'dir': 'auto'}, 'ltr', 'isolate'],
+    ['output', {'dir': ''}, 'ltr', 'isolate'],
 
     ['bdo', {}, 'ltr', 'bidi-override'],
     ['bdo', {'dir': 'ltr'}, 'ltr', 'bidi-override'],
     ['bdo', {'dir': 'rtl'}, 'rtl', 'bidi-override'],
-    ['bdo', {'dir': 'auto'}, 'ltr', 'bidi-override -webkit-isolate'],
+    ['bdo', {'dir': 'auto'}, 'ltr', 'bidi-override isolate'],
     ['bdo', {'dir': ''}, 'ltr', 'bidi-override'],
 
     ['textarea', {}, 'ltr', 'normal'],
     ['textarea', {'dir': 'ltr'}, 'ltr', 'embed'],
     ['textarea', {'dir': 'rtl'}, 'rtl', 'embed'],
-    ['textarea', {'dir': 'auto'}, 'ltr', '-webkit-plaintext'],
+    ['textarea', {'dir': 'auto'}, 'ltr', 'plaintext'],
     ['textarea', {'dir': ''}, 'ltr', 'embed'],
 
     ['pre', {}, 'ltr', 'normal'],
     ['pre', {'dir': 'ltr'}, 'ltr', 'embed'],
     ['pre', {'dir': 'rtl'}, 'rtl', 'embed'],
-    ['pre', {'dir': 'auto'}, 'ltr', '-webkit-plaintext'],
+    ['pre', {'dir': 'auto'}, 'ltr', 'plaintext'],
     ['pre', {'dir': ''}, 'ltr', 'embed'],
 ].forEach(function (test) {
     shouldBe('styleOf("' + test[0] + '", ' + JSON.stringify(test[1]) + ').direction', '"' + test[2] + '"');
index a63b376..b6e90f2 100644 (file)
@@ -2,17 +2,17 @@ This tests the computed value of unicode-bidi property.
 
 PASS styleOf("span", {}).unicodeBidi is "normal"
 PASS styleOf("span", {"style":"unicode-bidi: embed;"}).unicodeBidi is "embed"
-PASS styleOf("span", {"style":"unicode-bidi: -webkit-isolate;"}).unicodeBidi is "-webkit-isolate"
+PASS styleOf("span", {"style":"unicode-bidi: isolate;"}).unicodeBidi is "isolate"
 PASS styleOf("span", {"style":"unicode-bidi: bidi-override;"}).unicodeBidi is "bidi-override"
-PASS styleOf("span", {"style":"unicode-bidi: -webkit-plaintext;"}).unicodeBidi is "-webkit-plaintext"
+PASS styleOf("span", {"style":"unicode-bidi: plaintext;"}).unicodeBidi is "plaintext"
 PASS styleOf("span", {"style":"unicode-bidi: bad-value;"}).unicodeBidi is "normal"
 PASS styleOf("span", {"style":"unicode-bidi: embed embed;"}).unicodeBidi is "normal"
 PASS styleOf("span", {"style":"unicode-bidi: embed -webkit-plain-text;"}).unicodeBidi is "normal"
-PASS styleOf("span", {"style":"unicode-bidi: bidi-override -webkit-isolate;"}).unicodeBidi is "normal"
-PASS styleOf("span", {"style":"unicode-bidi: -webkit-isolate bidi-override;"}).unicodeBidi is "normal"
-PASS styleOf("span", {"style":"unicode-bidi: -webkit-isolate-override;"}).unicodeBidi is "-webkit-isolate-override"
-PASS styleOf("span", {"style":"unicode-bidi: bidi-override -webkit-isolate bidi-override;"}).unicodeBidi is "normal"
-PASS styleOf("span", {"style":"unicode-bidi: bidi-override -webkit-isolate -webkit-isolate;"}).unicodeBidi is "normal"
+PASS styleOf("span", {"style":"unicode-bidi: bidi-override isolate;"}).unicodeBidi is "normal"
+PASS styleOf("span", {"style":"unicode-bidi: isolate bidi-override;"}).unicodeBidi is "normal"
+PASS styleOf("span", {"style":"unicode-bidi: isolate-override;"}).unicodeBidi is "isolate-override"
+PASS styleOf("span", {"style":"unicode-bidi: bidi-override isolate bidi-override;"}).unicodeBidi is "normal"
+PASS styleOf("span", {"style":"unicode-bidi: bidi-override isolate isolate;"}).unicodeBidi is "normal"
 PASS styleOf("span", {"style":"unicode-bidi: bidi-override bad-value;"}).unicodeBidi is "normal"
 PASS styleOf("span", {"style":"unicode-bidi: bidi-override embed;"}).unicodeBidi is "normal"
 
index 0c0f4cc..f95567e 100644 (file)
@@ -22,17 +22,17 @@ function styleOf(name, attributes) {
 var tests = [
     ['span', {}, 'normal'],
     ['span', {'style': 'unicode-bidi: embed;'}, 'embed'],
-    ['span', {'style': 'unicode-bidi: -webkit-isolate;'}, '-webkit-isolate'],
+    ['span', {'style': 'unicode-bidi: isolate;'}, 'isolate'],
     ['span', {'style': 'unicode-bidi: bidi-override;'}, 'bidi-override'],
-    ['span', {'style': 'unicode-bidi: -webkit-plaintext;'}, '-webkit-plaintext'],
+    ['span', {'style': 'unicode-bidi: plaintext;'}, 'plaintext'],
     ['span', {'style': 'unicode-bidi: bad-value;'}, 'normal'],
     ['span', {'style': 'unicode-bidi: embed embed;'}, 'normal'],
     ['span', {'style': 'unicode-bidi: embed -webkit-plain-text;'}, 'normal'],
-    ['span', {'style': 'unicode-bidi: bidi-override -webkit-isolate;'}, 'normal'],
-    ['span', {'style': 'unicode-bidi: -webkit-isolate bidi-override;'}, 'normal'],
-    ['span', {'style': 'unicode-bidi: -webkit-isolate-override;'}, '-webkit-isolate-override'],
-    ['span', {'style': 'unicode-bidi: bidi-override -webkit-isolate bidi-override;'}, 'normal'],
-    ['span', {'style': 'unicode-bidi: bidi-override -webkit-isolate -webkit-isolate;'}, 'normal'],
+    ['span', {'style': 'unicode-bidi: bidi-override isolate;'}, 'normal'],
+    ['span', {'style': 'unicode-bidi: isolate bidi-override;'}, 'normal'],
+    ['span', {'style': 'unicode-bidi: isolate-override;'}, 'isolate-override'],
+    ['span', {'style': 'unicode-bidi: bidi-override isolate bidi-override;'}, 'normal'],
+    ['span', {'style': 'unicode-bidi: bidi-override isolate isolate;'}, 'normal'],
     ['span', {'style': 'unicode-bidi: bidi-override bad-value;'}, 'normal'],
     ['span', {'style': 'unicode-bidi: bidi-override embed;'}, 'normal'],
 ].forEach(function (test) {
diff --git a/LayoutTests/fast/text/bidi-unprefix-expected.txt b/LayoutTests/fast/text/bidi-unprefix-expected.txt
new file mode 100644 (file)
index 0000000..0e20641
--- /dev/null
@@ -0,0 +1,12 @@
+This test makes sure that getComputedStyle() returns the unprefixed bidi properties.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS window.getComputedStyle(document.getElementById('test1')).getPropertyValue('unicode-bidi') is "isolate"
+PASS window.getComputedStyle(document.getElementById('test2')).getPropertyValue('unicode-bidi') is "isolate-override"
+PASS window.getComputedStyle(document.getElementById('test3')).getPropertyValue('unicode-bidi') is "plaintext"
+PASS window.getComputedStyle(document.getElementById('test4')).getPropertyValue('unicode-bidi') is "isolate"
+PASS window.getComputedStyle(document.getElementById('test5')).getPropertyValue('unicode-bidi') is "isolate-override"
+PASS window.getComputedStyle(document.getElementById('test6')).getPropertyValue('unicode-bidi') is "plaintext"
+
diff --git a/LayoutTests/fast/text/bidi-unprefix.html b/LayoutTests/fast/text/bidi-unprefix.html
new file mode 100644 (file)
index 0000000..64b4811
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/js-test-pre.js"></script>
+</head>
+<body>
+<div id="test1" style="unicode-bidi: -webkit-isolate"></div>
+<div id="test2" style="unicode-bidi: -webkit-isolate-override"></div>
+<div id="test3" style="unicode-bidi: -webkit-plaintext"></div>
+<div id="test4" style="unicode-bidi: isolate"></div>
+<div id="test5" style="unicode-bidi: isolate-override"></div>
+<div id="test6" style="unicode-bidi: plaintext"></div>
+<script>
+description("This test makes sure that getComputedStyle() returns the unprefixed bidi properties.");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test1')).getPropertyValue('unicode-bidi')", "isolate");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test2')).getPropertyValue('unicode-bidi')", "isolate-override");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test3')).getPropertyValue('unicode-bidi')", "plaintext");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test4')).getPropertyValue('unicode-bidi')", "isolate");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test5')).getPropertyValue('unicode-bidi')", "isolate-override");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test6')).getPropertyValue('unicode-bidi')", "plaintext");
+</script>
+<script src="../../resources/js-test-pre.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-001-expected.html
new file mode 100644 (file)
index 0000000..f60e3d3
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi embed (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &lt; a &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &lt; a &gt;&#x202c;</div>
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-001.html
new file mode 100644 (file)
index 0000000..6053587
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi embed (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>a &gt; &#x5d0;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &lt; a &gt;&#x202c;</div>
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-002-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-002-expected.html
new file mode 100644 (file)
index 0000000..65546e2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi embed (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-002.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-002.html
new file mode 100644 (file)
index 0000000..70c8112
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi embed (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>&#x5d0; &gt; a</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-003-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-003-expected.html
new file mode 100644 (file)
index 0000000..743c715
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi embed (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &gt; a &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &gt; a &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-003.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-003.html
new file mode 100644 (file)
index 0000000..cf7c02e
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi embed (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>&#x5d0; &gt; a</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &gt; a &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-004-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-004-expected.html
new file mode 100644 (file)
index 0000000..ecbd797
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi embed (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-004.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-004.html
new file mode 100644 (file)
index 0000000..aea8819
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi embed (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>a &gt; &#x5d0;</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-005-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-005-expected.html
new file mode 100644 (file)
index 0000000..36638fc
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi embed, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-005.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d1; &lt; &#x5d0; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;d &lt; b &gt; c &lt; a&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d1; &lt; &#x5d0; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;d &lt; b &gt; c &lt; a&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-005.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-005.html
new file mode 100644 (file)
index 0000000..dd76632
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi embed, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-005.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="rtl">a > <span>&#x5d0; > &#x5d1;</span> > d</div>
+                  <div dir="rtl">a > <span>b > c</span> > d</div>
+                  </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d1; &lt; &#x5d0; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;d &lt; b &gt; c &lt; a&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-006-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-006-expected.html
new file mode 100644 (file)
index 0000000..480ca9c
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi embed, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-006.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d0; &gt; &#x5d2; &lt; &#x5d1; &gt; &#x5d3;&#x202c;</div>
+    </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d0; &gt; &#x5d2; &lt; &#x5d1; &gt; &#x5d3;&#x202c;</div>
+    </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-006.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-006.html
new file mode 100644 (file)
index 0000000..307a0ec
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi embed, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-006.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="ltr">&#x5d0; > <span>b > c</span> > &#x5d3;</div>
+                  <div dir="ltr"> &#x5d0; > <span>&#x5d1; > &#x5d2;</span> > &#x5d3;</div>
+                  </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d0; &gt; &#x5d2; &lt; &#x5d1; &gt; &#x5d3;&#x202c;</div>
+    </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-007-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-007-expected.html
new file mode 100644 (file)
index 0000000..36ff3a2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-007.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;3 &#x5d0;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;3 &#x5d0;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-007.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-007.html
new file mode 100644 (file)
index 0000000..f0a068a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-007.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> 3</div>
+
+
+<div class="ref" dir="ltr">&#x202d;3 &#x5d0;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-008-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-008-expected.html
new file mode 100644 (file)
index 0000000..10e6f0e
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-008.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;a 3&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-008.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-008.html
new file mode 100644 (file)
index 0000000..837b5bb
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-008.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> 3</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-009-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-009-expected.html
new file mode 100644 (file)
index 0000000..2b7faf2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-009.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;a &gt; b</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a &gt; b</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-009.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-009.html
new file mode 100644 (file)
index 0000000..65d315e
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-009.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> &gt; b</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a &gt; b</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-010-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-010-expected.html
new file mode 100644 (file)
index 0000000..3d1e227
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-010.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d1; &lt; &#x5d0;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d1; &lt; &#x5d0;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-010.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-010.html
new file mode 100644 (file)
index 0000000..a8cd157
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi embed, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-010.html'/>
+<meta name="assert" content='If unicode-bidi:embed is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> &gt; &#x5d1;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d1; &lt; &#x5d0;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-011-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-011-expected.html
new file mode 100644 (file)
index 0000000..ed86cfc
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, unicode-bidi embed</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-011.html'/>
+<meta name="assert" content='Directionality is not changed by the direction property on its own, but unicode-bidi: embed will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d3; &lt; b &gt; d &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d3; &lt; b &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-011.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-embed-011.html
new file mode 100644 (file)
index 0000000..7579692
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, unicode-bidi embed</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-011.html'/>
+<meta name="assert" content='Directionality is not changed by the direction property on its own, but unicode-bidi: embed will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: embed; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <b>a &gt; <span>b &gt; &#x5d3;</span> &gt; d</b> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d3; &lt; b &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-001-expected.html
new file mode 100644 (file)
index 0000000..9579670
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi isolate (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &lt; a &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &lt; a &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-001.html
new file mode 100644 (file)
index 0000000..e4cfe3b
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi isolate (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>a &gt; &#x5d0;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &lt; a &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-002-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-002-expected.html
new file mode 100644 (file)
index 0000000..f00560c
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi isolate (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-002.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-002.html
new file mode 100644 (file)
index 0000000..18ac397
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi isolate (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>&#x5d0; &gt; a</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-003-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-003-expected.html
new file mode 100644 (file)
index 0000000..1084bc0
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi isolate (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &gt; a &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &gt; a &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-003.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-003.html
new file mode 100644 (file)
index 0000000..3585ef4
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi isolate (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>&#x5d0; &gt; a</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &gt; a &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-004-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-004-expected.html
new file mode 100644 (file)
index 0000000..69d8573
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi isolate (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-004.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-004.html
new file mode 100644 (file)
index 0000000..46bc6b7
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi isolate (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate are applied to an inline element containing mixed direction text, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>a &gt; &#x5d0;</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-005-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-005-expected.html
new file mode 100644 (file)
index 0000000..858edfe
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi isolate, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-005.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-005.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-005.html
new file mode 100644 (file)
index 0000000..cebfc27
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi isolate, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-005.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="rtl">a > <span>&#x5d0; > &#x5d1;</span> > d</div>
+                  <div dir="rtl">a > <span>b > c</span> > d</div>
+                  </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-006-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-006-expected.html
new file mode 100644 (file)
index 0000000..c8bd812
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi isolate, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-006.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-006.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-006.html
new file mode 100644 (file)
index 0000000..b87167d
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi isolate, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-006.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="ltr">&#x5d0; > <span>b > c</span> > &#x5d3;</div>
+                  <div dir="ltr">&#x5d0; > <span>&#x5d1; > &#x5d2;</span> > &#x5d3;</div>
+                  </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-007-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-007-expected.html
new file mode 100644 (file)
index 0000000..853b463
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-007.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref">&#x202d;&#x5d0; 3&#x202c;</div>
+
+<div class="ref">&#x202d;&#x5d0; 3&#x202c;</div>
+
+
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-007.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-007.html
new file mode 100644 (file)
index 0000000..7fb7571
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-007.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> 3</div>
+
+<div class="ref">&#x202d;&#x5d0; 3&#x202c;</div>
+
+
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-008-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-008-expected.html
new file mode 100644 (file)
index 0000000..1fd1894
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-008.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;3 a&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;3 a&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-008.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-008.html
new file mode 100644 (file)
index 0000000..685fe07
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-008.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> 3</div>
+
+
+<div class="ref" dir="rtl">&#x202d;3 a&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-009-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-009-expected.html
new file mode 100644 (file)
index 0000000..8ff338d
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-009.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;b &lt; a</div>
+
+
+<div class="ref" dir="rtl">&#x202d;b &lt; a</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-009.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-009.html
new file mode 100644 (file)
index 0000000..b0638d6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-009.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> &gt; b</div>
+
+
+<div class="ref" dir="rtl">&#x202d;b &lt; a</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-010-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-010-expected.html
new file mode 100644 (file)
index 0000000..54b6090
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-010.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-010.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-010.html
new file mode 100644 (file)
index 0000000..95e18ef
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi isolate, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-010.html'/>
+<meta name="assert" content='If unicode-bidi:isolate is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> &gt; &#x5d1;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-011-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-011-expected.html
new file mode 100644 (file)
index 0000000..42bf76f
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, unicode-bidi embed</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-011.html'/>
+<meta name="assert" content='Directionality is not changed by the direction property on its own, but unicode-bidi: isolate will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d3; &lt; b &gt; d &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d3; &lt; b &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-011.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-011.html
new file mode 100644 (file)
index 0000000..d125bb4
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, unicode-bidi embed</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-011.html'/>
+<meta name="assert" content='Directionality is not changed by the direction property on its own, but unicode-bidi: isolate will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: isolate; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <b>a &gt; <span>b &gt; &#x5d3;</span> &gt; d</b> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d3; &lt; b &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-001-expected.html
new file mode 100644 (file)
index 0000000..1f15cf0
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, isolate-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &lt; dcba &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &lt; dcba &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-001.html
new file mode 100644 (file)
index 0000000..59463f7
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, isolate-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &lt; dcba &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-002-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-002-expected.html
new file mode 100644 (file)
index 0000000..cc4bac2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, isolate-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; dcba &lt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; dcba &lt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-002.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-002.html
new file mode 100644 (file)
index 0000000..be2ba9f
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, isolate-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; dcba &lt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-003-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-003-expected.html
new file mode 100644 (file)
index 0000000..3d6a171
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, isolate-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-003.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-003.html
new file mode 100644 (file)
index 0000000..d82caaa
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, isolate-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-004-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-004-expected.html
new file mode 100644 (file)
index 0000000..d782271
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, isolate-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-004.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-004.html
new file mode 100644 (file)
index 0000000..0562892
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, isolate-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:isolate-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-005-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-005-expected.html
new file mode 100644 (file)
index 0000000..b87bf95
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with isolate-override, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-005.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d2; &lt; &#x5d1; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; c &lt; b &gt; d&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d2; &lt; &#x5d1; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; c &lt; b &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-005.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-005.html
new file mode 100644 (file)
index 0000000..d1b08a1
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with isolate-override, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-005.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="rtl">a > <span>&#x5d1; > &#x5d2;</span> > d</div>
+                  <div dir="rtl">a > <span>b > c</span> > d</div>
+                  </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d2; &lt; &#x5d1; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; c &lt; b &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-006-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-006-expected.html
new file mode 100644 (file)
index 0000000..0b4f0bd
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with isolate-override, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-006.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d1; &gt; &#x5d2; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d1; &gt; &#x5d2; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-006.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-006.html
new file mode 100644 (file)
index 0000000..e7479e2
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with isolate-override, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-006.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="ltr">&#x5d0; > <span>b > c</span> > &#x5d3;</div>
+                  <div dir="ltr"> &#x5d0; > <span>&#x5d1; > &#x5d2;</span> > &#x5d3;</div>
+                  </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d1; &gt; &#x5d2; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-007-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-007-expected.html
new file mode 100644 (file)
index 0000000..6aea4d6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-007.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d3;&#x5d2;&#x5d1;&#x5d0; 3&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d3;&#x5d2;&#x5d1;&#x5d0; 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-007.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-007.html
new file mode 100644 (file)
index 0000000..7e9833a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-007.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> 3</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d3;&#x5d2;&#x5d1;&#x5d0; 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-008-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-008-expected.html
new file mode 100644 (file)
index 0000000..ff27d87
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-008.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;3 abcd&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;3 abcd&#x202c;</div>
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-008.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-008.html
new file mode 100644 (file)
index 0000000..9201df8
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-008.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>abcd</span> 3</div>
+
+
+<div class="ref" dir="rtl">&#x202d;3 abcd&#x202c;</div>
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-009-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-009-expected.html
new file mode 100644 (file)
index 0000000..4422701
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-009.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;e &lt; abcd&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;e &lt; abcd&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-009.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-009.html
new file mode 100644 (file)
index 0000000..a0d212b
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-009.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>abcd</span> &gt; e</div>
+
+
+<div class="ref" dir="rtl">&#x202d;e &lt; abcd&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-010-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-010-expected.html
new file mode 100644 (file)
index 0000000..9b4ae1c
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-010.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt; &#x5d4;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt; &#x5d4;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-010.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-010.html
new file mode 100644 (file)
index 0000000..4432342
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and isolate-override, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-010.html'/>
+<meta name="assert" content='If unicode-bidi:isolate-override is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt; &#x5d4;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt; &#x5d4;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-011-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-011-expected.html
new file mode 100644 (file)
index 0000000..cf338ff
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, isolate-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-011.html'/>
+<meta name="assert" content='unicode-bidi: isolate-override will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d2;&#x5d1; &lt; cb &gt; d &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d2;&#x5d1; &lt; cb &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-011.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-011.html
new file mode 100644 (file)
index 0000000..e7d255a
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, isolate-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-011.html'/>
+<meta name="assert" content='unicode-bidi: isolate-override will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <b>a &gt; <span>bc &gt; &#x5d1;&#x5d2;</span> &gt; d</b> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d2;&#x5d1; &lt; cb &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-012-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-012-expected.html
new file mode 100644 (file)
index 0000000..1eb4766
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: default direction, isolate-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-012.html'/>
+<meta name="assert" content='unicode-bidi: When no direction is set, isolate-override will apply ltr ordering to text within its scope.'/>
+<style type="text/css">
+.test span { unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-012.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-isolate-override-012.html
new file mode 100644 (file)
index 0000000..378668f
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: default direction, isolate-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-isolate-override-012.html'/>
+<meta name="assert" content='unicode-bidi: When no direction is set, isolate-override will apply ltr ordering to text within its scope.'/>
+<style type="text/css">
+.test span { unicode-bidi: isolate-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-isolate-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <span>abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-001-expected.html
new file mode 100644 (file)
index 0000000..fc55e8b
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi normal (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d0; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-001.html
new file mode 100644 (file)
index 0000000..b30ce42
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi normal (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>a &gt; &#x5d0;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-002-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-002-expected.html
new file mode 100644 (file)
index 0000000..2a0bed6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi normal (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &gt; a &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &gt; a &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-002.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-002.html
new file mode 100644 (file)
index 0000000..687e8a6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi normal (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in rtl order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>&#x5d0; &gt; a</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d0; &gt; a &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-003-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-003-expected.html
new file mode 100644 (file)
index 0000000..b7d47eb
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi normal (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &lt; &#x5d0; &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &lt; &#x5d0; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-003.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-003.html
new file mode 100644 (file)
index 0000000..74b7f31
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi normal (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>&#x5d0; &gt; a</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &lt; &#x5d0; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-004-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-004-expected.html
new file mode 100644 (file)
index 0000000..cf7f0c7
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi normal (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &lt; a &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &lt; a &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-004.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-004.html
new file mode 100644 (file)
index 0000000..0e77cb0
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, unicode-bidi normal (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:normal are applied to an inline element containing mixed direction text, the text in that element will NOT be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>a &gt; &#x5d0;</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0; &lt; a &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-005-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-005-expected.html
new file mode 100644 (file)
index 0000000..8a510db
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi normal, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-005.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, that element will NOT interact with the surrounding text like a strong or neutral directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d1; &lt; &#x5d0; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d1; &lt; &#x5d0; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-005.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-005.html
new file mode 100644 (file)
index 0000000..6d73fab
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi normal, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-005.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, that element will NOT interact with the surrounding text like a strong or neutral directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="rtl">a > <span>&#x5d0; > &#x5d1;</span> > d</div>
+                  <div dir="rtl">a > <span>b > c</span> > d</div>
+                  </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d1; &lt; &#x5d0; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-006-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-006-expected.html
new file mode 100644 (file)
index 0000000..cc3829d
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi normal, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-006.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, that element will NOT interact with the surrounding text like a strong or neutral directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+    </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+    </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-006.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-006.html
new file mode 100644 (file)
index 0000000..df9f631
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi normal, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-006.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, that element will NOT interact with the surrounding text like a strong or neutral directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="ltr">&#x5d0; > <span>b > c</span> > &#x5d3;</div>
+                  <div dir="ltr"> &#x5d0; > <span>&#x5d1; > &#x5d2;</span> > &#x5d3;</div>
+                  </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+    </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-007-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-007-expected.html
new file mode 100644 (file)
index 0000000..37e96b3
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-007.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;3 &#x5d0;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;3 &#x5d0;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-007.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-007.html
new file mode 100644 (file)
index 0000000..cbdf877
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-007.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> 3</div>
+
+
+<div class="ref" dir="ltr">&#x202d;3 &#x5d0;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-008-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-008-expected.html
new file mode 100644 (file)
index 0000000..8c20175
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-008.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;a 3&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-008.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-008.html
new file mode 100644 (file)
index 0000000..dc1916e
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-008.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> 3</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-009-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-009-expected.html
new file mode 100644 (file)
index 0000000..d0adcb9
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-009.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;a &gt; b</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a &gt; b</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-009.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-009.html
new file mode 100644 (file)
index 0000000..12e433a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-009.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> &gt; b</div>
+
+
+<div class="ref" dir="rtl">&#x202d;a &gt; b</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-010-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-010-expected.html
new file mode 100644 (file)
index 0000000..0900a68
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-010.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d1; &lt; &#x5d0;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d1; &lt; &#x5d0;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-010.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-010.html
new file mode 100644 (file)
index 0000000..7def75c
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and unicode-bidi normal, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-normal-010.html'/>
+<meta name="assert" content='If unicode-bidi:normal is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> &gt; &#x5d1;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d1; &lt; &#x5d0;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-011-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-011-expected.html
new file mode 100644 (file)
index 0000000..2856ea7
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, unicode-bidi normal</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-011.html'/>
+<meta name="assert" content='Directionality is not changed by the direction property on its own, nor by unicode-bidi:normal set on a lower level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; b &gt; &#x5d3; &gt; d &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; b &gt; &#x5d3; &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-011.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-normal-011.html
new file mode 100644 (file)
index 0000000..5b11187
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, unicode-bidi normal</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-embed-011.html'/>
+<meta name="assert" content='Directionality is not changed by the direction property on its own, nor by unicode-bidi:normal set on a lower level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: normal; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <b>a &gt; <span>b &gt; &#x5d3;</span> &gt; d</b> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; b &gt; &#x5d3; &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-001-expected.html
new file mode 100644 (file)
index 0000000..1f28334
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, bidi-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &lt; dcba &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &lt; dcba &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-001.html
new file mode 100644 (file)
index 0000000..142d18b
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, bidi-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-001.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &lt; dcba &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-002-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-002-expected.html
new file mode 100644 (file)
index 0000000..666f25a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, bidi-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; dcba &lt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; dcba &lt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-002.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-002.html
new file mode 100644 (file)
index 0000000..9d82deb
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, bidi-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-002.html'/>
+<meta name="assert" content='In a ltr context, if direction:rtl and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in rtl order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; dcba &lt; &#x5d3;&#x5d2;&#x5d1;&#x5d0; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-003-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-003-expected.html
new file mode 100644 (file)
index 0000000..bce1019
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, bidi-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-003.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-003.html
new file mode 100644 (file)
index 0000000..1efd3a9
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, bidi-override (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-003.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; abcd &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-004-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-004-expected.html
new file mode 100644 (file)
index 0000000..6d927f3
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, bidi-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-004.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-004.html
new file mode 100644 (file)
index 0000000..eac9812
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction ltr, bidi-override (2)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-004.html'/>
+<meta name="assert" content='In a rtl context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will all be displayed in ltr order, ignoring the bidi algorithm.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-005-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-005-expected.html
new file mode 100644 (file)
index 0000000..1316566
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with bidi-override, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-005.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d2; &lt; &#x5d1; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;d &lt; c &lt; b &lt; a&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d2; &lt; &#x5d1; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;d &lt; c &lt; b &lt; a&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-005.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-005.html
new file mode 100644 (file)
index 0000000..427705d
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with bidi-override, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-005.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="rtl">a > <span>&#x5d1; > &#x5d2;</span> > d</div>
+                  <div dir="rtl">a > <span>b > c</span> > d</div>
+                  </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;d &lt; &#x5d2; &lt; &#x5d1; &lt; a&#x202c;</div>
+            <div dir="rtl">&#x202d;d &lt; c &lt; b &lt; a&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-006-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-006-expected.html
new file mode 100644 (file)
index 0000000..223604a
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with bidi-override, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-006.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1; &gt; &#x5d2; &gt; &#x5d3;&#x202c;</div>
+    </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1; &gt; &#x5d2; &gt; &#x5d3;&#x202c;</div>
+    </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-006.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-006.html
new file mode 100644 (file)
index 0000000..382ee64
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with bidi-override, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-006.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, that element will interact with the surrounding text like a strongly directional character.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="ltr">&#x5d0; > <span>b > c</span> > &#x5d3;</div>
+                  <div dir="ltr"> &#x5d0; > <span>&#x5d1; > &#x5d2;</span> > &#x5d3;</div>
+                  </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d0; &gt; b &gt; c &gt; &#x5d3;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1; &gt; &#x5d2; &gt; &#x5d3;&#x202c;</div>
+    </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-007-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-007-expected.html
new file mode 100644 (file)
index 0000000..14296bf
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-007.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;3 dcba&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;3 dcba&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-007.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-007.html
new file mode 100644 (file)
index 0000000..19e985a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-007.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>abcd</span> 3</div>
+
+
+<div class="ref" dir="ltr">&#x202d;3 dcba&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-008-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-008-expected.html
new file mode 100644 (file)
index 0000000..dc7b2ee
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-008.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&#x5d0;&#x5d1;&#x5d2;&#x5d3; 3&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&#x5d0;&#x5d1;&#x5d2;&#x5d3; 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-008.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-008.html
new file mode 100644 (file)
index 0000000..4b28139
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-008.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>&#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> 3</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&#x5d0;&#x5d1;&#x5d2;&#x5d3; 3&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-009-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-009-expected.html
new file mode 100644 (file)
index 0000000..853a2df
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-009.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; e&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; e&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-009.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-009.html
new file mode 100644 (file)
index 0000000..cf0a257
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-009.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: ltr; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>&#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt; e</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt; e&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-010-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-010-expected.html
new file mode 100644 (file)
index 0000000..3751fb8
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-010.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d4; &lt; dcba&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d4; &lt; dcba&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-010.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-010.html
new file mode 100644 (file)
index 0000000..220b997
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element isolation and bidi-override, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-010.html'/>
+<meta name="assert" content='If unicode-bidi:bidi-override is applied to an inline element, the text in that element will NOT be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>abcd</span> &gt; &#x5d4;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d4; &lt; dcba&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-011-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-011-expected.html
new file mode 100644 (file)
index 0000000..96b80b9
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, bidi-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-011.html'/>
+<meta name="assert" content='unicode-bidi: bidi-override will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d2;&#x5d1; &lt; cb &gt; d &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d2;&#x5d1; &lt; cb &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-011.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-011.html
new file mode 100644 (file)
index 0000000..c74b23e
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: direction alone and inherited, bidi-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-011.html'/>
+<meta name="assert" content='unicode-bidi: bidi-override will apply direction declared on a higher level element.'/>
+<style type="text/css">
+.test b { direction: rtl; font-weight: normal; }
+.test span { unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <b>a &gt; <span>bc &gt; &#x5d1;&#x5d2;</span> &gt; d</b> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; a &gt; &#x5d2;&#x5d1; &lt; cb &gt; d &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-012-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-012-expected.html
new file mode 100644 (file)
index 0000000..2e21827
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: default direction, bidi-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-012.html'/>
+<meta name="assert" content='unicode-bidi: When no direction is set, bidi-override will apply ltr ordering to text within its scope.'/>
+<style type="text/css">
+.test span { unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt;&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-override-012.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-override-012.html
new file mode 100644 (file)
index 0000000..06e7932
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: default direction, bidi-override</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-override-012.html'/>
+<meta name="assert" content='unicode-bidi: When no direction is set, bidi-override will apply ltr ordering to text within its scope.'/>
+<style type="text/css">
+.test span { unicode-bidi: bidi-override; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 15em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test">&gt; <span>abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3;</span> &gt;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; abcd &gt; &#x5d0;&#x5d1;&#x5d2;&#x5d3; &gt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-001-expected.html
new file mode 100644 (file)
index 0000000..1e5c681
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: span unicode-bidi plaintext, rtl (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-001.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element containing mixed direction text with a first strong directional character that is rtl, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d2; &lt; b &lt; &#x5d0; &gt;&#x202c;</div>
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d2; &lt; b &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-001.html
new file mode 100644 (file)
index 0000000..0b98ce0
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: span unicode-bidi plaintext, rtl (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-001.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element containing mixed direction text with a first strong directional character that is rtl, the text in that element will be displayed in rtl order.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr">&gt; <span>&#x5d0; &gt; b &gt; &#x5d2;</span> &gt;</div>
+
+<div class="ref" dir="ltr">&#x202d;&gt; &#x5d2; &lt; b &lt; &#x5d0; &gt;&#x202c;</div>
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-003-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-003-expected.html
new file mode 100644 (file)
index 0000000..0233ace
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: span unicode-bidi plaintext, ltr (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-003.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element containing mixed direction text with a first strong directional character that is ltr, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &gt; c &lt;&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &gt; c &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-003.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-003.html
new file mode 100644 (file)
index 0000000..4b8cd80
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: span unicode-bidi plaintext, ltr (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-003.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element containing mixed direction text with a first strong directional character that is ltr, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>a &gt; &#x5d0; &gt; c</span> &gt;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; a &gt; &#x5d0; &gt; c &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-005-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-005-expected.html
new file mode 100644 (file)
index 0000000..a3783e2
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element as directional character with unicode-bidi plaintext, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-005.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-005.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-005.html
new file mode 100644 (file)
index 0000000..0df2b53
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element as directional character with unicode-bidi plaintext, rtl</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-005.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="rtl">a > <span>&#x5d0; > &#x5d1;</span> > d</div>
+                  <div dir="rtl">a > <span>b > c</span> > d</div>
+                  </div>
+
+
+<div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
+            <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-006-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-006-expected.html
new file mode 100644 (file)
index 0000000..8e67f53
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi plaintext, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-006.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-006.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-006.html
new file mode 100644 (file)
index 0000000..ecc1b00
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: element as directional character with unicode-bidi plaintext, ltr</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-006.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, that element will interact with the surrounding text like a neutral directional character.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test"><div dir="ltr">&#x5d0; > <span>b > c</span> > &#x5d3;</div>
+                  <div dir="ltr">&#x5d0; > <span>&#x5d1; > &#x5d2;</span> > &#x5d3;</div>
+                  </div>
+
+
+<div class="ref"><div dir="ltr">&#x202d;&#x5d3; &lt; b &gt; c &lt; &#x5d0;&#x202c;</div>
+            <div dir="ltr">&#x202d;&#x5d3; &lt; &#x5d2; &lt; &#x5d1; &lt; &#x5d0;&#x202c;</div>
+            </div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-007-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-007-expected.html
new file mode 100644 (file)
index 0000000..f37691f
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-007.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
+
+
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-007.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-007.html
new file mode 100644 (file)
index 0000000..b7f8ceb
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, rtl + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-007.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> 3</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
+
+
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-008-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-008-expected.html
new file mode 100644 (file)
index 0000000..3df2f84
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-008.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;3 a&#x202c;</div>
+
+
+<div class="ref" dir="rtl">&#x202d;3 a&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-008.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-008.html
new file mode 100644 (file)
index 0000000..8d88721
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, ltr + number</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-008.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from surrounding text.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> 3</div>
+
+
+<div class="ref" dir="rtl">&#x202d;3 a&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-009-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-009-expected.html
new file mode 100644 (file)
index 0000000..ea4f7d5
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-009.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;b &lt; a</div>
+
+
+<div class="ref" dir="rtl">&#x202d;b &lt; a</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-009.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-009.html
new file mode 100644 (file)
index 0000000..42ffbc8
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, rtl list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-009.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl"><span>a</span> &gt; b</div>
+
+
+<div class="ref" dir="rtl">&#x202d;b &lt; a</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-010-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-010-expected.html
new file mode 100644 (file)
index 0000000..b91cbc6
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-010.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-010.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-010.html
new file mode 100644 (file)
index 0000000..8f7d445
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>unicode-bidi: element isolation and unicode-bidi plaintext, ltr list</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-010.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element, the text in that element WILL be directionally isolated from following content.'/>
+<style type="text/css">
+.test span { unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="ltr"><span>&#x5d0;</span> &gt; &#x5d1;</div>
+
+
+<div class="ref" dir="ltr">&#x202d;&#x5d0; &gt; &#x5d1;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-011-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-011-expected.html
new file mode 100644 (file)
index 0000000..66be750
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span unicode-bidi plaintext, no strong (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-002.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element containing mixed direction text with no strong directional character, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="ref" dir="rtl">&#x202d;&lt; &gt; &gt; &lt;&#x202c;</div>
+
+<div class="ref" dir="rtl">&#x202d;&lt; &gt; &gt; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-011.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-plaintext-011.html
new file mode 100644 (file)
index 0000000..6eb31b3
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span unicode-bidi plaintext, no strong (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-plaintext-002.html'/>
+<meta name="assert" content='If unicode-bidi:plaintext is applied to an inline element containing mixed direction text with no strong directional character, the text in that element will be displayed in ltr order.'/>
+<style type="text/css">
+.test span { direction: rtl; unicode-bidi: plaintext; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+-->
+
+
+
+<div class="test" dir="rtl">&gt; <span>&gt; &gt;</span> &gt;</div>
+
+<div class="ref" dir="rtl">&#x202d;&lt; &gt; &gt; &lt;&#x202c;</div>
+
+
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-table-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-table-001-expected.html
new file mode 100644 (file)
index 0000000..45f3a15
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction: table columns</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<meta name="assert" content='If direction is applied to the ancestor of a table element, columns will be displayed in that direction.'/>
+<style type="text/css">
+.test { direction: rtl; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if you see two lines reading c b a.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+
+The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
+-->
+
+
+<div class="test">
+<table><tbody>
+<tr><td>a</td><td>b</td><td>c</td></tr>
+<tr><td>a</td><td>b</td><td>c</td></tr>
+</tbody></table>
+</div>
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-table-001.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-table-001.html
new file mode 100644 (file)
index 0000000..45f3a15
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction: table columns</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<meta name="assert" content='If direction is applied to the ancestor of a table element, columns will be displayed in that direction.'/>
+<style type="text/css">
+.test { direction: rtl; }
+
+ /* the following styles are not part of the test */
+.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
+input { margin: 5px; }
+@font-face {
+    font-family: 'ezra_silregular';
+    src: url('resources/sileot-webfont.woff') format('woff');
+    font-weight: normal;
+    font-style: normal;
+    }
+.test, .ref { font-family: ezra_silregular, serif; }
+</style>
+</head>
+<body>
+<p class="instructions" dir="ltr">Test passes if you see two lines reading c b a.</p>
+
+
+<!--Notes:
+Key to entities used below:
+        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
+        &#x202d; - The LRO (left-to-right-override) formatting character.
+        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
+
+The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
+-->
+
+
+<div class="test">
+<table><tbody>
+<tr><td>a</td><td>b</td><td>c</td></tr>
+<tr><td>a</td><td>b</td><td>c</td></tr>
+</tbody></table>
+</div>
+
+
+
+
+</body></html>
diff --git a/LayoutTests/imported/w3c/i18n/bidi/bidi-unset-001-expected.html b/LayoutTests/imported/w3c/i18n/bidi/bidi-unset-001-expected.html
new file mode 100644 (file)
index 0000000..e8cc493
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8"/>
+<title>direction/unicode-bidi: span direction rtl, unicode-bidi unset (1)</title>
+
+<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
+<link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction'/>
+<link rel="match" href='reference/bidi-norm