summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/WOFF2
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/WOFF2')
-rw-r--r--testing/web-platform/tests/css/WOFF2/META.yml3
-rw-r--r--testing/web-platform/tests/css/WOFF2/available-001.xht32
-rw-r--r--testing/web-platform/tests/css/WOFF2/available-002.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-overlap-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-overlap-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-overlap-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-overlap-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-overlap-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/blocks-overlap-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/directory-knowntags-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/directory-knowntags-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-length-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-length-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-length-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-length-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-numTables-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-numTables-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-reserved-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-reserved-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-signature-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-signature-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadata-noeffect-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadata-noeffect-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadata-noeffect-002-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadata-noeffect-002.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001-ref.xht65
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001.xht70
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018-ref.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001-ref.xht42
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002-ref.xht43
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002.xht48
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020-ref.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002-ref.xht53
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002.xht58
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004-ref.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007-ref.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007.xht55
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022-ref.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022.xht55
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048-ref.xht46
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048.xht51
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021-ref.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005-ref.xht47
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005.xht52
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018-ref.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018.xht50
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026-ref.xht54
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026.xht59
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030-ref.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030.xht49
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002-ref.xht39
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003-ref.xht39
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003.xht44
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009-ref.xht40
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009.xht45
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007-ref.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007.xht38
-rw-r--r--testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Fallback.otfbin0 -> 1956 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Reference.otfbin0 -> 1968 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Fallback.ttfbin0 -> 3720 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Reference.ttfbin0 -> 3732 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/available-001a.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/available-001b.xht32
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/available-002.woff2bin0 -> 1868 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/available-002a.xht34
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/available-002b.xht33
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-001.woff2bin0 -> 984 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-002.woff2bin0 -> 984 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-003.woff2bin0 -> 984 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-004.woff2bin0 -> 1430 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-005.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-006.woff2bin0 -> 1532 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-007.woff2bin0 -> 1430 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-008.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-overlap-001.woff2bin0 -> 1420 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-overlap-002.woff2bin0 -> 1074 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/blocks-overlap-003.woff2bin0 -> 1524 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/datatypes-alt-255uint16-001.woff2bin0 -> 1540 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-001.woff2bin0 -> 1516 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-002.woff2bin0 -> 1516 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-003.woff2bin0 -> 1520 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/directory-knowntags-001.woff2bin0 -> 1504 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/directory-mismatched-tables-001.woff2bin0 -> 1616 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-length-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-length-002.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-numTables-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-reserved-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-signature-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-002.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/index.css104
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-002.woff2bin0 -> 1426 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-authoritative-001.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-001.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-002.woff2bin0 -> 1097 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-003.woff2bin0 -> 1076 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-004.woff2bin0 -> 1070 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-005.woff2bin0 -> 1078 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-006.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-001.woff2bin0 -> 1072 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-002.woff2bin0 -> 1069 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-003.woff2bin0 -> 1076 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-004.woff2bin0 -> 1082 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-005.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-006.woff2bin0 -> 1070 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-007.woff2bin0 -> 1046 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-008.woff2bin0 -> 1078 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-009.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-010.woff2bin0 -> 1073 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-011.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-012.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-013.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-014.woff2bin0 -> 1082 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-015.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-016.woff2bin0 -> 1090 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-017.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-018.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-019.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-020.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-021.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-022.woff2bin0 -> 1091 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-023.woff2bin0 -> 1087 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-024.woff2bin0 -> 1076 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-025.woff2bin0 -> 1088 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-026.woff2bin0 -> 1098 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-027.woff2bin0 -> 1078 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-028.woff2bin0 -> 1082 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-029.woff2bin0 -> 1087 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-030.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-001.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-002.woff2bin0 -> 1075 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-003.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-004.woff2bin0 -> 1090 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-005.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-006.woff2bin0 -> 1098 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-007.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-008.woff2bin0 -> 1100 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-009.woff2bin0 -> 1102 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-010.woff2bin0 -> 1114 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-011.woff2bin0 -> 1100 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-001.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-002.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-003.woff2bin0 -> 1046 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-004.woff2bin0 -> 1107 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-005.woff2bin0 -> 1108 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-006.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-007.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-001.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-002.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-003.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-004.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-005.woff2bin0 -> 1091 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-006.woff2bin0 -> 1102 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-007.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-008.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-009.woff2bin0 -> 1078 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-010.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-011.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-012.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-013.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-014.woff2bin0 -> 1098 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-015.woff2bin0 -> 1096 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-016.woff2bin0 -> 1096 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-017.woff2bin0 -> 1112 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-018.woff2bin0 -> 1109 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-019.woff2bin0 -> 1097 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-020.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-021.woff2bin0 -> 1111 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-022.woff2bin0 -> 1098 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-023.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-024.woff2bin0 -> 1109 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-025.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-026.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-027.woff2bin0 -> 1111 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-028.woff2bin0 -> 1113 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-029.woff2bin0 -> 1097 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-030.woff2bin0 -> 1098 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-031.woff2bin0 -> 1105 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-032.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-001.woff2bin0 -> 1109 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-002.woff2bin0 -> 1131 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-003.woff2bin0 -> 1112 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-004.woff2bin0 -> 1107 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-005.woff2bin0 -> 1132 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-006.woff2bin0 -> 1138 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-007.woff2bin0 -> 1120 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-008.woff2bin0 -> 1076 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-009.woff2bin0 -> 1135 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-010.woff2bin0 -> 1125 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-011.woff2bin0 -> 1122 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-012.woff2bin0 -> 1117 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-013.woff2bin0 -> 1131 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-014.woff2bin0 -> 1125 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-015.woff2bin0 -> 1120 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-016.woff2bin0 -> 1128 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-017.woff2bin0 -> 1126 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-018.woff2bin0 -> 1124 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-019.woff2bin0 -> 1124 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-020.woff2bin0 -> 1134 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-021.woff2bin0 -> 1117 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-022.woff2bin0 -> 1155 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-023.woff2bin0 -> 1111 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-024.woff2bin0 -> 1134 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-025.woff2bin0 -> 1140 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-026.woff2bin0 -> 1132 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-027.woff2bin0 -> 1140 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-028.woff2bin0 -> 1105 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-029.woff2bin0 -> 1106 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-030.woff2bin0 -> 1134 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-031.woff2bin0 -> 1125 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-032.woff2bin0 -> 1133 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-033.woff2bin0 -> 1117 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-034.woff2bin0 -> 1130 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-035.woff2bin0 -> 1118 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-036.woff2bin0 -> 1115 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-037.woff2bin0 -> 1125 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-038.woff2bin0 -> 1121 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-039.woff2bin0 -> 1124 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-040.woff2bin0 -> 1134 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-041.woff2bin0 -> 1133 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-042.woff2bin0 -> 1117 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-043.woff2bin0 -> 1131 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-044.woff2bin0 -> 1125 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-045.woff2bin0 -> 1113 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-046.woff2bin0 -> 1122 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-047.woff2bin0 -> 1118 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-048.woff2bin0 -> 1123 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-049.woff2bin0 -> 1131 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-050.woff2bin0 -> 1127 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-001.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-002.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-003.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-004.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-005.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-006.woff2bin0 -> 1096 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-007.woff2bin0 -> 1107 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-008.woff2bin0 -> 1109 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-009.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-010.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-011.woff2bin0 -> 1109 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-012.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-013.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-014.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-015.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-016.woff2bin0 -> 1098 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-017.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-018.woff2bin0 -> 1108 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-019.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-020.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-021.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-022.woff2bin0 -> 1111 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-023.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-024.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-025.woff2bin0 -> 1109 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-026.woff2bin0 -> 1103 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-027.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-028.woff2bin0 -> 1104 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-029.woff2bin0 -> 1114 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-030.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-031.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-032.woff2bin0 -> 1099 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-033.woff2bin0 -> 1101 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-001.woff2bin0 -> 1056 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-002.woff2bin0 -> 1059 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-003.woff2bin0 -> 1048 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-004.woff2bin0 -> 1066 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-005.woff2bin0 -> 1072 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-006.woff2bin0 -> 1071 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-007.woff2bin0 -> 1076 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-008.woff2bin0 -> 1078 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-009.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-010.woff2bin0 -> 1074 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-001.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-002.woff2bin0 -> 1081 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-003.woff2bin0 -> 1065 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-004.woff2bin0 -> 1081 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-005.woff2bin0 -> 1087 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-006.woff2bin0 -> 1060 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-001.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-002.woff2bin0 -> 1074 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-003.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-004.woff2bin0 -> 1087 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-005.woff2bin0 -> 1078 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-006.woff2bin0 -> 1071 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-007.woff2bin0 -> 1048 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-008.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-009.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-010.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-011.woff2bin0 -> 1079 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-012.woff2bin0 -> 1087 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-013.woff2bin0 -> 1091 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-014.woff2bin0 -> 1084 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-015.woff2bin0 -> 1085 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-016.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-017.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-018.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-019.woff2bin0 -> 1096 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-020.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-021.woff2bin0 -> 1092 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-022.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-023.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-024.woff2bin0 -> 1079 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-025.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-026.woff2bin0 -> 1100 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-027.woff2bin0 -> 1079 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-028.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-029.woff2bin0 -> 1085 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-030.woff2bin0 -> 1082 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-001.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-002.woff2bin0 -> 1033 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-003.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-005.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-006.woff2bin0 -> 1093 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-007.woff2bin0 -> 1077 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-001.woff2bin0 -> 1082 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-002.woff2bin0 -> 1057 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-003.woff2bin0 -> 1033 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-004.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-006.woff2bin0 -> 1083 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-007.woff2bin0 -> 1086 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-008.woff2bin0 -> 1081 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-009.woff2bin0 -> 1090 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-010.woff2bin0 -> 1087 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-011.woff2bin0 -> 1094 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-012.woff2bin0 -> 1089 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-001.woff2bin0 -> 1074 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-002.woff2bin0 -> 1074 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-003.woff2bin0 -> 1071 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-004.woff2bin0 -> 1065 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-005.woff2bin0 -> 1068 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-006.woff2bin0 -> 1061 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-007.woff2bin0 -> 1091 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-002.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-001.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-002.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-brotli-001.woff2bin0 -> 1068 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-002.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-003.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-004.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-extraneous-data-001.woff2bin0 -> 984 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-002.woff2bin0 -> 1576 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-003.woff2bin0 -> 1480 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-001.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-002.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-003.woff2bin0 -> 1496 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-non-zero-loca-001.woff2bin0 -> 1500 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-recontruct-loca-001.woff2bin0 -> 1616 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-002.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-001.woff2bin0 -> 1544 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-002.woff2bin0 -> 1544 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-003.woff2bin0 -> 1512 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-004.woff2bin0 -> 1508 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/test-fonts.css19
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-001.woff2bin0 -> 980 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-002.woff2bin0 -> 1426 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-003.woff2bin0 -> 1080 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-004.woff2bin0 -> 1528 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-005.woff2bin0 -> 1544 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-006.woff2bin0 -> 1544 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-007.woff2bin0 -> 1544 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/support/valid-008.woff2bin0 -> 1544 bytes
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-brotli-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-brotli-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004-ref.xht31
-rw-r--r--testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004.xht36
-rw-r--r--testing/web-platform/tests/css/WOFF2/testcaseindex.xht4831
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-001-ref.xht32
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-001.xht37
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-002-ref.xht140
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-002.xht145
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-003-ref.xht32
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-003.xht37
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-004-ref.xht140
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-004.xht145
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-005-ref.xht32
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-005.xht37
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-006-ref.xht140
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-006.xht145
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-007-ref.xht32
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-007.xht37
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-008-ref.xht140
-rw-r--r--testing/web-platform/tests/css/WOFF2/valid-008.xht145
909 files changed, 30367 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/WOFF2/META.yml b/testing/web-platform/tests/css/WOFF2/META.yml
new file mode 100644
index 0000000000..3dd216ed9f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/META.yml
@@ -0,0 +1,3 @@
+spec: https://w3c.github.io/woff/woff2/
+suggested_reviewers:
+ - svgeesus
diff --git a/testing/web-platform/tests/css/WOFF2/available-001.xht b/testing/web-platform/tests/css/WOFF2/available-001.xht
new file mode 100644
index 0000000000..c93f013ddb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/available-001.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font access</title>
+ <link rel="author" title="Chris Lilley" href="http://www.w3.org/People" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#General" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-css3font-available" />
+ <meta name="assert" content="Linked fonts are only available to the documents that reference them." />
+ <style type="text/css"><![CDATA[
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ iframe {
+ width: 24em;
+ height: 300px;
+ border: thin solid green
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears <em>twice</em> below.</p>
+ <iframe src="support/available-001a.xht" />
+ <iframe src="support/available-001b.xht" />
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/available-002.xht b/testing/web-platform/tests/css/WOFF2/available-002.xht
new file mode 100644
index 0000000000..dd6e4d4bb9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/available-002.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font access</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustLoadFontCollection" />
+ <meta name="assert" content="Fonts must be loaded from font collections." />
+ <style type="text/css"><![CDATA[
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ iframe {
+ width: 24em;
+ height: 300px;
+ border: thin solid green
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears <em>twice</em> below, and the second one is condensed.</p>
+ <iframe src="support/available-002a.xht" />
+ <iframe src="support/available-002b.xht" />
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001-ref.xht
new file mode 100644
index 0000000000..3882858389
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Header and Directory</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes between the header and the table directory." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001.xht
new file mode 100644
index 0000000000..9897c475d5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Header and Directory</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-001-ref.xht" />
+ <meta name="assert" content="There are four null bytes between the header and the table directory." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002-ref.xht
new file mode 100644
index 0000000000..36088764ce
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Directory and Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes between the table directory and the table data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002.xht
new file mode 100644
index 0000000000..63a3c0b3b6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Directory and Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-002-ref.xht" />
+ <meta name="assert" content="There are four null bytes between the table directory and the table data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003-ref.xht
new file mode 100644
index 0000000000..ef3fe81feb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data After Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes after the table data block and there is no metadata or private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003.xht
new file mode 100644
index 0000000000..79ae40b029
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data After Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-003-ref.xht" />
+ <meta name="assert" content="There are four null bytes after the table data block and there is no metadata or private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004-ref.xht
new file mode 100644
index 0000000000..a120a27e7a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Table Data and Metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes between the table data and the metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004.xht
new file mode 100644
index 0000000000..e473f4c28c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-004.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Table Data and Metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-004-ref.xht" />
+ <meta name="assert" content="There are four null bytes between the table data and the metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005-ref.xht
new file mode 100644
index 0000000000..0ef4b05ce4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Table Data and Private Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes between the table data and the private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005.xht
new file mode 100644
index 0000000000..3aee0900ad
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-005.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Table Data and Private Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-005-ref.xht" />
+ <meta name="assert" content="There are four null bytes between the table data and the private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006-ref.xht
new file mode 100644
index 0000000000..ddc20d36e6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Metdata and Private Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes between the metadata and the private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006.xht
new file mode 100644
index 0000000000..00b5cc97b9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-006.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Metdata and Private Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-006-ref.xht" />
+ <meta name="assert" content="There are four null bytes between the metadata and the private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007-ref.xht
new file mode 100644
index 0000000000..41b00cd09a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data After Metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes after the metadata and there is no private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007.xht
new file mode 100644
index 0000000000..e125ba1a74
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-007.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data After Metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-007-ref.xht" />
+ <meta name="assert" content="There are four null bytes after the metadata and there is no private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008-ref.xht
new file mode 100644
index 0000000000..f88be5a7f9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data After Private Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There are four null bytes after the private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008.xht b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008.xht
new file mode 100644
index 0000000000..ca201352ad
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-extraneous-data-008.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data After Private Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-extraneous-data-008-ref.xht" />
+ <meta name="assert" content="There are four null bytes after the private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-extraneous-data-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-overlap-001-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-overlap-001-ref.xht
new file mode 100644
index 0000000000..7e25d31085
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-overlap-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Metadata Overlaps Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata offset is four bytes before the end of the table data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-overlap-001.xht b/testing/web-platform/tests/css/WOFF2/blocks-overlap-001.xht
new file mode 100644
index 0000000000..c9d22c90fe
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-overlap-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Metadata Overlaps Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-overlap-001-ref.xht" />
+ <meta name="assert" content="The metadata offset is four bytes before the end of the table data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-overlap-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-overlap-002-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-overlap-002-ref.xht
new file mode 100644
index 0000000000..2422204adb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-overlap-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Private Data Overlaps Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The private data offset is four bytes before the end of the table data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-overlap-002.xht b/testing/web-platform/tests/css/WOFF2/blocks-overlap-002.xht
new file mode 100644
index 0000000000..f1144ac17a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-overlap-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Private Data Overlaps Table Data</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-overlap-002-ref.xht" />
+ <meta name="assert" content="The private data offset is four bytes before the end of the table data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-overlap-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-overlap-003-ref.xht b/testing/web-platform/tests/css/WOFF2/blocks-overlap-003-ref.xht
new file mode 100644
index 0000000000..80fadc5089
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-overlap-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Private Data Overlaps Metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The private data offset is four bytes before the end of the metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/blocks-overlap-003.xht b/testing/web-platform/tests/css/WOFF2/blocks-overlap-003.xht
new file mode 100644
index 0000000000..72dca32170
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/blocks-overlap-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Private Data Overlaps Metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="blocks-overlap-003-ref.xht" />
+ <meta name="assert" content="The private data offset is four bytes before the end of the metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/blocks-overlap-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001-ref.xht b/testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001-ref.xht
new file mode 100644
index 0000000000..c421fd16d3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Different Representations of 255UInt16</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAccept255UInt16" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with different valid representation of the same 255UInt16 encoded number" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001.xht b/testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001.xht
new file mode 100644
index 0000000000..33a67fd16e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-alt-255uint16-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Different Representations of 255UInt16</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAccept255UInt16" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="datatypes-alt-255uint16-001-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with different valid representation of the same 255UInt16 encoded number" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/datatypes-alt-255uint16-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001-ref.xht b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001-ref.xht
new file mode 100644
index 0000000000..6f742c972e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid UIntBase128 With Leading Zeros</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers with leading zeros" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001.xht b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001.xht
new file mode 100644
index 0000000000..338162da2f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid UIntBase128 With Leading Zeros</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="datatypes-invalid-base128-001-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers with leading zeros" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/datatypes-invalid-base128-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002-ref.xht b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002-ref.xht
new file mode 100644
index 0000000000..d292e75e09
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid UIntBase128 That Exceeds 2^{32}-1</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers which exceed 2^{32}-1" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002.xht b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002.xht
new file mode 100644
index 0000000000..b18fdb9452
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid UIntBase128 That Exceeds 2^{32}-1</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="datatypes-invalid-base128-002-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers which exceed 2^{32}-1" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/datatypes-invalid-base128-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003-ref.xht b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003-ref.xht
new file mode 100644
index 0000000000..e2a7242ef8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid UIntBase128 Longer Than 5 Bytes</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers longer than 5 bytes" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003.xht b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003.xht
new file mode 100644
index 0000000000..34d58f1cac
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/datatypes-invalid-base128-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid UIntBase128 Longer Than 5 Bytes</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="datatypes-invalid-base128-003-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers longer than 5 bytes" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/datatypes-invalid-base128-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/directory-knowntags-001-ref.xht b/testing/web-platform/tests/css/WOFF2/directory-knowntags-001-ref.xht
new file mode 100644
index 0000000000..15a317dcc0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/directory-knowntags-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid SFNT With Cutsom Tag For Known Table</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#table_dir_format" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mayAcceptKnownTagsAsCustom" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored SFNT font with table directory using custom tag instead of known table flag for some know tables." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/directory-knowntags-001.xht b/testing/web-platform/tests/css/WOFF2/directory-knowntags-001.xht
new file mode 100644
index 0000000000..d06ea2d3f4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/directory-knowntags-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid SFNT With Cutsom Tag For Known Table</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#table_dir_format" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mayAcceptKnownTagsAsCustom" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="directory-knowntags-001-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored SFNT font with table directory using custom tag instead of known table flag for some know tables." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/directory-knowntags-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001-ref.xht b/testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001-ref.xht
new file mode 100644
index 0000000000..d597415b8c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Collection With Mismatched Glyf/Loca Tables</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#table_dir_format" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckRejectMismatchedTables" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF font collection with two pairs of mismatched glyf/loca tables" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001.xht b/testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001.xht
new file mode 100644
index 0000000000..d3891b9283
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/directory-mismatched-tables-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Collection With Mismatched Glyf/Loca Tables</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#table_dir_format" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckRejectMismatchedTables" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="directory-mismatched-tables-001-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF font collection with two pairs of mismatched glyf/loca tables" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/directory-mismatched-tables-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-length-001-ref.xht b/testing/web-platform/tests/css/WOFF2/header-length-001-ref.xht
new file mode 100644
index 0000000000..1a99ec0edd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-length-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Length Too Short</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The length field contains a value that is four bytes shorter than the actual data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-length-001.xht b/testing/web-platform/tests/css/WOFF2/header-length-001.xht
new file mode 100644
index 0000000000..7ac89559f8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-length-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Length Too Short</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-length-001-ref.xht" />
+ <meta name="assert" content="The length field contains a value that is four bytes shorter than the actual data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-length-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-length-002-ref.xht b/testing/web-platform/tests/css/WOFF2/header-length-002-ref.xht
new file mode 100644
index 0000000000..0719e2fca4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-length-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Length Too Long</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The length field contains a value that is four bytes longer than the actual data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-length-002.xht b/testing/web-platform/tests/css/WOFF2/header-length-002.xht
new file mode 100644
index 0000000000..100514a1ae
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-length-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Length Too Long</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-length-002-ref.xht" />
+ <meta name="assert" content="The length field contains a value that is four bytes longer than the actual data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-length-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-numTables-001-ref.xht b/testing/web-platform/tests/css/WOFF2/header-numTables-001-ref.xht
new file mode 100644
index 0000000000..b3e80b91d7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-numTables-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Number of Tables Set to Zero</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The header contains 0 in the numTables field. A table directory and table data are present." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-numTables-001.xht b/testing/web-platform/tests/css/WOFF2/header-numTables-001.xht
new file mode 100644
index 0000000000..b024f83d3f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-numTables-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Number of Tables Set to Zero</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-numTables-001-ref.xht" />
+ <meta name="assert" content="The header contains 0 in the numTables field. A table directory and table data are present." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-numTables-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-reserved-001-ref.xht b/testing/web-platform/tests/css/WOFF2/header-reserved-001-ref.xht
new file mode 100644
index 0000000000..fd1dd5c2e8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-reserved-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Reserved Invalid Value</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotUseReservedValue" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The reserved field contains 1." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-reserved-001.xht b/testing/web-platform/tests/css/WOFF2/header-reserved-001.xht
new file mode 100644
index 0000000000..15b540418d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-reserved-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Reserved Invalid Value</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotUseReservedValue" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-reserved-001-ref.xht" />
+ <meta name="assert" content="The reserved field contains 1." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-reserved-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-signature-001-ref.xht b/testing/web-platform/tests/css/WOFF2/header-signature-001-ref.xht
new file mode 100644
index 0000000000..a7cfadb980
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-signature-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Signature Invalid Value</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-noMagicNumber-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The signature field contains XXXX instead of wOFF." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-signature-001.xht b/testing/web-platform/tests/css/WOFF2/header-signature-001.xht
new file mode 100644
index 0000000000..5ae39feb03
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-signature-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header Signature Invalid Value</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-noMagicNumber-reject" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-signature-001-ref.xht" />
+ <meta name="assert" content="The signature field contains XXXX instead of wOFF." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-signature-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001-ref.xht b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001-ref.xht
new file mode 100644
index 0000000000..ab74d24ead
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header TotalSfntSize Too Small</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The totalSfntSize field contains a too small incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001.xht b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001.xht
new file mode 100644
index 0000000000..769343b661
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header TotalSfntSize Too Small</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-totalsfntsize-001-ref.xht" />
+ <meta name="assert" content="The totalSfntSize field contains a too small incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-totalsfntsize-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002-ref.xht b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002-ref.xht
new file mode 100644
index 0000000000..b79656fc73
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header TotalSfntSize Too Big</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The totalSfntSize field contains a too big incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002.xht b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002.xht
new file mode 100644
index 0000000000..7821f073cd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/header-totalsfntsize-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Header TotalSfntSize Too Big</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="header-totalsfntsize-002-ref.xht" />
+ <meta name="assert" content="The totalSfntSize field contains a too big incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/header-totalsfntsize-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadata-noeffect-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-001-ref.xht
new file mode 100644
index 0000000000..2fb8e345f6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No Metadata Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The file has no metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadata-noeffect-001.xht b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-001.xht
new file mode 100644
index 0000000000..d63472b3b4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No Metadata Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadata-noeffect-001-ref.xht" />
+ <meta name="assert" content="The file has no metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadata-noeffect-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadata-noeffect-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-002-ref.xht
new file mode 100644
index 0000000000..334f2efe3b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-002-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Metadata Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The file has metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadata-noeffect-002.xht b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-002.xht
new file mode 100644
index 0000000000..a1bedf2e1b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadata-noeffect-002.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Metadata Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadata-noeffect-002-ref.xht" />
+ <meta name="assert" content="The file has metadata." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadata-noeffect-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001-ref.xht
new file mode 100644
index 0000000000..1791033422
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001-ref.xht
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Metadata Out of Sync With name Table</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-authoritative" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name table and metadata fields are out of sync. The name table contains FAIL and the metadata contains PASS for unique id, vendor name, vendor url, credit name, credit url, description, license, license url, copyright and trademark." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <p>The Extended Metadata Block test fails if the word FAIL appears in the metadata display.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="PASS" /&gt;
+ &lt;description&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;vendor name="PASS" url="PASS" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="PASS" url="PASS" /&gt;
+ &lt;/credits&gt;
+ &lt;license url="PASS"&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001.xht
new file mode 100644
index 0000000000..5a4f64384e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-authoritative-001.xht
@@ -0,0 +1,70 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Metadata Out of Sync With name Table</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-authoritative" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-authoritative-001-ref.xht" />
+ <meta name="assert" content="The name table and metadata fields are out of sync. The name table contains FAIL and the metadata contains PASS for unique id, vendor name, vendor url, credit name, credit url, description, license, license url, copyright and trademark." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-authoritative-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <p>The Extended Metadata Block test fails if the word FAIL appears in the metadata display.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="PASS" /&gt;
+ &lt;description&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;vendor name="PASS" url="PASS" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="PASS" url="PASS" /&gt;
+ &lt;/credits&gt;
+ &lt;license url="PASS"&gt;
+ &lt;text&gt;
+ PASS
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001-ref.xht
new file mode 100644
index 0000000000..7f2f75a54a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: UTF-8 Encoding</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is set to UTF-8." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001.xht
new file mode 100644
index 0000000000..5a50ae8559
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-001.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: UTF-8 Encoding</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-encoding-001-ref.xht" />
+ <meta name="assert" content="The xml encoding is set to UTF-8." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-encoding-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002-ref.xht
new file mode 100644
index 0000000000..cc24c2cee5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid Encoding: UTF-16</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is set to UTF-16." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002.xht
new file mode 100644
index 0000000000..1cec6e1240
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-002.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid Encoding: UTF-16</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-encoding-002-ref.xht" />
+ <meta name="assert" content="The xml encoding is set to UTF-16." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-encoding-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003-ref.xht
new file mode 100644
index 0000000000..f8796b6194
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid Encoding: ISO-8859-1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is set to ISO-8859-1." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003.xht
new file mode 100644
index 0000000000..ce82fb1559
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-003.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid Encoding: ISO-8859-1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-encoding-003-ref.xht" />
+ <meta name="assert" content="The xml encoding is set to ISO-8859-1." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-encoding-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004-ref.xht
new file mode 100644
index 0000000000..cba52bda11
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Implied UTF-8</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is not declared and there is no BOM." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004.xht
new file mode 100644
index 0000000000..a9d206ab1d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-004.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Implied UTF-8</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-encoding-004-ref.xht" />
+ <meta name="assert" content="The xml encoding is not declared and there is no BOM." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-encoding-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005-ref.xht
new file mode 100644
index 0000000000..6ee737921b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: UTF-8 BOM</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is not declared and there is a UTF-8 BOM." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005.xht
new file mode 100644
index 0000000000..ada1e0ed0c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-005.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: UTF-8 BOM</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-encoding-005-ref.xht" />
+ <meta name="assert" content="The xml encoding is not declared and there is a UTF-8 BOM." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-encoding-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006-ref.xht
new file mode 100644
index 0000000000..d07847ac25
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid Encoding: UTF-8 BOM</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is not declared and there is a UTF-16 BOM." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006.xht
new file mode 100644
index 0000000000..b3580dc5a0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-encoding-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid Encoding: UTF-8 BOM</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-encoding-006-ref.xht" />
+ <meta name="assert" content="The xml encoding is not declared and there is a UTF-16 BOM." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-encoding-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001-ref.xht
new file mode 100644
index 0000000000..9e332d2c19
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001.xht
new file mode 100644
index 0000000000..9471d401ce
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-001.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-001-ref.xht" />
+ <meta name="assert" content="The copyright element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002-ref.xht
new file mode 100644
index 0000000000..cf70228380
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text xml:lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002.xht
new file mode 100644
index 0000000000..8a9b7bbf66
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-002.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-002-ref.xht" />
+ <meta name="assert" content="The copyright element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text xml:lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003-ref.xht
new file mode 100644
index 0000000000..c794fb0954
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003.xht
new file mode 100644
index 0000000000..d63a5bfbb2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-003.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-003-ref.xht" />
+ <meta name="assert" content="The copyright element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004-ref.xht
new file mode 100644
index 0000000000..99a57a6e2e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004.xht
new file mode 100644
index 0000000000..276dfc8528
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-004.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-004-ref.xht" />
+ <meta name="assert" content="The copyright element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005-ref.xht
new file mode 100644
index 0000000000..b2614c79e7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text xml:lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005.xht
new file mode 100644
index 0000000000..662d57d0b7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-005.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-005-ref.xht" />
+ <meta name="assert" content="The copyright element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text xml:lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006-ref.xht
new file mode 100644
index 0000000000..4f62d09a92
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006.xht
new file mode 100644
index 0000000000..f8c1542aee
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-006-ref.xht" />
+ <meta name="assert" content="The copyright element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007-ref.xht
new file mode 100644
index 0000000000..61857f57bf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007.xht
new file mode 100644
index 0000000000..aa187eade3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-007.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-007-ref.xht" />
+ <meta name="assert" content="The copyright element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008-ref.xht
new file mode 100644
index 0000000000..4483f95cf0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008.xht
new file mode 100644
index 0000000000..81fb1bf045
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-008.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-008-ref.xht" />
+ <meta name="assert" content="The copyright element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009-ref.xht
new file mode 100644
index 0000000000..fde8b95798
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009.xht
new file mode 100644
index 0000000000..49f8e86e23
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-009-ref.xht" />
+ <meta name="assert" content="The copyright element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010-ref.xht
new file mode 100644
index 0000000000..82cfbad843
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010.xht
new file mode 100644
index 0000000000..ba21b4fe9c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in copyright Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-010-ref.xht" />
+ <meta name="assert" content="The copyright element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011-ref.xht
new file mode 100644
index 0000000000..a27f3d7257
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text dir="ltr"&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011.xht
new file mode 100644
index 0000000000..db20d27ac5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-011.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-011-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text dir="ltr"&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012-ref.xht
new file mode 100644
index 0000000000..b558ad39ca
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text dir="rtl"&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012.xht
new file mode 100644
index 0000000000..c2e156cd37
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-012.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-012-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-012.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text dir="rtl"&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013-ref.xht
new file mode 100644
index 0000000000..74131924df
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid copyright Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013.xht
new file mode 100644
index 0000000000..e52f935e27
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-013.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid copyright Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-013-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-013.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014-ref.xht
new file mode 100644
index 0000000000..98a0d9eff9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text class="class 1 class2 class3"&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014.xht
new file mode 100644
index 0000000000..19b4b2c90b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-014.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-014-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-014.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text class="class 1 class2 class3"&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015-ref.xht
new file mode 100644
index 0000000000..2924ffc68c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in copyright Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015.xht
new file mode 100644
index 0000000000..227dd39cc8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-015.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in copyright Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-015-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-015.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016-ref.xht
new file mode 100644
index 0000000000..2fe2680bac
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in copyright Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016.xht
new file mode 100644
index 0000000000..5e1d69fe35
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-016.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in copyright Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-016-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-016.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017-ref.xht
new file mode 100644
index 0000000000..60e03a1582
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017.xht
new file mode 100644
index 0000000000..b8b1bea754
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-017.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-017-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-017.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018-ref.xht
new file mode 100644
index 0000000000..de243814c4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018-ref.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018.xht
new file mode 100644
index 0000000000..e478d49405
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-018.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-018-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-018.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019-ref.xht
new file mode 100644
index 0000000000..9594daa359
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019.xht
new file mode 100644
index 0000000000..908710db9f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-019.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-019-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-019.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020-ref.xht
new file mode 100644
index 0000000000..0103ea17bd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020.xht
new file mode 100644
index 0000000000..36f71ae017
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-020.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-020-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-020.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021-ref.xht
new file mode 100644
index 0000000000..84c99872c3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021.xht
new file mode 100644
index 0000000000..0b1b864308
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-021.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-021-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-021.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022-ref.xht
new file mode 100644
index 0000000000..7901e4c27c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid copyright Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022.xht
new file mode 100644
index 0000000000..765fe62316
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-022.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid copyright Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-022-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-022.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023-ref.xht
new file mode 100644
index 0000000000..5c971edfe4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023.xht
new file mode 100644
index 0000000000..fca660ed28
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-023.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-023-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-023.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024-ref.xht
new file mode 100644
index 0000000000..f2a2ffc91c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024.xht
new file mode 100644
index 0000000000..aa911a2525
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-024.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-024-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-024.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025-ref.xht
new file mode 100644
index 0000000000..be087ea944
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025.xht
new file mode 100644
index 0000000000..5f37b4c0b8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-025.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-025-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-025.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026-ref.xht
new file mode 100644
index 0000000000..acf7a92736
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026.xht
new file mode 100644
index 0000000000..7ac2efd3e2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-026.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-026-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-026.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027-ref.xht
new file mode 100644
index 0000000000..7348e86319
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027.xht
new file mode 100644
index 0000000000..be6655ce0e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-027.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-027-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-027.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028-ref.xht
new file mode 100644
index 0000000000..38b9464158
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028.xht
new file mode 100644
index 0000000000..16795ad558
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-028.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-028-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-028.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029-ref.xht
new file mode 100644
index 0000000000..51117d0022
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid copyright Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029.xht
new file mode 100644
index 0000000000..ef827f1af8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-029.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid copyright Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-029-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-029.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030-ref.xht
new file mode 100644
index 0000000000..6728da7d98
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030.xht
new file mode 100644
index 0000000000..4987376bbc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-copyright-030.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid copyright Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-copyright-030-ref.xht" />
+ <meta name="assert" content="The copyright element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-copyright-030.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001-ref.xht
new file mode 100644
index 0000000000..f0ff4475ff
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001.xht
new file mode 100644
index 0000000000..f2036e0c9a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-001.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-001-ref.xht" />
+ <meta name="assert" content="The credit element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002-ref.xht
new file mode 100644
index 0000000000..09257e203a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credit Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element does not contain a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002.xht
new file mode 100644
index 0000000000..1bedbe5115
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-002.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credit Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-002-ref.xht" />
+ <meta name="assert" content="The credit element does not contain a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003-ref.xht
new file mode 100644
index 0000000000..dd8e19ca3e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credit Element Without role Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element does not contain a role attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003.xht
new file mode 100644
index 0000000000..755ec761ee
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-003.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credit Element Without role Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-003-ref.xht" />
+ <meta name="assert" content="The credit element does not contain a role attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004-ref.xht
new file mode 100644
index 0000000000..b0a7eae6bc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No name attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element does not contain a name attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004.xht
new file mode 100644
index 0000000000..0342c6d007
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-004.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No name attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-004-ref.xht" />
+ <meta name="assert" content="The credit element does not contain a name attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005-ref.xht
new file mode 100644
index 0000000000..09c69c721a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in credit Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" dir="ltr" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005.xht
new file mode 100644
index 0000000000..ec016921bd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-005.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in credit Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-005-ref.xht" />
+ <meta name="assert" content="The credit element contains ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" dir="ltr" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006-ref.xht
new file mode 100644
index 0000000000..21786c889c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in credit Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" dir="rtl" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006.xht
new file mode 100644
index 0000000000..fe5901933f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-006.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in credit Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-006-ref.xht" />
+ <meta name="assert" content="The credit element contains rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" dir="rtl" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007-ref.xht
new file mode 100644
index 0000000000..7aa4443467
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid dir Attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007.xht
new file mode 100644
index 0000000000..eba69ef054
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-007.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid dir Attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-007-ref.xht" />
+ <meta name="assert" content="The credit element contains INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008-ref.xht
new file mode 100644
index 0000000000..c0235836be
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid class Attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" class="class1 class2 class3" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008.xht
new file mode 100644
index 0000000000..dde83aada4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-008.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid class Attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-008-ref.xht" />
+ <meta name="assert" content="The credit element contains &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" class="class1 class2 class3" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009-ref.xht
new file mode 100644
index 0000000000..58cc8a67c9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009.xht
new file mode 100644
index 0000000000..dfc9fefabc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown attribute in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-009-ref.xht" />
+ <meta name="assert" content="The credit element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010-ref.xht
new file mode 100644
index 0000000000..041da84686
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010.xht
new file mode 100644
index 0000000000..236a8abb93
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-010-ref.xht" />
+ <meta name="assert" content="The credit element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011-ref.xht
new file mode 100644
index 0000000000..0a2554a0df
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credit element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011.xht
new file mode 100644
index 0000000000..5e96f4ebac
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credit-011.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credit-011-ref.xht" />
+ <meta name="assert" content="The credit element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credit-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001-ref.xht
new file mode 100644
index 0000000000..78dbbcb1ff
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001-ref.xht
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credits Element With No Language Attribute And A Single credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element matches the schema and it contains one credit child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001.xht
new file mode 100644
index 0000000000..0426902a00
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-001.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credits Element With No Language Attribute And A Single credit Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-001-ref.xht" />
+ <meta name="assert" content="The credits element matches the schema and it contains one credit child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002-ref.xht
new file mode 100644
index 0000000000..733322d27b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002-ref.xht
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credits Element With Two credit Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element matches the schema and it contains two credit child elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002.xht
new file mode 100644
index 0000000000..d03b025759
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-002.xht
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid credits Element With Two credit Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-002-ref.xht" />
+ <meta name="assert" content="The credits element matches the schema and it contains two credit child elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003-ref.xht
new file mode 100644
index 0000000000..1a90cafdbe
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No credit Element in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element does not contain a credit child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003.xht
new file mode 100644
index 0000000000..3c022483b8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-003.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No credit Element in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-003-ref.xht" />
+ <meta name="assert" content="The credits element does not contain a credit child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004-ref.xht
new file mode 100644
index 0000000000..5dc7472d26
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004.xht
new file mode 100644
index 0000000000..d4c61c5e30
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-004.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-004-ref.xht" />
+ <meta name="assert" content="The credits element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005-ref.xht
new file mode 100644
index 0000000000..19893c2b6d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005.xht
new file mode 100644
index 0000000000..fca3432378
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-005.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-005-ref.xht" />
+ <meta name="assert" content="The credits element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006-ref.xht
new file mode 100644
index 0000000000..b67124f394
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element contains an content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006.xht
new file mode 100644
index 0000000000..fa049ab445
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in credits Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-006-ref.xht" />
+ <meta name="assert" content="The credits element contains an content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007-ref.xht
new file mode 100644
index 0000000000..7c392e24d5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Multiple credits Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The credits element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007.xht
new file mode 100644
index 0000000000..679eb3501c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-credits-007.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Multiple credits Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-credits-007-ref.xht" />
+ <meta name="assert" content="The credits element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-credits-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001-ref.xht
new file mode 100644
index 0000000000..8cb0260854
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001.xht
new file mode 100644
index 0000000000..9037a5187f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-001.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-001-ref.xht" />
+ <meta name="assert" content="The description element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002-ref.xht
new file mode 100644
index 0000000000..ffbeb0831d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element does not contain a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002.xht
new file mode 100644
index 0000000000..81f1aba207
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-002.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-002-ref.xht" />
+ <meta name="assert" content="The description element does not contain a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003-ref.xht
new file mode 100644
index 0000000000..256ec2e2f7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003.xht
new file mode 100644
index 0000000000..9c3f097ea9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-003.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-003-ref.xht" />
+ <meta name="assert" content="The description element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004-ref.xht
new file mode 100644
index 0000000000..854752cdc0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text xml:lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004.xht
new file mode 100644
index 0000000000..59b4b0761b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-004.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-004-ref.xht" />
+ <meta name="assert" content="The description element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text xml:lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005-ref.xht
new file mode 100644
index 0000000000..c96732e7a4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005.xht
new file mode 100644
index 0000000000..db67c98b73
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-005.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-005-ref.xht" />
+ <meta name="assert" content="The description element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006-ref.xht
new file mode 100644
index 0000000000..02d558f3cc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006.xht
new file mode 100644
index 0000000000..7983a22be9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-006.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-006-ref.xht" />
+ <meta name="assert" content="The description element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007-ref.xht
new file mode 100644
index 0000000000..9b0b8a5c02
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text xml:lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007.xht
new file mode 100644
index 0000000000..b79c27615b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-007.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-007-ref.xht" />
+ <meta name="assert" content="The description element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text xml:lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008-ref.xht
new file mode 100644
index 0000000000..31a50fb9a3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008.xht
new file mode 100644
index 0000000000..1f8284db1f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-008.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-008-ref.xht" />
+ <meta name="assert" content="The description element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009-ref.xht
new file mode 100644
index 0000000000..8ece3e3222
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009.xht
new file mode 100644
index 0000000000..e412d8bfd4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-009-ref.xht" />
+ <meta name="assert" content="The description element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010-ref.xht
new file mode 100644
index 0000000000..372ce67b10
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010.xht
new file mode 100644
index 0000000000..7efc023847
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-010-ref.xht" />
+ <meta name="assert" content="The description element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011-ref.xht
new file mode 100644
index 0000000000..87c08323ab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011.xht
new file mode 100644
index 0000000000..a2ea3832b0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-011.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-011-ref.xht" />
+ <meta name="assert" content="The description element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012-ref.xht
new file mode 100644
index 0000000000..93a2e9f91f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012.xht
new file mode 100644
index 0000000000..36805634b2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-012.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in description Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-012-ref.xht" />
+ <meta name="assert" content="The description element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-012.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013-ref.xht
new file mode 100644
index 0000000000..3c089912f2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="ltr"&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013.xht
new file mode 100644
index 0000000000..727ca4d292
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-013.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-013-ref.xht" />
+ <meta name="assert" content="The description element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-013.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="ltr"&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014-ref.xht
new file mode 100644
index 0000000000..11f5fc18a6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="rtl"&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014.xht
new file mode 100644
index 0000000000..945f1fe2c6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-014.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-014-ref.xht" />
+ <meta name="assert" content="The description element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-014.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="rtl"&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015-ref.xht
new file mode 100644
index 0000000000..8b9abf7eab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid description Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015.xht
new file mode 100644
index 0000000000..1da62452cc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-015.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid description Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-015-ref.xht" />
+ <meta name="assert" content="The description element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-015.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016-ref.xht
new file mode 100644
index 0000000000..aa6997c2c3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text class="class1 class2 class3"&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016.xht
new file mode 100644
index 0000000000..76e0ddb51a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-016.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-016-ref.xht" />
+ <meta name="assert" content="The description element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-016.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text class="class1 class2 class3"&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017-ref.xht
new file mode 100644
index 0000000000..fdb3deace6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in description Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017.xht
new file mode 100644
index 0000000000..5135914740
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-017.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in description Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-017-ref.xht" />
+ <meta name="assert" content="The description element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-017.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018-ref.xht
new file mode 100644
index 0000000000..cf9f7385e6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in description Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018.xht
new file mode 100644
index 0000000000..29c21582a1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-018.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in description Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-018-ref.xht" />
+ <meta name="assert" content="The description element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-018.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019-ref.xht
new file mode 100644
index 0000000000..ffd7da7186
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019.xht
new file mode 100644
index 0000000000..cd8595359d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-019.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-019-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-019.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020-ref.xht
new file mode 100644
index 0000000000..ad1549475b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020-ref.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020.xht
new file mode 100644
index 0000000000..bbf9fa62e2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-020.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-020-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-020.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021-ref.xht
new file mode 100644
index 0000000000..08489bfeb8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021.xht
new file mode 100644
index 0000000000..719f48b599
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-021.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-021-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-021.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022-ref.xht
new file mode 100644
index 0000000000..89807edcdf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022.xht
new file mode 100644
index 0000000000..3a24b993a9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-022.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-022-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-022.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023-ref.xht
new file mode 100644
index 0000000000..b035c79fd8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023.xht
new file mode 100644
index 0000000000..2ce0cb87f0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-023.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-023-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-023.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024-ref.xht
new file mode 100644
index 0000000000..c1d142d70b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid description Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024.xht
new file mode 100644
index 0000000000..cf108b762c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-024.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid description Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-024-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-024.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025-ref.xht
new file mode 100644
index 0000000000..a8b3d57de1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025.xht
new file mode 100644
index 0000000000..c825aeb51c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-025.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-025-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-025.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026-ref.xht
new file mode 100644
index 0000000000..b780fa576b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026.xht
new file mode 100644
index 0000000000..741cd98ac8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-026.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-026-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-026.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027-ref.xht
new file mode 100644
index 0000000000..9ce1f70c47
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027.xht
new file mode 100644
index 0000000000..64e0151cc6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-027.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-027-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-027.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028-ref.xht
new file mode 100644
index 0000000000..5011445e2b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028.xht
new file mode 100644
index 0000000000..533f068187
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-028.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-028-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-028.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029-ref.xht
new file mode 100644
index 0000000000..ed67746cc7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029.xht
new file mode 100644
index 0000000000..442edc3454
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-029.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-029-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-029.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030-ref.xht
new file mode 100644
index 0000000000..f9cbd23024
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030.xht
new file mode 100644
index 0000000000..873e7b7e7f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-030.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-030-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-030.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031-ref.xht
new file mode 100644
index 0000000000..d619643e11
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid description Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031.xht
new file mode 100644
index 0000000000..79650aed72
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-031.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid description Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-031-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-031.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032-ref.xht
new file mode 100644
index 0000000000..3816bc3492
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032.xht
new file mode 100644
index 0000000000..f63c8049d4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-description-032.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid description Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-description-032-ref.xht" />
+ <meta name="assert" content="The description element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-description-032.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/description&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001-ref.xht
new file mode 100644
index 0000000000..1ae37fb8b6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001.xht
new file mode 100644
index 0000000000..580fdad9dc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-001.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-001-ref.xht" />
+ <meta name="assert" content="The extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002-ref.xht
new file mode 100644
index 0000000000..8f77f1f68d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002-ref.xht
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Two Valid extension Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Two extension elements match the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002.xht
new file mode 100644
index 0000000000..a5699d9388
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-002.xht
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Two Valid extension Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-002-ref.xht" />
+ <meta name="assert" content="Two extension elements match the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003-ref.xht
new file mode 100644
index 0000000000..9923ff27cb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element Without id Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element does not have an id attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003.xht
new file mode 100644
index 0000000000..0d23264994
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-003.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element Without id Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-003-ref.xht" />
+ <meta name="assert" content="The extension element does not have an id attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004-ref.xht
new file mode 100644
index 0000000000..8728810f94
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004-ref.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element Without name Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element does not have a name child element but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004.xht
new file mode 100644
index 0000000000..193d3bc320
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-004.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element Without name Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-004-ref.xht" />
+ <meta name="assert" content="The extension element does not have a name child element but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005-ref.xht
new file mode 100644
index 0000000000..257221ad3d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element With Two name Elements 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element contains one name element without a lang attribute and another with a lang attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005.xht
new file mode 100644
index 0000000000..b5de63fdec
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-005.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element With Two name Elements 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-005-ref.xht" />
+ <meta name="assert" content="The extension element contains one name element without a lang attribute and another with a lang attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006-ref.xht
new file mode 100644
index 0000000000..e2324cedd8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element With Two name Elements 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element contains two name elements with lang attributes." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name xml:lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006.xht
new file mode 100644
index 0000000000..59080410ca
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-006.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element With Two name Elements 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-006-ref.xht" />
+ <meta name="assert" content="The extension element contains two name elements with lang attributes." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name xml:lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007-ref.xht
new file mode 100644
index 0000000000..7a3b582727
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007-ref.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element With Two item Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element contains two item child elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007.xht
new file mode 100644
index 0000000000..8f5041de42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-007.xht
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid extension Element With Two item Elements</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-007-ref.xht" />
+ <meta name="assert" content="The extension element contains two item child elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008-ref.xht
new file mode 100644
index 0000000000..b4d48586eb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element does not contain an item child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008.xht
new file mode 100644
index 0000000000..d89228937d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-008.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-008-ref.xht" />
+ <meta name="assert" content="The extension element does not contain an item child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009-ref.xht
new file mode 100644
index 0000000000..5caca3cda7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009.xht
new file mode 100644
index 0000000000..3e710a90cb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-009-ref.xht" />
+ <meta name="assert" content="The extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010-ref.xht
new file mode 100644
index 0000000000..37dd06e8b1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010.xht
new file mode 100644
index 0000000000..3fa5d219ee
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-010-ref.xht" />
+ <meta name="assert" content="The extension element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011-ref.xht
new file mode 100644
index 0000000000..99cb8525be
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The extension element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011.xht
new file mode 100644
index 0000000000..e1ce7b12c0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-011.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-011-ref.xht" />
+ <meta name="assert" content="The extension element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012-ref.xht
new file mode 100644
index 0000000000..7a5d540ee1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012.xht
new file mode 100644
index 0000000000..bf60af8821
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-012.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-012-ref.xht" />
+ <meta name="assert" content="The name element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-012.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013-ref.xht
new file mode 100644
index 0000000000..a424262556
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With xml:lang Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element contains a xml:lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013.xht
new file mode 100644
index 0000000000..a02b80f383
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-013.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With xml:lang Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-013-ref.xht" />
+ <meta name="assert" content="The name element in the extension element contains a xml:lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-013.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014-ref.xht
new file mode 100644
index 0000000000..10508b5626
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With lang Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element contains a lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014.xht
new file mode 100644
index 0000000000..717262ef21
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-014.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With lang Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-014-ref.xht" />
+ <meta name="assert" content="The name element in the extension element contains a lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-014.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015-ref.xht
new file mode 100644
index 0000000000..77f62555d9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name dir="ltr"&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015.xht
new file mode 100644
index 0000000000..0221c4f4df
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-015.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-015-ref.xht" />
+ <meta name="assert" content="The name element in the extension element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-015.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name dir="ltr"&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016-ref.xht
new file mode 100644
index 0000000000..56bb888e29
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name dir="rtl"&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016.xht
new file mode 100644
index 0000000000..bb92c0f71e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-016.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-016-ref.xht" />
+ <meta name="assert" content="The name element in the extension element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-016.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name dir="rtl"&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017-ref.xht
new file mode 100644
index 0000000000..ffa183926a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid name Element With dir Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017.xht
new file mode 100644
index 0000000000..153818839d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-017.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid name Element With dir Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-017-ref.xht" />
+ <meta name="assert" content="The name element in the extension element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-017.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018-ref.xht
new file mode 100644
index 0000000000..b8803b4102
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With class Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element has &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name class="class1 class2 class3"&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018.xht
new file mode 100644
index 0000000000..0c2c8ac648
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-018.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With class Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-018-ref.xht" />
+ <meta name="assert" content="The name element in the extension element has &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-018.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name class="class1 class2 class3"&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019-ref.xht
new file mode 100644
index 0000000000..0a9b481775
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in name Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019.xht
new file mode 100644
index 0000000000..924ef85483
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-019.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in name Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-019-ref.xht" />
+ <meta name="assert" content="The name element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-019.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020-ref.xht
new file mode 100644
index 0000000000..2875d4d005
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in name Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the extension element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020.xht
new file mode 100644
index 0000000000..c970a685ec
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-020.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in name Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-020-ref.xht" />
+ <meta name="assert" content="The name element in the extension element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-020.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021-ref.xht
new file mode 100644
index 0000000000..d7004863b7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021.xht
new file mode 100644
index 0000000000..4987130b99
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-021.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-021-ref.xht" />
+ <meta name="assert" content="The item element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-021.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022-ref.xht
new file mode 100644
index 0000000000..8e397ec1e0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022-ref.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Multiple Languages in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains a variety of languages." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name xml:lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value xml:lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022.xht
new file mode 100644
index 0000000000..5904ee7221
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-022.xht
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Multiple Languages in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-022-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains a variety of languages." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-022.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name xml:lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value xml:lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023-ref.xht
new file mode 100644
index 0000000000..c3bae5adf1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element Without id Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element does not contain an id attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023.xht
new file mode 100644
index 0000000000..31c89c2b5a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-023.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element Without id Attribute in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-023-ref.xht" />
+ <meta name="assert" content="The item element in the extension element does not contain an id attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-023.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024-ref.xht
new file mode 100644
index 0000000000..b459614e53
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two name Elements in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains one name child element with no lang attribute and one with a lang attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024.xht
new file mode 100644
index 0000000000..864ade1923
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-024.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two name Elements in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-024-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains one name child element with no lang attribute and one with a lang attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-024.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025-ref.xht
new file mode 100644
index 0000000000..2dffc2a2d5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two name Elements in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains two name child elements with lang attributes." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name xml:lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025.xht
new file mode 100644
index 0000000000..935229408c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-025.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two name Elements in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-025-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains two name child elements with lang attributes." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-025.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name xml:lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026-ref.xht
new file mode 100644
index 0000000000..5b1c188fe1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two value Elements in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains one value child element with no lang attribute and one with a lang attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026.xht
new file mode 100644
index 0000000000..65898373d9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-026.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two value Elements in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-026-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains one value child element with no lang attribute and one with a lang attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-026.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027-ref.xht
new file mode 100644
index 0000000000..20506eb469
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two value Elements in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains two value child elements with lang attributes." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value xml:lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027.xht
new file mode 100644
index 0000000000..4a57328f45
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-027.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid item Element With Two value Elements in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-027-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains two value child elements with lang attributes." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-027.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value xml:lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028-ref.xht
new file mode 100644
index 0000000000..ea8448f234
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element does not contain a name child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028.xht
new file mode 100644
index 0000000000..9318a32ca3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-028.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-028-ref.xht" />
+ <meta name="assert" content="The item element in the extension element does not contain a name child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-028.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029-ref.xht
new file mode 100644
index 0000000000..4900e7eb44
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element does not contain a value child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029.xht
new file mode 100644
index 0000000000..139bc0a787
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-029.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-029-ref.xht" />
+ <meta name="assert" content="The item element in the extension element does not contain a value child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-029.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030-ref.xht
new file mode 100644
index 0000000000..80b424a616
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030.xht
new file mode 100644
index 0000000000..92aaac17e6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-030.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-030-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-030.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031-ref.xht
new file mode 100644
index 0000000000..12b53d8c15
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031.xht
new file mode 100644
index 0000000000..b0a7274215
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-031.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-031-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-031.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032-ref.xht
new file mode 100644
index 0000000000..d2252c9d4d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The item element in the extension element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032.xht
new file mode 100644
index 0000000000..11927e5b84
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-032.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-032-ref.xht" />
+ <meta name="assert" content="The item element in the extension element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-032.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033-ref.xht
new file mode 100644
index 0000000000..dc4b410bc4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033.xht
new file mode 100644
index 0000000000..60167d40c6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-033.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-033-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-033.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034-ref.xht
new file mode 100644
index 0000000000..893e746e27
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With xml:lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element contains a xml:lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034.xht
new file mode 100644
index 0000000000..eb33ee887f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-034.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With xml:lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-034-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element contains a xml:lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-034.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name xml:lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035-ref.xht
new file mode 100644
index 0000000000..fc823a3573
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element contains a lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035.xht
new file mode 100644
index 0000000000..93f42ec3f7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-035.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-035-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element contains a lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-035.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036-ref.xht
new file mode 100644
index 0000000000..128ed2f280
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in item Element in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name dir="ltr"&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036.xht
new file mode 100644
index 0000000000..e62f0d04dd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-036.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in item Element in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-036-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-036.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name dir="ltr"&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037-ref.xht
new file mode 100644
index 0000000000..abff1a62fe
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in item Element in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name dir="rtl"&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037.xht
new file mode 100644
index 0000000000..dd606a86bb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-037.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With dir Attribute in item Element in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-037-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-037.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name dir="rtl"&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038-ref.xht
new file mode 100644
index 0000000000..f6b4dc2a71
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid name Element With dir Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038.xht
new file mode 100644
index 0000000000..ab70032baf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-038.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid name Element With dir Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-038-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-038.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039-ref.xht
new file mode 100644
index 0000000000..1cb9a9aaba
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With class Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element has &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name class="class1 class2 class3"&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039.xht
new file mode 100644
index 0000000000..0d0d310b09
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-039.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid name Element With class Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-039-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element has &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-039.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name class="class1 class2 class3"&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040-ref.xht
new file mode 100644
index 0000000000..7f49b2814b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040.xht
new file mode 100644
index 0000000000..16a25a468a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-040.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-040-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-040.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041-ref.xht
new file mode 100644
index 0000000000..0c400f5182
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The name element in the item element in the extension element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041.xht
new file mode 100644
index 0000000000..058bab9a46
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-041.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in name Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-041-ref.xht" />
+ <meta name="assert" content="The name element in the item element in the extension element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-041.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042-ref.xht
new file mode 100644
index 0000000000..0c2b968fc2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042.xht
new file mode 100644
index 0000000000..76f738771b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-042.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-042-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-042.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043-ref.xht
new file mode 100644
index 0000000000..f0cb455254
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With xml:lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element contains a xml:lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043.xht
new file mode 100644
index 0000000000..c274ef4e5a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-043.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With xml:lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-043-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element contains a xml:lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-043.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value xml:lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044-ref.xht
new file mode 100644
index 0000000000..e85822b022
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element contains a lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044.xht
new file mode 100644
index 0000000000..64bec35e7e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-044.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With lang Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-044-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element contains a lang attribute and it matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-044.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045-ref.xht
new file mode 100644
index 0000000000..99c70c0ab2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With dir Attribute in item Element in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value dir="ltr"&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045.xht
new file mode 100644
index 0000000000..70e5f7c887
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-045.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With dir Attribute in item Element in extension Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-045-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-045.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value dir="ltr"&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046-ref.xht
new file mode 100644
index 0000000000..234aa03fc2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With dir Attribute in item Element in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value dir="rtl"&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046.xht
new file mode 100644
index 0000000000..52537bd211
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-046.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With dir Attribute in item Element in extension Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-046-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-046.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value dir="rtl"&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047-ref.xht
new file mode 100644
index 0000000000..a4b3011305
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid value Element With dir Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047.xht
new file mode 100644
index 0000000000..2324d27192
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-047.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid value Element With dir Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-047-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-047.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048-ref.xht
new file mode 100644
index 0000000000..5581a23abd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048-ref.xht
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With class Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element has &quot;class1 class2 class3&quot; as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value class="class1 class2 class3"&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048.xht
new file mode 100644
index 0000000000..ada0e9db96
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-048.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid value Element With class Attribute in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-048-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element has &quot;class1 class2 class3&quot; as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-048.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;value class="class1 class2 class3"&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049-ref.xht
new file mode 100644
index 0000000000..247253a128
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049.xht
new file mode 100644
index 0000000000..345dec4a67
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-049.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-049-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-049.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050-ref.xht
new file mode 100644
index 0000000000..10b5ed1526
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The value element in the item element in the extension element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050.xht
new file mode 100644
index 0000000000..d9857d6602
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-extension-050.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in value Element in item Element in extension Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-extension-050-ref.xht" />
+ <meta name="assert" content="The value element in the item element in the extension element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-extension-050.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001-ref.xht
new file mode 100644
index 0000000000..41e7e621c8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001.xht
new file mode 100644
index 0000000000..90b0a6a28b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-001.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-001-ref.xht" />
+ <meta name="assert" content="The license element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002-ref.xht
new file mode 100644
index 0000000000..9ce36cb552
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element does not have a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002.xht
new file mode 100644
index 0000000000..bf575cf629
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-002.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-002-ref.xht" />
+ <meta name="assert" content="The license element does not have a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003-ref.xht
new file mode 100644
index 0000000000..b373eefbda
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element Without id Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element does not have an id attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003.xht
new file mode 100644
index 0000000000..5c767817be
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-003.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element Without id Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-003-ref.xht" />
+ <meta name="assert" content="The license element does not have an id attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004-ref.xht
new file mode 100644
index 0000000000..d2bd9579d3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004.xht
new file mode 100644
index 0000000000..4f2ae4253a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-004.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-004-ref.xht" />
+ <meta name="assert" content="The license element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005-ref.xht
new file mode 100644
index 0000000000..687322b87d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text xml:lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005.xht
new file mode 100644
index 0000000000..3f56ce888e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-005.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-005-ref.xht" />
+ <meta name="assert" content="The license element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text xml:lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006-ref.xht
new file mode 100644
index 0000000000..ac64c0b9c4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006.xht
new file mode 100644
index 0000000000..22596e83f5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-006.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-006-ref.xht" />
+ <meta name="assert" content="The license element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007-ref.xht
new file mode 100644
index 0000000000..fa4d8ffd77
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007.xht
new file mode 100644
index 0000000000..eb873685ce
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-007.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-007-ref.xht" />
+ <meta name="assert" content="The license element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008-ref.xht
new file mode 100644
index 0000000000..8f8f693a17
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text xml:lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008.xht
new file mode 100644
index 0000000000..18cd6cbf25
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-008.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-008-ref.xht" />
+ <meta name="assert" content="The license element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text xml:lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009-ref.xht
new file mode 100644
index 0000000000..5dbf3a1bf7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009.xht
new file mode 100644
index 0000000000..73abdbb47f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-009-ref.xht" />
+ <meta name="assert" content="The license element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010-ref.xht
new file mode 100644
index 0000000000..e35102d0d0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010.xht
new file mode 100644
index 0000000000..9339b9b468
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-010.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-010-ref.xht" />
+ <meta name="assert" content="The license element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011-ref.xht
new file mode 100644
index 0000000000..5e48fa15d7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011.xht
new file mode 100644
index 0000000000..d8ef5814a9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-011.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-011-ref.xht" />
+ <meta name="assert" content="The license element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012-ref.xht
new file mode 100644
index 0000000000..3d8261f9f5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012.xht
new file mode 100644
index 0000000000..e1667bf586
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-012.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-012-ref.xht" />
+ <meta name="assert" content="The license element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-012.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013-ref.xht
new file mode 100644
index 0000000000..cebfa5547b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013.xht
new file mode 100644
index 0000000000..90eb0d1bfb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-013.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in license Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-013-ref.xht" />
+ <meta name="assert" content="The license element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-013.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014-ref.xht
new file mode 100644
index 0000000000..8229c0c820
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="ltr"&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014.xht
new file mode 100644
index 0000000000..5b56279d1d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-014.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-014-ref.xht" />
+ <meta name="assert" content="The license element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-014.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="ltr"&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015-ref.xht
new file mode 100644
index 0000000000..07ae0f7571
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="rtl"&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015.xht
new file mode 100644
index 0000000000..85b05c916b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-015.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-015-ref.xht" />
+ <meta name="assert" content="The license element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-015.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text dir="rtl"&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016-ref.xht
new file mode 100644
index 0000000000..a81065feb3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid license Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016.xht
new file mode 100644
index 0000000000..ecd1714e53
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-016.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid license Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-016-ref.xht" />
+ <meta name="assert" content="The license element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-016.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017-ref.xht
new file mode 100644
index 0000000000..ca0a368bc4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text class="class1 class2 class3"&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017.xht
new file mode 100644
index 0000000000..e88ed7df9f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-017.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-017-ref.xht" />
+ <meta name="assert" content="The license element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-017.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text class="class1 class2 class3"&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018-ref.xht
new file mode 100644
index 0000000000..366f68ef5b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in license Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018.xht
new file mode 100644
index 0000000000..9fa105cab2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-018.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in license Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-018-ref.xht" />
+ <meta name="assert" content="The license element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-018.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019-ref.xht
new file mode 100644
index 0000000000..ff1c5e172e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in license Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019.xht
new file mode 100644
index 0000000000..7de65f7497
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-019.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in license Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-019-ref.xht" />
+ <meta name="assert" content="The license element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-019.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020-ref.xht
new file mode 100644
index 0000000000..c3d451ff47
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020.xht
new file mode 100644
index 0000000000..5c3fec390c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-020.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-020-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-020.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021-ref.xht
new file mode 100644
index 0000000000..f32f2b4a51
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021-ref.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021.xht
new file mode 100644
index 0000000000..d67b3bbc09
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-021.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-021-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-021.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022-ref.xht
new file mode 100644
index 0000000000..ab86634d1f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022.xht
new file mode 100644
index 0000000000..f8c66b9a91
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-022.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-022-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-022.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023-ref.xht
new file mode 100644
index 0000000000..3fc791b401
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023.xht
new file mode 100644
index 0000000000..f8806db4f5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-023.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-023-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-023.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024-ref.xht
new file mode 100644
index 0000000000..1e643e65bc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024.xht
new file mode 100644
index 0000000000..8c52881952
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-024.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-024-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-024.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025-ref.xht
new file mode 100644
index 0000000000..3ad4b70989
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid license Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025.xht
new file mode 100644
index 0000000000..da200c0090
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-025.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid license Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-025-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-025.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026-ref.xht
new file mode 100644
index 0000000000..5cc1cc4177
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026.xht
new file mode 100644
index 0000000000..fc942a5263
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-026.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-026-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-026.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027-ref.xht
new file mode 100644
index 0000000000..ccde52d602
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027.xht
new file mode 100644
index 0000000000..2f9a28f082
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-027.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-027-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-027.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028-ref.xht
new file mode 100644
index 0000000000..69307bdd90
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028.xht
new file mode 100644
index 0000000000..30a802e571
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-028.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-028-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-028.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029-ref.xht
new file mode 100644
index 0000000000..35bdfd779e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029.xht
new file mode 100644
index 0000000000..425ce7aa35
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-029.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-029-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-029.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030-ref.xht
new file mode 100644
index 0000000000..aa52bc93e2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030.xht
new file mode 100644
index 0000000000..512ba15511
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-030.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-030-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-030.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031-ref.xht
new file mode 100644
index 0000000000..9d4a618e4b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031.xht
new file mode 100644
index 0000000000..2ea71218b9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-031.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-031-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-031.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032-ref.xht
new file mode 100644
index 0000000000..447b345b6a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid license Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032.xht
new file mode 100644
index 0000000000..d8c835bced
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-032.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid license Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-032-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-032.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033-ref.xht
new file mode 100644
index 0000000000..49f2af0fd2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033.xht
new file mode 100644
index 0000000000..a1f8183bd5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-license-033.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid license Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-license-033-ref.xht" />
+ <meta name="assert" content="The license element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-license-033.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;license url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/license&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001-ref.xht
new file mode 100644
index 0000000000..d28202a6f0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001.xht
new file mode 100644
index 0000000000..fafc0d1a98
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-001.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-001-ref.xht" />
+ <meta name="assert" content="The licensee element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002-ref.xht
new file mode 100644
index 0000000000..f0fbf88787
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002.xht
new file mode 100644
index 0000000000..0c306cbb37
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-002.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-002-ref.xht" />
+ <meta name="assert" content="The licensee element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003-ref.xht
new file mode 100644
index 0000000000..5353ec3f67
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No name Attribute in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element does not contain the required name attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003.xht
new file mode 100644
index 0000000000..fdbca2c53e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-003.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No name Attribute in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-003-ref.xht" />
+ <meta name="assert" content="The licensee element does not contain the required name attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004-ref.xht
new file mode 100644
index 0000000000..98865d0348
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element With dir Attribute 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" dir="ltr" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004.xht
new file mode 100644
index 0000000000..e58d013a33
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-004.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element With dir Attribute 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-004-ref.xht" />
+ <meta name="assert" content="The licensee element has ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" dir="ltr" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005-ref.xht
new file mode 100644
index 0000000000..3c9194eb4b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element With dir Attribute 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" dir="rtl" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005.xht
new file mode 100644
index 0000000000..f4de99562c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-005.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element With dir Attribute 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-005-ref.xht" />
+ <meta name="assert" content="The licensee element has rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" dir="rtl" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006-ref.xht
new file mode 100644
index 0000000000..a9433cdecd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid licensee Element With dir Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006.xht
new file mode 100644
index 0000000000..9d23323dbd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid licensee Element With dir Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-006-ref.xht" />
+ <meta name="assert" content="The licensee element has INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007-ref.xht
new file mode 100644
index 0000000000..26fcbeaba5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element With class Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element has &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" class="class1 class2 class3" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007.xht
new file mode 100644
index 0000000000..474a9f2de2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-007.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid licensee Element With class Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-007-ref.xht" />
+ <meta name="assert" content="The licensee element has &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;licensee name="Licensee Name" class="class1 class2 class3" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008-ref.xht
new file mode 100644
index 0000000000..180897e68d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element occures more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008.xht
new file mode 100644
index 0000000000..22d4d71414
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-008.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-008-ref.xht" />
+ <meta name="assert" content="The licensee element occures more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009-ref.xht
new file mode 100644
index 0000000000..1aae1a582d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009.xht
new file mode 100644
index 0000000000..330c868ecd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-009-ref.xht" />
+ <meta name="assert" content="The licensee element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010-ref.xht
new file mode 100644
index 0000000000..ce0c0faef2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The licensee element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010.xht
new file mode 100644
index 0000000000..5410ec5724
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-licensee-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in licensee Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-licensee-010-ref.xht" />
+ <meta name="assert" content="The licensee element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-licensee-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001-ref.xht
new file mode 100644
index 0000000000..acfddb1a06
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001.xht
new file mode 100644
index 0000000000..a89f58ec42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-001.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-metadata-001-ref.xht" />
+ <meta name="assert" content="The metadata element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-metadata-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002-ref.xht
new file mode 100644
index 0000000000..44f7a50985
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Top element is Not metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The top element is &quot;INVALID&quot; instead of &quot;metadata&quot;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002.xht
new file mode 100644
index 0000000000..591e5cc73c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-002.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Top element is Not metadata</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-metadata-002-ref.xht" />
+ <meta name="assert" content="The top element is &quot;INVALID&quot; instead of &quot;metadata&quot;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-metadata-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003-ref.xht
new file mode 100644
index 0000000000..b0b95ccc03
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No version Attribute in metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata element does not contain the required version attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003.xht
new file mode 100644
index 0000000000..fe30a6a07f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-003.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No version Attribute in metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-metadata-003-ref.xht" />
+ <meta name="assert" content="The metadata element does not contain the required version attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-metadata-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004-ref.xht
new file mode 100644
index 0000000000..5f6cf03236
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid version Attribute Value in metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata element version attribute is set to 'ABC'." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004.xht
new file mode 100644
index 0000000000..148eaf597b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-004.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid version Attribute Value in metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-metadata-004-ref.xht" />
+ <meta name="assert" content="The metadata element version attribute is set to 'ABC'." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-metadata-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005-ref.xht
new file mode 100644
index 0000000000..2400dd1e2a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attrbute in metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005.xht
new file mode 100644
index 0000000000..0e098d541b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-005.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attrbute in metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-metadata-005-ref.xht" />
+ <meta name="assert" content="The metadata element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-metadata-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006-ref.xht
new file mode 100644
index 0000000000..6783ed032e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006.xht
new file mode 100644
index 0000000000..ddd56222b6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-metadata-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element metadata Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-metadata-006-ref.xht" />
+ <meta name="assert" content="The metadata element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-metadata-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001-ref.xht
new file mode 100644
index 0000000000..af7e199c35
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001.xht
new file mode 100644
index 0000000000..2a52024708
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-001.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One No Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-001-ref.xht" />
+ <meta name="assert" content="The trademark element matches the schema. It contains one text element that does not have a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002-ref.xht
new file mode 100644
index 0000000000..c74af76aa0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text xml:lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002.xht
new file mode 100644
index 0000000000..e060ebe1b1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-002.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One Language Tagged text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-002-ref.xht" />
+ <meta name="assert" content="The trademark element matches the schema. It contains one text element that has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text xml:lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003-ref.xht
new file mode 100644
index 0000000000..aea664632b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003.xht
new file mode 100644
index 0000000000..38615df5db
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-003.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One Language Tagged (using lang) text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-003-ref.xht" />
+ <meta name="assert" content="The trademark element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004-ref.xht
new file mode 100644
index 0000000000..95cf51e518
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004.xht
new file mode 100644
index 0000000000..951ee5f58e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-004.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Mixed text Element Language Tags 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-004-ref.xht" />
+ <meta name="assert" content="The trademark element matches the schema. One text element does not have a language tag. One text element has a language tag." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text xml:lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005-ref.xht
new file mode 100644
index 0000000000..4c1fe3f832
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005-ref.xht
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text xml:lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005.xht
new file mode 100644
index 0000000000..a27963ba62
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-005.xht
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Mixed text Element Language Tags 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-005-ref.xht" />
+ <meta name="assert" content="The trademark element matches the schema. Two text elements have a language tags." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text xml:lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text xml:lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006-ref.xht
new file mode 100644
index 0000000000..8ebe117ac4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006.xht
new file mode 100644
index 0000000000..352b7fc5a8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-006-ref.xht" />
+ <meta name="assert" content="The trademark element occurs more than once." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007-ref.xht
new file mode 100644
index 0000000000..915c6bf9c1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007.xht
new file mode 100644
index 0000000000..c526e028be
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-007.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No text Element in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-007-ref.xht" />
+ <meta name="assert" content="The trademark element does not contain a text child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008-ref.xht
new file mode 100644
index 0000000000..0a159d30df
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008.xht
new file mode 100644
index 0000000000..fc6d3f5127
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-008.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-008-ref.xht" />
+ <meta name="assert" content="The trademark element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009-ref.xht
new file mode 100644
index 0000000000..412af55098
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009.xht
new file mode 100644
index 0000000000..1d2652cf8e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-009.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-009-ref.xht" />
+ <meta name="assert" content="The trademark element contains an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010-ref.xht
new file mode 100644
index 0000000000..4d87a13a5f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010.xht
new file mode 100644
index 0000000000..1b9b49525c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in trademark Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-010-ref.xht" />
+ <meta name="assert" content="The trademark element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011-ref.xht
new file mode 100644
index 0000000000..8e147615f6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text dir="ltr"&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011.xht
new file mode 100644
index 0000000000..190cd156f5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-011.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-011-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text dir="ltr"&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012-ref.xht
new file mode 100644
index 0000000000..7572e21548
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text dir="rtl"&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012.xht
new file mode 100644
index 0000000000..781d63f40a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-012.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-012-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-012.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text dir="rtl"&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013-ref.xht
new file mode 100644
index 0000000000..37aec9cba4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid trademark Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013.xht
new file mode 100644
index 0000000000..a2c78fadc6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-013.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid trademark Element With dir Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-013-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-013.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014-ref.xht
new file mode 100644
index 0000000000..edcb775f98
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text class="class1 class2 class3"&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014.xht
new file mode 100644
index 0000000000..59c9a2c2ca
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-014.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With class Attribute in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-014-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-014.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text class="class1 class2 class3"&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015-ref.xht
new file mode 100644
index 0000000000..04d8c191c5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in trademark Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015.xht
new file mode 100644
index 0000000000..9fae1626ab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-015.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in trademark Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-015-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element with an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-015.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016-ref.xht
new file mode 100644
index 0000000000..0b7ace6a73
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in trademark Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016.xht
new file mode 100644
index 0000000000..de1a4e5679
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-016.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Child Element in trademark Element text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-016-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element with an unknown child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-016.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017-ref.xht
new file mode 100644
index 0000000000..af2409addc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017.xht
new file mode 100644
index 0000000000..c828624816
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-017.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-017-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-017.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018-ref.xht
new file mode 100644
index 0000000000..fe197c9c6c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018-ref.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018.xht
new file mode 100644
index 0000000000..c9f3d971b4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-018.xht
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Two div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-018-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains two div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-018.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div&gt;Paragraph 1&lt;/div&gt;
+ &lt;div&gt;Paragraph 2&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019-ref.xht
new file mode 100644
index 0000000000..ef78c16cae
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019.xht
new file mode 100644
index 0000000000..fd6b4739bb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-019.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Nested div Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-019-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains nested div elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-019.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div&gt;
+ div 1 start
+ &lt;div&gt;
+ div 2 start
+ &lt;div&gt;
+ div 3
+ &lt;/div&gt;
+ div 2 end
+ &lt;/div&gt;
+ div 1 end
+ &lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020-ref.xht
new file mode 100644
index 0000000000..dc68913f69
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020.xht
new file mode 100644
index 0000000000..9540cf3396
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-020.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in div Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-020-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-020.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021-ref.xht
new file mode 100644
index 0000000000..477658a45e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021.xht
new file mode 100644
index 0000000000..3197f14ffd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-021.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in div Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-021-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-021.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022-ref.xht
new file mode 100644
index 0000000000..d189b3f4cc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid trademark Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022.xht
new file mode 100644
index 0000000000..82b6bdc9a5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-022.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid trademark Element With dir Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-022-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-022.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023-ref.xht
new file mode 100644
index 0000000000..e1d76e87ec
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023.xht
new file mode 100644
index 0000000000..e147b7d9d9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-023.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With class Attribute in div Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-023-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a div element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-023.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024-ref.xht
new file mode 100644
index 0000000000..30cad4f139
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024.xht
new file mode 100644
index 0000000000..cb64cf6bc4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-024.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With One span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-024-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-024.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025-ref.xht
new file mode 100644
index 0000000000..ec4beb6911
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025.xht
new file mode 100644
index 0000000000..a637413ac4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-025.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Two span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-025-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains two span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-025.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026-ref.xht
new file mode 100644
index 0000000000..0d8d7e7845
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026.xht
new file mode 100644
index 0000000000..942a3a1ae2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-026.xht
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With Nested span Elements in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-026-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains nested span elements." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-026.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ &lt;span&gt;
+ span 1 start
+ &lt;span&gt;
+ span 2 start
+ &lt;span&gt;
+ span 3
+ &lt;/span&gt;
+ span 2 end
+ &lt;/span&gt;
+ span 1 end
+ &lt;/span&gt;
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027-ref.xht
new file mode 100644
index 0000000000..5befcb5b09
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027.xht
new file mode 100644
index 0000000000..913bd3dedb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-027.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in span Element in text Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-027-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-027.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028-ref.xht
new file mode 100644
index 0000000000..f19f63ca2f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028.xht
new file mode 100644
index 0000000000..4c87a16686
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-028.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With dir Attribute in span Element in text Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-028-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-028.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029-ref.xht
new file mode 100644
index 0000000000..1fe32f823b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid trademark Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029.xht
new file mode 100644
index 0000000000..e40eb5b9f6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-029.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid trademark Element With dir Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-029-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-029.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030-ref.xht
new file mode 100644
index 0000000000..2ec0c8bc05
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030-ref.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030.xht
new file mode 100644
index 0000000000..13d44c9d23
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-trademark-030.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid trademark Element With class Attribute in span Element in text Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-trademark-030-ref.xht" />
+ <meta name="assert" content="The trademark element contains a text element that contains a span element with &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-trademark-030.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001-ref.xht
new file mode 100644
index 0000000000..72d9e076d1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The uniqueid element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001.xht
new file mode 100644
index 0000000000..1d1bad5690
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-001.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-uniqueid-001-ref.xht" />
+ <meta name="assert" content="The uniqueid element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-uniqueid-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002-ref.xht
new file mode 100644
index 0000000000..235541f884
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002-ref.xht
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The uniqueid element doesn't exist." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002.xht
new file mode 100644
index 0000000000..daa99d93f6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-002.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-uniqueid-002-ref.xht" />
+ <meta name="assert" content="The uniqueid element doesn't exist." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-uniqueid-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003-ref.xht
new file mode 100644
index 0000000000..4fe2ce087e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The uniqueid element occurs twice." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003.xht
new file mode 100644
index 0000000000..8b7d3dfa1c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-003.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-uniqueid-003-ref.xht" />
+ <meta name="assert" content="The uniqueid element occurs twice." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-uniqueid-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005-ref.xht
new file mode 100644
index 0000000000..2808ec80fe
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The uniqueid element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005.xht
new file mode 100644
index 0000000000..f1adddd355
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-005.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-uniqueid-005-ref.xht" />
+ <meta name="assert" content="The uniqueid element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-uniqueid-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006-ref.xht
new file mode 100644
index 0000000000..6800d9f85b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The uniqueid element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006.xht
new file mode 100644
index 0000000000..8d80b0f6da
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-uniqueid-006-ref.xht" />
+ <meta name="assert" content="The uniqueid element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-uniqueid-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007-ref.xht
new file mode 100644
index 0000000000..baf4c71977
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The uniqueid element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007.xht
new file mode 100644
index 0000000000..a51f490950
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-uniqueid-007.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in uniqueid Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-uniqueid-007-ref.xht" />
+ <meta name="assert" content="The uniqueid element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-uniqueid-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001-ref.xht
new file mode 100644
index 0000000000..889ed26d85
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001.xht
new file mode 100644
index 0000000000..086089fcd9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-001.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-001-ref.xht" />
+ <meta name="assert" content="The vendor element matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002-ref.xht
new file mode 100644
index 0000000000..74f38a6eb8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid vendor Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element does not contain a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002.xht
new file mode 100644
index 0000000000..f2dc70146f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-002.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid vendor Element Without url Attribute</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-002-ref.xht" />
+ <meta name="assert" content="The vendor element does not contain a url attribute but it still matches the schema." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003-ref.xht
new file mode 100644
index 0000000000..acb1132619
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003-ref.xht
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element doesn't exist." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003.xht
new file mode 100644
index 0000000000..f6324eb4dc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-003.xht
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-003-ref.xht" />
+ <meta name="assert" content="The vendor element doesn't exist." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004-ref.xht
new file mode 100644
index 0000000000..885eb597a3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element occurs twice." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004.xht
new file mode 100644
index 0000000000..471ac25ae5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-004.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-004-ref.xht" />
+ <meta name="assert" content="The vendor element occurs twice." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006-ref.xht
new file mode 100644
index 0000000000..083cc04d59
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in vendor Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" dir="ltr" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006.xht
new file mode 100644
index 0000000000..88873b9700
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-006.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in vendor Element 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-006-ref.xht" />
+ <meta name="assert" content="The vendor element contains ltr as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" dir="ltr" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007-ref.xht
new file mode 100644
index 0000000000..1cb3909e1a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in vendor Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" dir="rtl" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007.xht
new file mode 100644
index 0000000000..dcc4f519ee
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-007.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid dir Attribute in vendor Element 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-007-ref.xht" />
+ <meta name="assert" content="The vendor element contains rtl as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" dir="rtl" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008-ref.xht
new file mode 100644
index 0000000000..17aecbdcd0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid dir Attribute in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008.xht
new file mode 100644
index 0000000000..d8a4ea7f2e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-008.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Invalid dir Attribute in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-008-ref.xht" />
+ <meta name="assert" content="The vendor element contains INVALID as the value for the dir attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009-ref.xht
new file mode 100644
index 0000000000..ae20d3c2d7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009-ref.xht
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid class Attribute in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" class="class1 class2 class3" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009.xht
new file mode 100644
index 0000000000..419f0aab4c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-009.xht
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid class Attribute in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-009-ref.xht" />
+ <meta name="assert" content="The vendor element contains &quot;class1 class2 class3&quot; as the value for the class attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-009.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" class="class1 class2 class3" /&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010-ref.xht
new file mode 100644
index 0000000000..f432446220
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010.xht
new file mode 100644
index 0000000000..3a6ea34612
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-010.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Attribute in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-010-ref.xht" />
+ <meta name="assert" content="The vendor element contains an unknown attribute." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-010.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011-ref.xht
new file mode 100644
index 0000000000..ca85a88d4d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011.xht
new file mode 100644
index 0000000000..acb06e7970
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-011.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Child Element in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-011-ref.xht" />
+ <meta name="assert" content="The vendor element contains a child element." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-011.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012-ref.xht
new file mode 100644
index 0000000000..eaa7418207
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The vendor element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012.xht
new file mode 100644
index 0000000000..35fe1bf54a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-schema-vendor-012.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Content in vendor Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-schema-vendor-012-ref.xht" />
+ <meta name="assert" content="The vendor element contains content." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-schema-vendor-012.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001-ref.xht
new file mode 100644
index 0000000000..fa727b98c8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unescaped &lt; in Content</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The text element in the description element contains an unescaped &lt;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001.xht
new file mode 100644
index 0000000000..e97bbbacca
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-001.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unescaped &lt; in Content</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-001-ref.xht" />
+ <meta name="assert" content="The text element in the description element contains an unescaped &lt;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002-ref.xht
new file mode 100644
index 0000000000..c2296b2a5c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unescaped &amp; in Content</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The text element in the description element contains an unescaped &amp;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002.xht
new file mode 100644
index 0000000000..16583b97bd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-002.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unescaped &amp; in Content</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-002-ref.xht" />
+ <meta name="assert" content="The text element in the description element contains an unescaped &amp;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003-ref.xht
new file mode 100644
index 0000000000..ce783be0a3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Mismatched Element Tags</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="One element begins with &lt;description&gt; but ends with &lt;/mismatch&gt;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003.xht
new file mode 100644
index 0000000000..c7e45ae07b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-003.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Mismatched Element Tags</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-003-ref.xht" />
+ <meta name="assert" content="One element begins with &lt;description&gt; but ends with &lt;/mismatch&gt;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004-ref.xht
new file mode 100644
index 0000000000..3f9fc913bf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unclosed Element Tag</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The text element element in the description element is not closed." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004.xht
new file mode 100644
index 0000000000..5f04b21e79
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-004.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unclosed Element Tag</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-004-ref.xht" />
+ <meta name="assert" content="The text element element in the description element is not closed." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005-ref.xht
new file mode 100644
index 0000000000..76c7138598
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Case Mismatch in Element Tags</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The &lt;description&gt; element is closed with &lt;DESCRIPTION&gt;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005.xht
new file mode 100644
index 0000000000..616e527521
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-005.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Case Mismatch in Element Tags</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-005-ref.xht" />
+ <meta name="assert" content="The &lt;description&gt; element is closed with &lt;DESCRIPTION&gt;." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006-ref.xht
new file mode 100644
index 0000000000..3fc5cc78d2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One Root Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The metadata root element occurs twice." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006.xht
new file mode 100644
index 0000000000..a245c0ed28
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-006.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: More Than One Root Element</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-006-ref.xht" />
+ <meta name="assert" content="The metadata root element occurs twice." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007-ref.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007-ref.xht
new file mode 100644
index 0000000000..92db0bbf80
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Encoding</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The xml encoding is set to 'VSCACS-GFV-X-CQ34QTAB2Q-IS-NOT-A-VALID-ENCODING'." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007.xht b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007.xht
new file mode 100644
index 0000000000..854cf67ef8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/metadatadisplay-well-formed-007.xht
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Unknown Encoding</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="metadatadisplay-well-formed-007-ref.xht" />
+ <meta name="assert" content="The xml encoding is set to 'VSCACS-GFV-X-CQ34QTAB2Q-IS-NOT-A-VALID-ENCODING'." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/metadatadisplay-well-formed-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001-ref.xht b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001-ref.xht
new file mode 100644
index 0000000000..ff52caee24
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No Private Data Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Private" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The file has no private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001.xht b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001.xht
new file mode 100644
index 0000000000..9a9cc04f68
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: No Private Data Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Private" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="privatedata-noeffect-001-ref.xht" />
+ <meta name="assert" content="The file has no private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/privatedata-noeffect-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002-ref.xht b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002-ref.xht
new file mode 100644
index 0000000000..5f17e1f32c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Private Data Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Private" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The file has private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002.xht b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002.xht
new file mode 100644
index 0000000000..fbcd9beb2e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/privatedata-noeffect-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Private Data Present</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Private" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="privatedata-noeffect-002-ref.xht" />
+ <meta name="assert" content="The file has private data." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/privatedata-noeffect-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Fallback.otf b/testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Fallback.otf
new file mode 100644
index 0000000000..7225032d10
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Fallback.otf
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Reference.otf b/testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Reference.otf
new file mode 100644
index 0000000000..a37627113f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/SFNT-CFF-Reference.otf
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Fallback.ttf b/testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Fallback.ttf
new file mode 100644
index 0000000000..9e1695ba4e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Fallback.ttf
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Reference.ttf b/testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Reference.ttf
new file mode 100644
index 0000000000..be8054a216
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/SFNT-TTF-Reference.ttf
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/available-001a.xht b/testing/web-platform/tests/css/WOFF2/support/available-001a.xht
new file mode 100644
index 0000000000..6d0ad65936
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/available-001a.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font access</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="author" title="Chris Lilley" href="http://www.w3.org/People" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#General" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-css3font-available" />
+ <meta name="flags" content="interact" />
+ <meta name="assert" content="Linked fonts are only available to the documents that reference them." />
+ <style type="text/css"><![CDATA[
+ @import url("test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("valid-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/support/available-001b.xht b/testing/web-platform/tests/css/WOFF2/support/available-001b.xht
new file mode 100644
index 0000000000..189a89677a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/available-001b.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font access</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="author" title="Chris Lilley" href="http://www.w3.org/People" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#General" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-css3font-available" />
+ <meta name="flags" content="interact" />
+ <meta name="assert" content="Linked fonts are only available to the documents that reference them." />
+ <style type="text/css"><![CDATA[
+ @import url("test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/support/available-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/available-002.woff2
new file mode 100644
index 0000000000..eb4f782186
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/available-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/available-002a.xht b/testing/web-platform/tests/css/WOFF2/support/available-002a.xht
new file mode 100644
index 0000000000..e66aa54160
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/available-002a.xht
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font access</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustLoadFontCollection" />
+ <meta name="flags" content="interact" />
+ <meta name="assert" content="Fonts must be loaded from font collections." />
+ <style type="text/css"><![CDATA[
+ @import url("test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("available-002.woff2#1") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/support/available-002b.xht b/testing/web-platform/tests/css/WOFF2/support/available-002b.xht
new file mode 100644
index 0000000000..f8a8b770fd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/available-002b.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font access</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustLoadFontCollection" />
+ <meta name="assert" content="Fonts must be loaded from font collections." />
+ <style type="text/css"><![CDATA[
+ @import url("test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("available-002.woff2#2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-001.woff2
new file mode 100644
index 0000000000..76aafe17a4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-002.woff2
new file mode 100644
index 0000000000..ccead9a6e7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-003.woff2
new file mode 100644
index 0000000000..0583baed84
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-004.woff2
new file mode 100644
index 0000000000..712bd0ba7c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-005.woff2
new file mode 100644
index 0000000000..801d42693c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-006.woff2
new file mode 100644
index 0000000000..a94e792aa4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-007.woff2
new file mode 100644
index 0000000000..e051190001
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-008.woff2
new file mode 100644
index 0000000000..2a844d2eda
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-extraneous-data-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-001.woff2
new file mode 100644
index 0000000000..21e2b9666c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-002.woff2
new file mode 100644
index 0000000000..507ee6ac05
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-003.woff2
new file mode 100644
index 0000000000..f707055e9b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/blocks-overlap-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/datatypes-alt-255uint16-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/datatypes-alt-255uint16-001.woff2
new file mode 100644
index 0000000000..4943071f15
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/datatypes-alt-255uint16-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-001.woff2
new file mode 100644
index 0000000000..88fcbde5c5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-002.woff2
new file mode 100644
index 0000000000..efcb700363
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-003.woff2
new file mode 100644
index 0000000000..e2dbab6980
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/datatypes-invalid-base128-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/directory-knowntags-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/directory-knowntags-001.woff2
new file mode 100644
index 0000000000..4995d9cba7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/directory-knowntags-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/directory-mismatched-tables-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/directory-mismatched-tables-001.woff2
new file mode 100644
index 0000000000..e9863dfb82
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/directory-mismatched-tables-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-length-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-length-001.woff2
new file mode 100644
index 0000000000..7d74df9da0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-length-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-length-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-length-002.woff2
new file mode 100644
index 0000000000..da64021eaa
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-length-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-numTables-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-numTables-001.woff2
new file mode 100644
index 0000000000..63e54768b4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-numTables-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-reserved-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-reserved-001.woff2
new file mode 100644
index 0000000000..3deb2f9ae4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-reserved-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-signature-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-signature-001.woff2
new file mode 100644
index 0000000000..c8cc130718
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-signature-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-001.woff2
new file mode 100644
index 0000000000..9562ec61f0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-002.woff2
new file mode 100644
index 0000000000..28b1f1c2ab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/header-totalsfntsize-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/index.css b/testing/web-platform/tests/css/WOFF2/support/index.css
new file mode 100644
index 0000000000..f18ab134ae
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/index.css
@@ -0,0 +1,104 @@
+body {
+ font-family: "Helvetica Neue", "Helvetica", sans-serif;
+ line-height: 175%;
+ font-size: 15px;
+ padding: 20px;
+}
+
+p {
+ margin: 0px;
+ padding: 0px;
+}
+
+a {
+ color: black;
+ border-bottom: 1px solid #CCC;
+ text-decoration: none;
+}
+
+a:hover {
+ background-color: #FF9;
+}
+
+/* super headline */
+
+h1 {
+ font-size: 30px;
+ font-weight: bold;
+ margin: 0px;
+ padding: 0px 0px 20px 0px;
+}
+
+.mainNote {
+ margin: 0px;
+ padding: 15px 0px 15px 0px;
+ border-top: 1px solid #CCC;
+}
+
+/* test category */
+
+h2.testCategory {
+ padding: 5px 0px 5px 10px;
+ margin: 40px 0px 14px 0px;
+ color: white;
+ background-color: black;
+ font-size: 15px;
+ font-weight: bold;
+
+}
+
+.testCategoryNote {
+ background-color: #e6e6e6;
+ padding: 5px 10px 5px 10px;
+}
+
+/* test case */
+
+.testCase {
+ border-bottom: 3px solid black;
+ margin: 15px 0px 0px 0px;
+ padding: 0px 0px 15px 0px;
+}
+
+/* test case overview */
+
+.testCaseOverview {
+ padding: 0px 0px 10px 0px;
+}
+
+.testCaseOverview h3 {
+ font-size: 15px;
+ font-weight: bold;
+ margin: 0px;
+ padding: 0px;
+}
+
+/* test case details */
+
+.testCaseDetails {
+ border-top: 1px solid #CCC;
+ padding: 10px 0px 0px 0px;
+}
+
+.testCaseDetails p {
+ padding: 2px 0px 2px 0px;
+}
+
+/* test case pages */
+
+.testCasePages {
+ float: left;
+ width: 50%;
+}
+
+.testCasePages a {
+ color: red;
+}
+
+/* test case expectations */
+
+.testCaseExpectations {
+ display: inline-block;
+ width: 50%;
+}
+
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-001.woff2
new file mode 100644
index 0000000000..5d58008f42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-002.woff2
new file mode 100644
index 0000000000..22690fa60c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadata-noeffect-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-authoritative-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-authoritative-001.woff2
new file mode 100644
index 0000000000..4a74a4b180
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-authoritative-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-001.woff2
new file mode 100644
index 0000000000..283d2ee9d8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-002.woff2
new file mode 100644
index 0000000000..eb2fc18f68
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-003.woff2
new file mode 100644
index 0000000000..1bb3083d0b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-004.woff2
new file mode 100644
index 0000000000..85a65b3e57
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-005.woff2
new file mode 100644
index 0000000000..88a5d37c6e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-006.woff2
new file mode 100644
index 0000000000..341b44a888
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-encoding-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-001.woff2
new file mode 100644
index 0000000000..3de0c62370
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-002.woff2
new file mode 100644
index 0000000000..fd408441c5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-003.woff2
new file mode 100644
index 0000000000..df62b3f530
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-004.woff2
new file mode 100644
index 0000000000..7ddfc508a2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-005.woff2
new file mode 100644
index 0000000000..a5aa49e277
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-006.woff2
new file mode 100644
index 0000000000..7ef699e319
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-007.woff2
new file mode 100644
index 0000000000..03da654f1c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-008.woff2
new file mode 100644
index 0000000000..b44c517ae9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-009.woff2
new file mode 100644
index 0000000000..f5615e4254
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-010.woff2
new file mode 100644
index 0000000000..eb78398374
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-011.woff2
new file mode 100644
index 0000000000..3321a7a4ab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-012.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-012.woff2
new file mode 100644
index 0000000000..d7800702cf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-012.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-013.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-013.woff2
new file mode 100644
index 0000000000..6ca29ccc7c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-013.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-014.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-014.woff2
new file mode 100644
index 0000000000..5068ada00b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-014.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-015.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-015.woff2
new file mode 100644
index 0000000000..1e934b9b8b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-015.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-016.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-016.woff2
new file mode 100644
index 0000000000..a0fd48bf97
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-016.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-017.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-017.woff2
new file mode 100644
index 0000000000..e365f3f12b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-017.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-018.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-018.woff2
new file mode 100644
index 0000000000..a19829f497
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-018.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-019.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-019.woff2
new file mode 100644
index 0000000000..67a8f0b8fa
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-019.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-020.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-020.woff2
new file mode 100644
index 0000000000..ac255152bd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-020.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-021.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-021.woff2
new file mode 100644
index 0000000000..36fa96e8e0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-021.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-022.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-022.woff2
new file mode 100644
index 0000000000..a15942e53a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-022.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-023.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-023.woff2
new file mode 100644
index 0000000000..bea156340e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-023.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-024.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-024.woff2
new file mode 100644
index 0000000000..8246a3ae8e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-024.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-025.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-025.woff2
new file mode 100644
index 0000000000..694283ce9c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-025.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-026.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-026.woff2
new file mode 100644
index 0000000000..248cf7e2d4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-026.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-027.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-027.woff2
new file mode 100644
index 0000000000..7bc046722d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-027.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-028.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-028.woff2
new file mode 100644
index 0000000000..a5818ca400
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-028.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-029.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-029.woff2
new file mode 100644
index 0000000000..8303382b01
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-029.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-030.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-030.woff2
new file mode 100644
index 0000000000..84ab966251
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-copyright-030.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-001.woff2
new file mode 100644
index 0000000000..9cc7529448
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-002.woff2
new file mode 100644
index 0000000000..cf37a5fd33
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-003.woff2
new file mode 100644
index 0000000000..40d4b0daca
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-004.woff2
new file mode 100644
index 0000000000..c856aea307
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-005.woff2
new file mode 100644
index 0000000000..0544ef5453
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-006.woff2
new file mode 100644
index 0000000000..7f53a9399e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-007.woff2
new file mode 100644
index 0000000000..991dd8c40c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-008.woff2
new file mode 100644
index 0000000000..3c49031da8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-009.woff2
new file mode 100644
index 0000000000..1ed7077843
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-010.woff2
new file mode 100644
index 0000000000..d58f1bd60b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-011.woff2
new file mode 100644
index 0000000000..f2d5d8cc20
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credit-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-001.woff2
new file mode 100644
index 0000000000..9cc7529448
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-002.woff2
new file mode 100644
index 0000000000..14843a1ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-003.woff2
new file mode 100644
index 0000000000..d0a0cf364f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-004.woff2
new file mode 100644
index 0000000000..a3da9a33d3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-005.woff2
new file mode 100644
index 0000000000..83740b59d7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-006.woff2
new file mode 100644
index 0000000000..01def2d48f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-007.woff2
new file mode 100644
index 0000000000..1c00a6573f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-credits-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-001.woff2
new file mode 100644
index 0000000000..d89586d062
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-002.woff2
new file mode 100644
index 0000000000..ea8963e733
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-003.woff2
new file mode 100644
index 0000000000..d89586d062
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-004.woff2
new file mode 100644
index 0000000000..7077db760b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-005.woff2
new file mode 100644
index 0000000000..8e20753988
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-006.woff2
new file mode 100644
index 0000000000..1e73a4ec48
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-007.woff2
new file mode 100644
index 0000000000..485b0367aa
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-008.woff2
new file mode 100644
index 0000000000..7ef80d21ce
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-009.woff2
new file mode 100644
index 0000000000..57380d3721
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-010.woff2
new file mode 100644
index 0000000000..e2534e6bb7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-011.woff2
new file mode 100644
index 0000000000..83088097ad
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-012.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-012.woff2
new file mode 100644
index 0000000000..e4748afbf6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-012.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-013.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-013.woff2
new file mode 100644
index 0000000000..749b580260
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-013.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-014.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-014.woff2
new file mode 100644
index 0000000000..e7b4a42b53
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-014.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-015.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-015.woff2
new file mode 100644
index 0000000000..126341e1e3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-015.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-016.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-016.woff2
new file mode 100644
index 0000000000..6eb5f00fd2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-016.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-017.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-017.woff2
new file mode 100644
index 0000000000..b407c6510d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-017.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-018.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-018.woff2
new file mode 100644
index 0000000000..1c52af70ff
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-018.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-019.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-019.woff2
new file mode 100644
index 0000000000..7502162314
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-019.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-020.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-020.woff2
new file mode 100644
index 0000000000..aa531d0601
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-020.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-021.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-021.woff2
new file mode 100644
index 0000000000..547bd35863
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-021.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-022.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-022.woff2
new file mode 100644
index 0000000000..87619ce40a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-022.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-023.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-023.woff2
new file mode 100644
index 0000000000..e67d76ad68
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-023.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-024.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-024.woff2
new file mode 100644
index 0000000000..1928373cab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-024.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-025.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-025.woff2
new file mode 100644
index 0000000000..f1e5fc3c62
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-025.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-026.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-026.woff2
new file mode 100644
index 0000000000..ba90f17002
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-026.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-027.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-027.woff2
new file mode 100644
index 0000000000..137577da08
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-027.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-028.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-028.woff2
new file mode 100644
index 0000000000..0740a829dc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-028.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-029.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-029.woff2
new file mode 100644
index 0000000000..7e46e579e0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-029.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-030.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-030.woff2
new file mode 100644
index 0000000000..cebb1f9588
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-030.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-031.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-031.woff2
new file mode 100644
index 0000000000..c15cb11439
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-031.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-032.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-032.woff2
new file mode 100644
index 0000000000..84f24aff12
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-description-032.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-001.woff2
new file mode 100644
index 0000000000..6948f9833e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-002.woff2
new file mode 100644
index 0000000000..5346fa5f17
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-003.woff2
new file mode 100644
index 0000000000..f03f6fb8dc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-004.woff2
new file mode 100644
index 0000000000..b5e71b0605
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-005.woff2
new file mode 100644
index 0000000000..3ae7e59dfe
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-006.woff2
new file mode 100644
index 0000000000..7d03f6bac5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-007.woff2
new file mode 100644
index 0000000000..e245de2f37
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-008.woff2
new file mode 100644
index 0000000000..638782a833
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-009.woff2
new file mode 100644
index 0000000000..9b1c65a324
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-010.woff2
new file mode 100644
index 0000000000..895f71befc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-011.woff2
new file mode 100644
index 0000000000..cf1b2f8053
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-012.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-012.woff2
new file mode 100644
index 0000000000..b889848399
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-012.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-013.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-013.woff2
new file mode 100644
index 0000000000..efbd72b439
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-013.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-014.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-014.woff2
new file mode 100644
index 0000000000..ec50171154
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-014.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-015.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-015.woff2
new file mode 100644
index 0000000000..d80428f2ec
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-015.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-016.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-016.woff2
new file mode 100644
index 0000000000..fd15f542a1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-016.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-017.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-017.woff2
new file mode 100644
index 0000000000..fb106638fe
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-017.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-018.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-018.woff2
new file mode 100644
index 0000000000..44f4b8681b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-018.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-019.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-019.woff2
new file mode 100644
index 0000000000..24800911bf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-019.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-020.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-020.woff2
new file mode 100644
index 0000000000..095aac37e4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-020.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-021.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-021.woff2
new file mode 100644
index 0000000000..b889848399
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-021.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-022.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-022.woff2
new file mode 100644
index 0000000000..0126e1b88c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-022.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-023.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-023.woff2
new file mode 100644
index 0000000000..9aa1c1fa23
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-023.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-024.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-024.woff2
new file mode 100644
index 0000000000..9d14049d62
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-024.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-025.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-025.woff2
new file mode 100644
index 0000000000..fcc4e90a9c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-025.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-026.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-026.woff2
new file mode 100644
index 0000000000..0d472513da
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-026.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-027.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-027.woff2
new file mode 100644
index 0000000000..1b21ce73c9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-027.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-028.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-028.woff2
new file mode 100644
index 0000000000..d27677299a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-028.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-029.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-029.woff2
new file mode 100644
index 0000000000..31a78bc9bf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-029.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-030.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-030.woff2
new file mode 100644
index 0000000000..c8c08d7324
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-030.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-031.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-031.woff2
new file mode 100644
index 0000000000..5dbf211026
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-031.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-032.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-032.woff2
new file mode 100644
index 0000000000..86c1a5b445
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-032.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-033.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-033.woff2
new file mode 100644
index 0000000000..b889848399
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-033.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-034.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-034.woff2
new file mode 100644
index 0000000000..1a6e947bd9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-034.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-035.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-035.woff2
new file mode 100644
index 0000000000..e209c24d2c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-035.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-036.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-036.woff2
new file mode 100644
index 0000000000..d351509e21
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-036.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-037.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-037.woff2
new file mode 100644
index 0000000000..b1eba6411d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-037.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-038.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-038.woff2
new file mode 100644
index 0000000000..f1eb381b1d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-038.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-039.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-039.woff2
new file mode 100644
index 0000000000..737d02b212
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-039.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-040.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-040.woff2
new file mode 100644
index 0000000000..76b2b91f26
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-040.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-041.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-041.woff2
new file mode 100644
index 0000000000..4705f006de
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-041.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-042.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-042.woff2
new file mode 100644
index 0000000000..b889848399
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-042.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-043.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-043.woff2
new file mode 100644
index 0000000000..f1ed2d0f54
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-043.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-044.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-044.woff2
new file mode 100644
index 0000000000..0dcd6158f9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-044.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-045.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-045.woff2
new file mode 100644
index 0000000000..e6c886a6e2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-045.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-046.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-046.woff2
new file mode 100644
index 0000000000..4046ca9453
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-046.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-047.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-047.woff2
new file mode 100644
index 0000000000..b8cf58bca0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-047.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-048.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-048.woff2
new file mode 100644
index 0000000000..b990969e6a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-048.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-049.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-049.woff2
new file mode 100644
index 0000000000..5ffd213f8d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-049.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-050.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-050.woff2
new file mode 100644
index 0000000000..2b8cdc52fb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-extension-050.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-001.woff2
new file mode 100644
index 0000000000..5858014ddb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-002.woff2
new file mode 100644
index 0000000000..4d20ceafd0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-003.woff2
new file mode 100644
index 0000000000..4841cbc44f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-004.woff2
new file mode 100644
index 0000000000..5858014ddb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-005.woff2
new file mode 100644
index 0000000000..d1721a4e9a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-006.woff2
new file mode 100644
index 0000000000..4539d30322
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-007.woff2
new file mode 100644
index 0000000000..46681f911f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-008.woff2
new file mode 100644
index 0000000000..0016956558
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-009.woff2
new file mode 100644
index 0000000000..debbcbbd24
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-010.woff2
new file mode 100644
index 0000000000..ff2112ecc2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-011.woff2
new file mode 100644
index 0000000000..c59e361c01
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-012.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-012.woff2
new file mode 100644
index 0000000000..cf1e3ab615
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-012.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-013.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-013.woff2
new file mode 100644
index 0000000000..edc1c8c91a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-013.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-014.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-014.woff2
new file mode 100644
index 0000000000..85058c21b8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-014.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-015.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-015.woff2
new file mode 100644
index 0000000000..98797e8642
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-015.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-016.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-016.woff2
new file mode 100644
index 0000000000..637a71d665
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-016.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-017.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-017.woff2
new file mode 100644
index 0000000000..226a3b396e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-017.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-018.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-018.woff2
new file mode 100644
index 0000000000..135d9109ab
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-018.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-019.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-019.woff2
new file mode 100644
index 0000000000..ad449957df
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-019.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-020.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-020.woff2
new file mode 100644
index 0000000000..33c3c7e3ae
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-020.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-021.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-021.woff2
new file mode 100644
index 0000000000..2feafa73df
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-021.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-022.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-022.woff2
new file mode 100644
index 0000000000..b6fae9fb84
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-022.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-023.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-023.woff2
new file mode 100644
index 0000000000..ff6897ba2d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-023.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-024.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-024.woff2
new file mode 100644
index 0000000000..7f26d3cfd3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-024.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-025.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-025.woff2
new file mode 100644
index 0000000000..4d9dce0996
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-025.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-026.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-026.woff2
new file mode 100644
index 0000000000..c346955df8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-026.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-027.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-027.woff2
new file mode 100644
index 0000000000..ca09b26352
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-027.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-028.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-028.woff2
new file mode 100644
index 0000000000..d1b957d240
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-028.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-029.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-029.woff2
new file mode 100644
index 0000000000..e2a6a9c7ad
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-029.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-030.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-030.woff2
new file mode 100644
index 0000000000..c55988204e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-030.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-031.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-031.woff2
new file mode 100644
index 0000000000..83b884f130
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-031.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-032.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-032.woff2
new file mode 100644
index 0000000000..338a62d607
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-032.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-033.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-033.woff2
new file mode 100644
index 0000000000..b0a1b14de3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-license-033.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-001.woff2
new file mode 100644
index 0000000000..0301fef037
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-002.woff2
new file mode 100644
index 0000000000..13c49e719d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-003.woff2
new file mode 100644
index 0000000000..205c7c5cf0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-004.woff2
new file mode 100644
index 0000000000..7aa0a508c8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-005.woff2
new file mode 100644
index 0000000000..75e028809f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-006.woff2
new file mode 100644
index 0000000000..2a8ce5d436
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-007.woff2
new file mode 100644
index 0000000000..4b282ccdfb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-008.woff2
new file mode 100644
index 0000000000..74c140fc9e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-009.woff2
new file mode 100644
index 0000000000..6bea203556
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-010.woff2
new file mode 100644
index 0000000000..dd3ee1d380
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-licensee-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-001.woff2
new file mode 100644
index 0000000000..283d2ee9d8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-002.woff2
new file mode 100644
index 0000000000..43161713de
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-003.woff2
new file mode 100644
index 0000000000..ef948e5aeb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-004.woff2
new file mode 100644
index 0000000000..293759167f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-005.woff2
new file mode 100644
index 0000000000..4536e3c08a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-006.woff2
new file mode 100644
index 0000000000..cf47c93e18
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-metadata-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-001.woff2
new file mode 100644
index 0000000000..9d2454474a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-002.woff2
new file mode 100644
index 0000000000..b6b484ca44
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-003.woff2
new file mode 100644
index 0000000000..d6ea1a2377
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-004.woff2
new file mode 100644
index 0000000000..05cd69103a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-005.woff2
new file mode 100644
index 0000000000..62a1c2a74c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-006.woff2
new file mode 100644
index 0000000000..14e4f1fffb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-007.woff2
new file mode 100644
index 0000000000..8f1eba24f2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-008.woff2
new file mode 100644
index 0000000000..14296d3542
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-009.woff2
new file mode 100644
index 0000000000..277b4047c1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-010.woff2
new file mode 100644
index 0000000000..ba42bc4a28
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-011.woff2
new file mode 100644
index 0000000000..5c602c39fa
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-012.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-012.woff2
new file mode 100644
index 0000000000..f9f3880e4b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-012.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-013.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-013.woff2
new file mode 100644
index 0000000000..42dc268948
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-013.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-014.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-014.woff2
new file mode 100644
index 0000000000..9448e63c42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-014.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-015.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-015.woff2
new file mode 100644
index 0000000000..1a85ed0a49
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-015.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-016.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-016.woff2
new file mode 100644
index 0000000000..83a64f01e4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-016.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-017.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-017.woff2
new file mode 100644
index 0000000000..9192eacc0a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-017.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-018.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-018.woff2
new file mode 100644
index 0000000000..ff6d9731ff
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-018.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-019.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-019.woff2
new file mode 100644
index 0000000000..902e4c5bc3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-019.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-020.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-020.woff2
new file mode 100644
index 0000000000..d162c625ca
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-020.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-021.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-021.woff2
new file mode 100644
index 0000000000..c9e3dc7347
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-021.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-022.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-022.woff2
new file mode 100644
index 0000000000..9a82a99692
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-022.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-023.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-023.woff2
new file mode 100644
index 0000000000..ad2f21a409
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-023.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-024.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-024.woff2
new file mode 100644
index 0000000000..9db7db0e7d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-024.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-025.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-025.woff2
new file mode 100644
index 0000000000..98ebe57a78
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-025.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-026.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-026.woff2
new file mode 100644
index 0000000000..2e7d038947
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-026.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-027.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-027.woff2
new file mode 100644
index 0000000000..fe17b177d8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-027.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-028.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-028.woff2
new file mode 100644
index 0000000000..9628b9fee1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-028.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-029.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-029.woff2
new file mode 100644
index 0000000000..da50b99b95
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-029.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-030.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-030.woff2
new file mode 100644
index 0000000000..2f91601dd9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-trademark-030.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-001.woff2
new file mode 100644
index 0000000000..283d2ee9d8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-002.woff2
new file mode 100644
index 0000000000..0b2c6128bd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-003.woff2
new file mode 100644
index 0000000000..172a7a6f61
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-005.woff2
new file mode 100644
index 0000000000..0aa1843535
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-006.woff2
new file mode 100644
index 0000000000..5994e3de04
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-007.woff2
new file mode 100644
index 0000000000..0dbf9dab0c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-uniqueid-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-001.woff2
new file mode 100644
index 0000000000..246ace833f
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-002.woff2
new file mode 100644
index 0000000000..b677524652
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-003.woff2
new file mode 100644
index 0000000000..0b2c6128bd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-004.woff2
new file mode 100644
index 0000000000..ddbb042d99
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-006.woff2
new file mode 100644
index 0000000000..6ad67ce522
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-007.woff2
new file mode 100644
index 0000000000..69d00b179c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-008.woff2
new file mode 100644
index 0000000000..bcb65d0096
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-009.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-009.woff2
new file mode 100644
index 0000000000..cb52b5aac7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-009.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-010.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-010.woff2
new file mode 100644
index 0000000000..20cf3d7778
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-010.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-011.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-011.woff2
new file mode 100644
index 0000000000..f0d677e5e5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-011.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-012.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-012.woff2
new file mode 100644
index 0000000000..10f9befce9
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-schema-vendor-012.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-001.woff2
new file mode 100644
index 0000000000..c95e45f2ba
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-002.woff2
new file mode 100644
index 0000000000..70f2e6e212
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-003.woff2
new file mode 100644
index 0000000000..7dbcd763af
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-004.woff2
new file mode 100644
index 0000000000..6401f50fdc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-005.woff2
new file mode 100644
index 0000000000..60a6045723
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-006.woff2
new file mode 100644
index 0000000000..2167fc46e7
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-007.woff2
new file mode 100644
index 0000000000..c7a4fa51c8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/metadatadisplay-well-formed-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-001.woff2
new file mode 100644
index 0000000000..5d58008f42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-002.woff2
new file mode 100644
index 0000000000..3bcc869656
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/privatedata-noeffect-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-001.woff2
new file mode 100644
index 0000000000..091b9ec802
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-002.woff2
new file mode 100644
index 0000000000..60988d760d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-bad-origlength-loca-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-brotli-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-brotli-001.woff2
new file mode 100644
index 0000000000..b9d7cbb9ec
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-brotli-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-001.woff2
new file mode 100644
index 0000000000..f341a2fa3e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-002.woff2
new file mode 100644
index 0000000000..881a7722dc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-003.woff2
new file mode 100644
index 0000000000..96712817fd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-004.woff2
new file mode 100644
index 0000000000..422f635c1b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-decompressed-length-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-extraneous-data-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-extraneous-data-001.woff2
new file mode 100644
index 0000000000..a8d5f67e69
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-extraneous-data-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-001.woff2
new file mode 100644
index 0000000000..5d58008f42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-002.woff2
new file mode 100644
index 0000000000..f46a4a4019
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-003.woff2
new file mode 100644
index 0000000000..5b4c29e0b0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-bbox-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-001.woff2
new file mode 100644
index 0000000000..d8c1259822
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-002.woff2
new file mode 100644
index 0000000000..353d1f7f0d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-003.woff2
new file mode 100644
index 0000000000..9bd964d202
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-glyf-origlength-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-non-zero-loca-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-non-zero-loca-001.woff2
new file mode 100644
index 0000000000..b9620297c8
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-non-zero-loca-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-recontruct-loca-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-recontruct-loca-001.woff2
new file mode 100644
index 0000000000..79024f8b94
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-recontruct-loca-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-001.woff2
new file mode 100644
index 0000000000..245b6da888
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-002.woff2
new file mode 100644
index 0000000000..714ea1effd
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-bad-flag-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-001.woff2
new file mode 100644
index 0000000000..da5a794ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-002.woff2
new file mode 100644
index 0000000000..da5a794ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-003.woff2
new file mode 100644
index 0000000000..035abc9dbb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-004.woff2
new file mode 100644
index 0000000000..98b2cf4902
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/tabledata-transform-hmtx-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/test-fonts.css b/testing/web-platform/tests/css/WOFF2/support/test-fonts.css
new file mode 100644
index 0000000000..477f4428cc
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/test-fonts.css
@@ -0,0 +1,19 @@
+@font-face {
+ font-family: "WOFF Test CFF Fallback";
+ src: url("SFNT-CFF-Fallback.otf") format("opentype");
+}
+
+@font-face {
+ font-family: "WOFF Test CFF Reference";
+ src: url("SFNT-CFF-Reference.otf") format("opentype");
+}
+
+@font-face {
+ font-family: "WOFF Test TTF Fallback";
+ src: url("SFNT-TTF-Fallback.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: "WOFF Test TTF Reference";
+ src: url("SFNT-TTF-Reference.ttf") format("truetype");
+}
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-001.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-001.woff2
new file mode 100644
index 0000000000..5d58008f42
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-001.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-002.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-002.woff2
new file mode 100644
index 0000000000..22690fa60c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-002.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-003.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-003.woff2
new file mode 100644
index 0000000000..3bcc869656
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-003.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-004.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-004.woff2
new file mode 100644
index 0000000000..1980e78191
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-004.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-005.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-005.woff2
new file mode 100644
index 0000000000..da5a794ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-005.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-006.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-006.woff2
new file mode 100644
index 0000000000..da5a794ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-006.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-007.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-007.woff2
new file mode 100644
index 0000000000..da5a794ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-007.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/support/valid-008.woff2 b/testing/web-platform/tests/css/WOFF2/support/valid-008.woff2
new file mode 100644
index 0000000000..da5a794ef3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/support/valid-008.woff2
Binary files differ
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001-ref.xht
new file mode 100644
index 0000000000..4d916f251e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Small Loca Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The origLength of the loca table is 4 bytes less than the calculated size" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001.xht
new file mode 100644
index 0000000000..d1f6782894
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Small Loca Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-bad-origlength-loca-001-ref.xht" />
+ <meta name="assert" content="The origLength of the loca table is 4 bytes less than the calculated size" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-bad-origlength-loca-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002-ref.xht
new file mode 100644
index 0000000000..ef03c56f14
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Large Loca Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The origLength of the loca table is 4 bytes more than the calculated size" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002.xht b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002.xht
new file mode 100644
index 0000000000..f331212726
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-bad-origlength-loca-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Large Loca Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-bad-origlength-loca-002-ref.xht" />
+ <meta name="assert" content="The origLength of the loca table is 4 bytes more than the calculated size" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-bad-origlength-loca-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-brotli-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-brotli-001-ref.xht
new file mode 100644
index 0000000000..ad11214b8e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-brotli-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Invalid Compressed Data</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailDecompress" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Font table data is compressed with zlib instead of Brotli." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-brotli-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-brotli-001.xht
new file mode 100644
index 0000000000..7be424a673
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-brotli-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Invalid Compressed Data</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailDecompress" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-brotli-001-ref.xht" />
+ <meta name="assert" content="Font table data is compressed with zlib instead of Brotli." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-brotli-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001-ref.xht
new file mode 100644
index 0000000000..44f27a1aed
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Less Than Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The original length of the first table in the directory is increased by 1, making the decompressed length of the table data less than the sum of original table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001.xht
new file mode 100644
index 0000000000..08bf25e55a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Less Than Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-decompressed-length-001-ref.xht" />
+ <meta name="assert" content="The original length of the first table in the directory is increased by 1, making the decompressed length of the table data less than the sum of original table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-decompressed-length-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002-ref.xht
new file mode 100644
index 0000000000..1004e16b1a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Greater Than Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The original length of the first table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of original table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002.xht
new file mode 100644
index 0000000000..15271e73ce
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Greater Than Original Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-decompressed-length-002-ref.xht" />
+ <meta name="assert" content="The original length of the first table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of original table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-decompressed-length-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003-ref.xht
new file mode 100644
index 0000000000..a8e51bd511
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Less Than Transformed Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The transformed length of the glyf table in the directory is increased by 1, making the decompressed length of the table data less than the sum of transformed table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003.xht
new file mode 100644
index 0000000000..7406b6419b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Less Than Transformed Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-decompressed-length-003-ref.xht" />
+ <meta name="assert" content="The transformed length of the glyf table in the directory is increased by 1, making the decompressed length of the table data less than the sum of transformed table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-decompressed-length-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004-ref.xht
new file mode 100644
index 0000000000..60303ca277
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Greater Than Transformed Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The transformed length of the glyf table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of transformed table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004.xht b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004.xht
new file mode 100644
index 0000000000..b177e85e3e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-004.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Decompressed Length Greater Than Transformed Length</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-decompressed-length-004-ref.xht" />
+ <meta name="assert" content="The transformed length of the glyf table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of transformed table lengths." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-decompressed-length-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001-ref.xht
new file mode 100644
index 0000000000..e4b1afbd3a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Betwen Table Data</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectExtraData" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="There is extraneous data before the last table." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001.xht
new file mode 100644
index 0000000000..ca36fb2fd4
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-extraneous-data-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Extraneous Data Between Table Data</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectExtraData" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-extraneous-data-001-ref.xht" />
+ <meta name="assert" content="There is extraneous data before the last table." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-extraneous-data-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001-ref.xht
new file mode 100644
index 0000000000..3b329b1cc3
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyph Without Explicit Bounding Box</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCalculateBBox" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with a glyph with no explicit bounding box" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001.xht
new file mode 100644
index 0000000000..fc6cb7a45e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyph Without Explicit Bounding Box</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCalculateBBox" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-glyf-bbox-001-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with a glyph with no explicit bounding box" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-glyf-bbox-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002-ref.xht
new file mode 100644
index 0000000000..8023e9c57c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Composite Glyph Without Bounding Box</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectNoCompositeBBox" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF due to composite glyphs without bounding box" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002.xht
new file mode 100644
index 0000000000..90b485e40d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Composite Glyph Without Bounding Box</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectNoCompositeBBox" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-glyf-bbox-002-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF due to composite glyphs without bounding box" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-glyf-bbox-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003-ref.xht
new file mode 100644
index 0000000000..fa07590afa
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Empty Glyph With Bounding Box</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectNonEmptyBBox2" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF due to empty glyph with bounding box" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003.xht
new file mode 100644
index 0000000000..40da4df206
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-bbox-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Empty Glyph With Bounding Box</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectNonEmptyBBox2" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-glyf-bbox-003-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF due to empty glyph with bounding box" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-glyf-bbox-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001-ref.xht
new file mode 100644
index 0000000000..6a6d68bdbb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf OrigLength Too Small</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The origLength field of glyf table contains a too small incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001.xht
new file mode 100644
index 0000000000..b5b8e24848
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf OrigLength Too Small</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-glyf-origlength-001-ref.xht" />
+ <meta name="assert" content="The origLength field of glyf table contains a too small incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-glyf-origlength-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002-ref.xht
new file mode 100644
index 0000000000..d4bfdd2255
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf OrigLength Too Big</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The origLength field of glyf table contains a too big incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002.xht
new file mode 100644
index 0000000000..c3857334be
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf OrigLength Too Big</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-glyf-origlength-002-ref.xht" />
+ <meta name="assert" content="The origLength field of glyf table contains a too big incorrect value." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-glyf-origlength-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003-ref.xht
new file mode 100644
index 0000000000..dfb62bf21b
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf OrigLength Mismatching</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The origLength field of glyf table is larger than constructed table." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003.xht b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003.xht
new file mode 100644
index 0000000000..e2e339c29e
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-glyf-origlength-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf OrigLength Mismatching</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-glyf-origlength-003-ref.xht" />
+ <meta name="assert" content="The origLength field of glyf table is larger than constructed table." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-glyf-origlength-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001-ref.xht
new file mode 100644
index 0000000000..67dab5c07a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Loca Is Not Zero</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="The transformed loca table contains 4 zero bytes and its transformLength is 4." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001.xht
new file mode 100644
index 0000000000..21164679d6
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-non-zero-loca-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font Table Data Loca Is Not Zero</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-non-zero-loca-001-ref.xht" />
+ <meta name="assert" content="The transformed loca table contains 4 zero bytes and its transformLength is 4." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-non-zero-loca-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001-ref.xht
new file mode 100644
index 0000000000..5fd36b9ddf
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font With Short Loca and Composite Glyphs</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustReconstructLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with simple composite glyphs where the loca table uses the short format, to check loca reconstruction" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001.xht
new file mode 100644
index 0000000000..913cd528eb
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-recontruct-loca-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Font With Short Loca and Composite Glyphs</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustReconstructLoca" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-recontruct-loca-001-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with simple composite glyphs where the loca table uses the short format, to check loca reconstruction" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-recontruct-loca-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001-ref.xht
new file mode 100644
index 0000000000..714432ecef
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Head Table With Tramsform Number 1</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeRejected-FailTransform" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid CFF flavored WOFF with head table having transform version 1." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001.xht
new file mode 100644
index 0000000000..0f3968fbaa
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Head Table With Tramsform Number 1</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeRejected-FailTransform" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-transform-bad-flag-001-ref.xht" />
+ <meta name="assert" content="Invalid CFF flavored WOFF with head table having transform version 1." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-transform-bad-flag-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002-ref.xht
new file mode 100644
index 0000000000..70a448f783
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf Table With Tramsform Number 3</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeRejected-FailTransform" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF with glyf table having transform version 3." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002.xht
new file mode 100644
index 0000000000..9ff041c12c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-bad-flag-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Glyf Table With Tramsform Number 3</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeRejected-FailTransform" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-transform-bad-flag-002-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF with glyf table having transform version 3." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-transform-bad-flag-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001-ref.xht
new file mode 100644
index 0000000000..8bdcdbdf40
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAcceptAllTransforms" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with transformed hmtx table." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001.xht
new file mode 100644
index 0000000000..75b5f3f546
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-001.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAcceptAllTransforms" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-transform-hmtx-001-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with transformed hmtx table." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-transform-hmtx-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002-ref.xht
new file mode 100644
index 0000000000..d0eb050cf0
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table With Correct Flags</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with transformed hmtx table and correct flags field." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002.xht
new file mode 100644
index 0000000000..5d047cb59c
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-002.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table With Correct Flags</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-transform-hmtx-002-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with transformed hmtx table and correct flags field." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-transform-hmtx-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003-ref.xht
new file mode 100644
index 0000000000..573597f666
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table With All Flags Set</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF with transformed hmtx table that has all flags bits (including reserved bits) set." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003.xht
new file mode 100644
index 0000000000..b2b6731f89
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-003.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table With All Flags Set</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-transform-hmtx-003-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF with transformed hmtx table that has all flags bits (including reserved bits) set." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-transform-hmtx-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004-ref.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004-ref.xht
new file mode 100644
index 0000000000..e92e8b4378
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table With 0 Flags</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Invalid TTF flavored WOFF with transformed hmtx table that has 0 flags (null transform)." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004.xht b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004.xht
new file mode 100644
index 0000000000..184303c6e2
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/tabledata-transform-hmtx-004.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Transformed Hmtx Table With 0 Flags</title>
+ <link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="tabledata-transform-hmtx-004-ref.xht" />
+ <meta name="assert" content="Invalid TTF flavored WOFF with transformed hmtx table that has 0 flags (null transform)." />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/tabledata-transform-hmtx-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">F</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/testcaseindex.xht b/testing/web-platform/tests/css/WOFF2/testcaseindex.xht
new file mode 100644
index 0000000000..e2b8dc5851
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/testcaseindex.xht
@@ -0,0 +1,4831 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>WOFF 2.0: User Agent Test Suite</title>
+ <style type="text/css">
+ @import "support/index.css";
+ </style>
+ </head>
+ <body>
+ <h1>WOFF 2.0: User Agent Test Suite (300 tests)</h1>
+
+ <h2 class="testCategory">Valid WOFFs</h2>
+ <div class="testCase" id="valid-001">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-001">valid-001</a>: Valid WOFF 1</h3>
+ <p>Valid CFF flavored WOFF with no metadata and no private data</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-001.xht">Test</a></p>
+ <p><a href="valid-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-002">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-002">valid-002</a>: Valid WOFF 2</h3>
+ <p>Valid CFF flavored WOFF with metadata</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-002.xht">Test</a></p>
+ <p><a href="valid-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay">(conform-metadata-maydisplay)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-003">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-003">valid-003</a>: Valid WOFF 3</h3>
+ <p>Valid CFF flavored WOFF with private data</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-003.xht">Test</a></p>
+ <p><a href="valid-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-004">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-004">valid-004</a>: Valid WOFF 4</h3>
+ <p>Valid CFF flavored WOFF with metadata and private data</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-004.xht">Test</a></p>
+ <p><a href="valid-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay">(conform-metadata-maydisplay)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-005">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-005">valid-005</a>: Valid WOFF 5</h3>
+ <p>Valid TTF flavored WOFF with no metadata and no private data</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-005.xht">Test</a></p>
+ <p><a href="valid-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-006">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-006">valid-006</a>: Valid WOFF 6</h3>
+ <p>Valid TTF flavored WOFF with metadata</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-006.xht">Test</a></p>
+ <p><a href="valid-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay">(conform-metadata-maydisplay)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-007">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-007">valid-007</a>: Valid WOFF 7</h3>
+ <p>Valid TTF flavored WOFF with private data</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-007.xht">Test</a></p>
+ <p><a href="valid-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="valid-008">
+ <div class="testCaseOverview">
+ <h3><a href="#valid-008">valid-008</a>: Valid WOFF 8</h3>
+ <p>Valid TTF flavored WOFF with metadata and private data</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="valid-008.xht">Test</a></p>
+ <p><a href="valid-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay">(conform-metadata-maydisplay)</a></p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">Data types</h2>
+ <div class="testCase" id="datatypes-alt-255uint16-001">
+ <div class="testCaseOverview">
+ <h3><a href="#datatypes-alt-255uint16-001">datatypes-alt-255uint16-001</a>: Different Representations of 255UInt16</h3>
+ <p>Valid TTF flavored WOFF with different valid representation of the same 255UInt16 encoded number</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="datatypes-alt-255uint16-001.xht">Test</a></p>
+ <p><a href="datatypes-alt-255uint16-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAccept255UInt16">conform-mustAccept255UInt16</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="datatypes-invalid-base128-001">
+ <div class="testCaseOverview">
+ <h3><a href="#datatypes-invalid-base128-001">datatypes-invalid-base128-001</a>: Invalid UIntBase128 With Leading Zeros</h3>
+ <p>Invalid TTF flavored WOFF that has UIntBase128 numbers with leading zeros</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="datatypes-invalid-base128-001.xht">Test</a></p>
+ <p><a href="datatypes-invalid-base128-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128">conform-mustRejectInvalidBase128</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="datatypes-invalid-base128-002">
+ <div class="testCaseOverview">
+ <h3><a href="#datatypes-invalid-base128-002">datatypes-invalid-base128-002</a>: Invalid UIntBase128 That Exceeds 2<sup>32</sup>-1</h3>
+ <p>Invalid TTF flavored WOFF that has UIntBase128 numbers which exceed 2<sup>32</sup>-1</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="datatypes-invalid-base128-002.xht">Test</a></p>
+ <p><a href="datatypes-invalid-base128-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128">conform-mustRejectInvalidBase128</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="datatypes-invalid-base128-003">
+ <div class="testCaseOverview">
+ <h3><a href="#datatypes-invalid-base128-003">datatypes-invalid-base128-003</a>: Invalid UIntBase128 Longer Than 5 Bytes</h3>
+ <p>Invalid TTF flavored WOFF that has UIntBase128 numbers longer than 5 bytes</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="datatypes-invalid-base128-003.xht">Test</a></p>
+ <p><a href="datatypes-invalid-base128-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128">conform-mustRejectInvalidBase128</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Header Tests</h2>
+ <div class="testCase" id="header-signature-001">
+ <div class="testCaseOverview">
+ <h3><a href="#header-signature-001">header-signature-001</a>: Header Signature Invalid Value</h3>
+ <p>The signature field contains XXXX instead of wOFF.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-signature-001.xht">Test</a></p>
+ <p><a href="header-signature-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-noMagicNumber-reject">conform-noMagicNumber-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="header-length-001">
+ <div class="testCaseOverview">
+ <h3><a href="#header-length-001">header-length-001</a>: Header Length Too Short</h3>
+ <p>The length field contains a value that is four bytes shorter than the actual data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-length-001.xht">Test</a></p>
+ <p><a href="header-length-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">woff20Header</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="header-length-002">
+ <div class="testCaseOverview">
+ <h3><a href="#header-length-002">header-length-002</a>: Header Length Too Long</h3>
+ <p>The length field contains a value that is four bytes longer than the actual data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-length-002.xht">Test</a></p>
+ <p><a href="header-length-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">woff20Header</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="header-numTables-001">
+ <div class="testCaseOverview">
+ <h3><a href="#header-numTables-001">header-numTables-001</a>: Header Number of Tables Set to Zero</h3>
+ <p>The header contains 0 in the numTables field. A table directory and table data are present.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-numTables-001.xht">Test</a></p>
+ <p><a href="header-numTables-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">woff20Header</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="header-reserved-001">
+ <div class="testCaseOverview">
+ <h3><a href="#header-reserved-001">header-reserved-001</a>: Header Reserved Invalid Value</h3>
+ <p>The reserved field contains 1.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-reserved-001.xht">Test</a></p>
+ <p><a href="header-reserved-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotUseReservedValue">conform-mustNotUseReservedValue</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="header-totalsfntsize-001">
+ <div class="testCaseOverview">
+ <h3><a href="#header-totalsfntsize-001">header-totalsfntsize-001</a>: Header TotalSfntSize Too Small</h3>
+ <p>The totalSfntSize field contains a too small incorrect value.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-totalsfntsize-001.xht">Test</a></p>
+ <p><a href="header-totalsfntsize-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize">conform-mustNotRejectIncorrectTotalSize</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="header-totalsfntsize-002">
+ <div class="testCaseOverview">
+ <h3><a href="#header-totalsfntsize-002">header-totalsfntsize-002</a>: Header TotalSfntSize Too Big</h3>
+ <p>The totalSfntSize field contains a too big incorrect value.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="header-totalsfntsize-002.xht">Test</a></p>
+ <p><a href="header-totalsfntsize-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize">conform-mustNotRejectIncorrectTotalSize</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Data Block Tests</h2>
+ <div class="testCase" id="blocks-extraneous-data-001">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-001">blocks-extraneous-data-001</a>: Extraneous Data Between Header and Directory</h3>
+ <p>There are four null bytes between the header and the table directory.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-001.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-002">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-002">blocks-extraneous-data-002</a>: Extraneous Data Between Directory and Table Data</h3>
+ <p>There are four null bytes between the table directory and the table data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-002.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-003">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-003">blocks-extraneous-data-003</a>: Extraneous Data After Table Data</h3>
+ <p>There are four null bytes after the table data block and there is no metadata or private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-003.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-004">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-004">blocks-extraneous-data-004</a>: Extraneous Data Between Table Data and Metadata</h3>
+ <p>There are four null bytes between the table data and the metadata.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-004.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-005">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-005">blocks-extraneous-data-005</a>: Extraneous Data Between Table Data and Private Data</h3>
+ <p>There are four null bytes between the table data and the private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-005.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-006">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-006">blocks-extraneous-data-006</a>: Extraneous Data Between Metdata and Private Data</h3>
+ <p>There are four null bytes between the metadata and the private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-006.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-007">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-007">blocks-extraneous-data-007</a>: Extraneous Data After Metadata</h3>
+ <p>There are four null bytes after the metadata and there is no private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-007.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-extraneous-data-008">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-extraneous-data-008">blocks-extraneous-data-008</a>: Extraneous Data After Private Data</h3>
+ <p>There are four null bytes after the private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-extraneous-data-008.xht">Test</a></p>
+ <p><a href="blocks-extraneous-data-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">conform-extraneous-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-overlap-001">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-overlap-001">blocks-overlap-001</a>: Metadata Overlaps Table Data</h3>
+ <p>The metadata offset is four bytes before the end of the table data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-overlap-001.xht">Test</a></p>
+ <p><a href="blocks-overlap-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject">conform-overlap-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-overlap-002">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-overlap-002">blocks-overlap-002</a>: Private Data Overlaps Table Data</h3>
+ <p>The private data offset is four bytes before the end of the table data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-overlap-002.xht">Test</a></p>
+ <p><a href="blocks-overlap-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject">conform-overlap-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="blocks-overlap-003">
+ <div class="testCaseOverview">
+ <h3><a href="#blocks-overlap-003">blocks-overlap-003</a>: Private Data Overlaps Metadata</h3>
+ <p>The private data offset is four bytes before the end of the metadata.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="blocks-overlap-003.xht">Test</a></p>
+ <p><a href="blocks-overlap-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject">conform-overlap-reject</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Table Directory Tests</h2>
+ <div class="testCase" id="directory-knowntags-001">
+ <div class="testCaseOverview">
+ <h3><a href="#directory-knowntags-001">directory-knowntags-001</a>: Valid SFNT With Cutsom Tag For Known Table</h3>
+ <p>Valid TTF flavored SFNT font with table directory using custom tag instead of known table flag for some know tables.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="directory-knowntags-001.xht">Test</a></p>
+ <p><a href="directory-knowntags-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mayAcceptKnownTagsAsCustom">conform-mayAcceptKnownTagsAsCustom</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="directory-mismatched-tables-001">
+ <div class="testCaseOverview">
+ <h3><a href="#directory-mismatched-tables-001">directory-mismatched-tables-001</a>: Font Collection With Mismatched Glyf/Loca Tables</h3>
+ <p>Invalid TTF flavored WOFF font collection with two pairs of mismatched glyf/loca tables</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="directory-mismatched-tables-001.xht">Test</a></p>
+ <p><a href="directory-mismatched-tables-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckRejectMismatchedTables">conform-mustCheckRejectMismatchedTables</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Table Data Tests</h2>
+ <div class="testCase" id="tabledata-extraneous-data-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-extraneous-data-001">tabledata-extraneous-data-001</a>: Extraneous Data Betwen Table Data</h3>
+ <p>There is extraneous data before the last table.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-extraneous-data-001.xht">Test</a></p>
+ <p><a href="tabledata-extraneous-data-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectExtraData">conform-mustRejectExtraData</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-brotli-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-brotli-001">tabledata-brotli-001</a>: Font Table Data Invalid Compressed Data</h3>
+ <p>Font table data is compressed with zlib instead of Brotli.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-brotli-001.xht">Test</a></p>
+ <p><a href="tabledata-brotli-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailDecompress">conform-mustBeInvalidated-FailDecompress</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-decompressed-length-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-decompressed-length-001">tabledata-decompressed-length-001</a>: Font Table Data Decompressed Length Less Than Original Length</h3>
+ <p>The original length of the first table in the directory is increased by 1, making the decompressed length of the table data less than the sum of original table lengths.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-decompressed-length-001.xht">Test</a></p>
+ <p><a href="tabledata-decompressed-length-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize">conform-mustBeInvalidated-FailSize</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-decompressed-length-002">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-decompressed-length-002">tabledata-decompressed-length-002</a>: Font Table Data Decompressed Length Greater Than Original Length</h3>
+ <p>The original length of the first table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of original table lengths.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-decompressed-length-002.xht">Test</a></p>
+ <p><a href="tabledata-decompressed-length-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize">conform-mustBeInvalidated-FailSize</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-decompressed-length-003">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-decompressed-length-003">tabledata-decompressed-length-003</a>: Font Table Data Decompressed Length Less Than Transformed Length</h3>
+ <p>The transformed length of the glyf table in the directory is increased by 1, making the decompressed length of the table data less than the sum of transformed table lengths.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-decompressed-length-003.xht">Test</a></p>
+ <p><a href="tabledata-decompressed-length-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize">conform-mustBeInvalidated-FailSize</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-decompressed-length-004">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-decompressed-length-004">tabledata-decompressed-length-004</a>: Font Table Data Decompressed Length Greater Than Transformed Length</h3>
+ <p>The transformed length of the glyf table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of transformed table lengths.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-decompressed-length-004.xht">Test</a></p>
+ <p><a href="tabledata-decompressed-length-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize">conform-mustBeInvalidated-FailSize</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-non-zero-loca-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-non-zero-loca-001">tabledata-non-zero-loca-001</a>: Font Table Data Loca Is Not Zero</h3>
+ <p>The transformed loca table contains 4 zero bytes and its transformLength is 4.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-non-zero-loca-001.xht">Test</a></p>
+ <p><a href="tabledata-non-zero-loca-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca">conform-mustRejectLoca</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-bad-origlength-loca-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-bad-origlength-loca-001">tabledata-bad-origlength-loca-001</a>: Font Table Data Small Loca Original Length</h3>
+ <p>The origLength of the loca table is 4 bytes less than the calculated size</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-bad-origlength-loca-001.xht">Test</a></p>
+ <p><a href="tabledata-bad-origlength-loca-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca">conform-mustRejectLoca</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-bad-origlength-loca-002">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-bad-origlength-loca-002">tabledata-bad-origlength-loca-002</a>: Font Table Data Large Loca Original Length</h3>
+ <p>The origLength of the loca table is 4 bytes more than the calculated size</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-bad-origlength-loca-002.xht">Test</a></p>
+ <p><a href="tabledata-bad-origlength-loca-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectLoca">conform-mustRejectLoca</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-recontruct-loca-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-recontruct-loca-001">tabledata-recontruct-loca-001</a>: Font With Short Loca and Composite Glyphs</h3>
+ <p>Valid TTF flavored WOFF with simple composite glyphs where the loca table uses the short format, to check loca reconstruction</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-recontruct-loca-001.xht">Test</a></p>
+ <p><a href="tabledata-recontruct-loca-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustReconstructLoca">conform-mustReconstructLoca</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-glyf-bbox-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-glyf-bbox-001">tabledata-glyf-bbox-001</a>: Glyph Without Explicit Bounding Box</h3>
+ <p>Valid TTF flavored WOFF with a glyph with no explicit bounding box</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-glyf-bbox-001.xht">Test</a></p>
+ <p><a href="tabledata-glyf-bbox-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCalculateBBox">conform-mustCalculateBBox</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-glyf-bbox-002">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-glyf-bbox-002">tabledata-glyf-bbox-002</a>: Composite Glyph Without Bounding Box</h3>
+ <p>Invalid TTF flavored WOFF due to composite glyphs without bounding box</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-glyf-bbox-002.xht">Test</a></p>
+ <p><a href="tabledata-glyf-bbox-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectNoCompositeBBox">conform-mustRejectNoCompositeBBox</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-glyf-bbox-003">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-glyf-bbox-003">tabledata-glyf-bbox-003</a>: Empty Glyph With Bounding Box</h3>
+ <p>Invalid TTF flavored WOFF due to empty glyph with bounding box</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-glyf-bbox-003.xht">Test</a></p>
+ <p><a href="tabledata-glyf-bbox-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectNonEmptyBBox2">conform-mustRejectNonEmptyBBox2</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-transform-bad-flag-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-transform-bad-flag-001">tabledata-transform-bad-flag-001</a>: Head Table With Tramsform Number 1</h3>
+ <p>Invalid CFF flavored WOFF with head table having transform version 1.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-transform-bad-flag-001.xht">Test</a></p>
+ <p><a href="tabledata-transform-bad-flag-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeRejected-FailTransform">conform-mustBeRejected-FailTransform</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-transform-bad-flag-002">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-transform-bad-flag-002">tabledata-transform-bad-flag-002</a>: Glyf Table With Tramsform Number 3</h3>
+ <p>Invalid TTF flavored WOFF with glyf table having transform version 3.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-transform-bad-flag-002.xht">Test</a></p>
+ <p><a href="tabledata-transform-bad-flag-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeRejected-FailTransform">conform-mustBeRejected-FailTransform</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-transform-hmtx-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-transform-hmtx-001">tabledata-transform-hmtx-001</a>: Transformed Hmtx Table</h3>
+ <p>Valid TTF flavored WOFF with transformed hmtx table.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-transform-hmtx-001.xht">Test</a></p>
+ <p><a href="tabledata-transform-hmtx-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAcceptAllTransforms">conform-mustAcceptAllTransforms</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-transform-hmtx-002">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-transform-hmtx-002">tabledata-transform-hmtx-002</a>: Transformed Hmtx Table With Correct Flags</h3>
+ <p>Valid TTF flavored WOFF with transformed hmtx table and correct flags field.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-transform-hmtx-002.xht">Test</a></p>
+ <p><a href="tabledata-transform-hmtx-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags">conform-mustCheckLSBFlags</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-transform-hmtx-003">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-transform-hmtx-003">tabledata-transform-hmtx-003</a>: Transformed Hmtx Table With All Flags Set</h3>
+ <p>Invalid TTF flavored WOFF with transformed hmtx table that has all flags bits (including reserved bits) set.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-transform-hmtx-003.xht">Test</a></p>
+ <p><a href="tabledata-transform-hmtx-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags">conform-mustCheckLSBFlags</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-transform-hmtx-004">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-transform-hmtx-004">tabledata-transform-hmtx-004</a>: Transformed Hmtx Table With 0 Flags</h3>
+ <p>Invalid TTF flavored WOFF with transformed hmtx table that has 0 flags (null transform).</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-transform-hmtx-004.xht">Test</a></p>
+ <p><a href="tabledata-transform-hmtx-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Reject (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckLSBFlags">conform-mustCheckLSBFlags</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-glyf-origlength-001">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-glyf-origlength-001">tabledata-glyf-origlength-001</a>: Glyf OrigLength Too Small</h3>
+ <p>The origLength field of glyf table contains a too small incorrect value.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-glyf-origlength-001.xht">Test</a></p>
+ <p><a href="tabledata-glyf-origlength-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch">conform-mustNotRejectGlyfSizeMismatch</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-glyf-origlength-002">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-glyf-origlength-002">tabledata-glyf-origlength-002</a>: Glyf OrigLength Too Big</h3>
+ <p>The origLength field of glyf table contains a too big incorrect value.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-glyf-origlength-002.xht">Test</a></p>
+ <p><a href="tabledata-glyf-origlength-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch">conform-mustNotRejectGlyfSizeMismatch</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="tabledata-glyf-origlength-003">
+ <div class="testCaseOverview">
+ <h3><a href="#tabledata-glyf-origlength-003">tabledata-glyf-origlength-003</a>: Glyf OrigLength Mismatching</h3>
+ <p>The origLength field of glyf table is larger than constructed table.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="tabledata-glyf-origlength-003.xht">Test</a></p>
+ <p><a href="tabledata-glyf-origlength-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectGlyfSizeMismatch">conform-mustNotRejectGlyfSizeMismatch</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Metadata Tests</h2>
+ <div class="testCase" id="metadata-noeffect-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadata-noeffect-001">metadata-noeffect-001</a>: No Metadata Present</h3>
+ <p>The file has no metadata.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadata-noeffect-001.xht">Test</a></p>
+ <p><a href="metadata-noeffect-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadata-noeffect-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadata-noeffect-002">metadata-noeffect-002</a>: Metadata Present</h3>
+ <p>The file has metadata.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadata-noeffect-002.xht">Test</a></p>
+ <p><a href="metadata-noeffect-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay">(conform-metadata-maydisplay)</a></p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Private Data Tests</h2>
+ <div class="testCase" id="privatedata-noeffect-001">
+ <div class="testCaseOverview">
+ <h3><a href="#privatedata-noeffect-001">privatedata-noeffect-001</a>: No Private Data Present</h3>
+ <p>The file has no private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="privatedata-noeffect-001.xht">Test</a></p>
+ <p><a href="privatedata-noeffect-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="privatedata-noeffect-002">
+ <div class="testCaseOverview">
+ <h3><a href="#privatedata-noeffect-002">privatedata-noeffect-002</a>: Private Data Present</h3>
+ <p>The file has private data.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="privatedata-noeffect-002.xht">Test</a></p>
+ <p><a href="privatedata-noeffect-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect">conform-private-noeffect</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">WOFF Metadata Display Tests</h2>
+ <div class="testCase" id="metadatadisplay-authoritative-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-authoritative-001">metadatadisplay-authoritative-001</a>: Metadata Out of Sync With name Table</h3>
+ <p>The name table and metadata fields are out of sync. The name table contains FAIL and the metadata contains PASS for unique id, vendor name, vendor url, credit name, credit url, description, license, license url, copyright and trademark.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-authoritative-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-authoritative-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/">documentation</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://www.w3.org/TR/WOFF/#conform-metadata-authoritative">(conform-metadata-authoritative)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-001">metadatadisplay-well-formed-001</a>: Unescaped &lt; in Content</h3>
+ <p>The text element in the description element contains an unescaped &lt;.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-002">metadatadisplay-well-formed-002</a>: Unescaped &amp; in Content</h3>
+ <p>The text element in the description element contains an unescaped &amp;.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-003">metadatadisplay-well-formed-003</a>: Mismatched Element Tags</h3>
+ <p>One element begins with &lt;description&gt; but ends with &lt;/mismatch&gt;.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-004">metadatadisplay-well-formed-004</a>: Unclosed Element Tag</h3>
+ <p>The text element element in the description element is not closed.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-005">metadatadisplay-well-formed-005</a>: Case Mismatch in Element Tags</h3>
+ <p>The &lt;description&gt; element is closed with &lt;DESCRIPTION&gt;.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-006">metadatadisplay-well-formed-006</a>: More Than One Root Element</h3>
+ <p>The metadata root element occurs twice.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-well-formed-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-well-formed-007">metadatadisplay-well-formed-007</a>: Unknown Encoding</h3>
+ <p>The xml encoding is set to 'VSCACS-GFV-X-CQ34QTAB2Q-IS-NOT-A-VALID-ENCODING'.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-well-formed-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-well-formed-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-encoding-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-encoding-001">metadatadisplay-encoding-001</a>: UTF-8 Encoding</h3>
+ <p>The xml encoding is set to UTF-8.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-encoding-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-encoding-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-encoding-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-encoding-002">metadatadisplay-encoding-002</a>: Invalid Encoding: UTF-16</h3>
+ <p>The xml encoding is set to UTF-16.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-encoding-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-encoding-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-encoding-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-encoding-003">metadatadisplay-encoding-003</a>: Invalid Encoding: ISO-8859-1</h3>
+ <p>The xml encoding is set to ISO-8859-1.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-encoding-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-encoding-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-encoding-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-encoding-004">metadatadisplay-encoding-004</a>: Implied UTF-8</h3>
+ <p>The xml encoding is not declared and there is no BOM.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-encoding-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-encoding-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-encoding-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-encoding-005">metadatadisplay-encoding-005</a>: UTF-8 BOM</h3>
+ <p>The xml encoding is not declared and there is a UTF-8 BOM.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-encoding-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-encoding-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-encoding-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-encoding-006">metadatadisplay-encoding-006</a>: Invalid Encoding: UTF-8 BOM</h3>
+ <p>The xml encoding is not declared and there is a UTF-16 BOM.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-encoding-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-encoding-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-metadata-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-metadata-001">metadatadisplay-schema-metadata-001</a>: Valid metadata Element</h3>
+ <p>The metadata element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-metadata-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-metadata-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-metadata-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-metadata-002">metadatadisplay-schema-metadata-002</a>: Top element is Not metadata</h3>
+ <p>The top element is "INVALID" instead of "metadata".</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-metadata-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-metadata-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-metadata-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-metadata-003">metadatadisplay-schema-metadata-003</a>: No version Attribute in metadata Element</h3>
+ <p>The metadata element does not contain the required version attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-metadata-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-metadata-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-metadata-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-metadata-004">metadatadisplay-schema-metadata-004</a>: Invalid version Attribute Value in metadata Element</h3>
+ <p>The metadata element version attribute is set to 'ABC'.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-metadata-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-metadata-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-metadata-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-metadata-005">metadatadisplay-schema-metadata-005</a>: Unknown Attrbute in metadata Element</h3>
+ <p>The metadata element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-metadata-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-metadata-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-metadata-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-metadata-006">metadatadisplay-schema-metadata-006</a>: Unknown Child Element metadata Element</h3>
+ <p>The metadata element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-metadata-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-metadata-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-uniqueid-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-uniqueid-001">metadatadisplay-schema-uniqueid-001</a>: Valid uniqueid Element</h3>
+ <p>The uniqueid element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-uniqueid-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-uniqueid-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-uniqueid-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-uniqueid-002">metadatadisplay-schema-uniqueid-002</a>: No uniqueid Element</h3>
+ <p>The uniqueid element doesn't exist.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-uniqueid-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-uniqueid-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-uniqueid-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-uniqueid-003">metadatadisplay-schema-uniqueid-003</a>: More Than One uniqueid Element</h3>
+ <p>The uniqueid element occurs twice.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-uniqueid-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-uniqueid-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-uniqueid-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-uniqueid-005">metadatadisplay-schema-uniqueid-005</a>: Unknown Attribute in uniqueid Element</h3>
+ <p>The uniqueid element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-uniqueid-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-uniqueid-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-uniqueid-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-uniqueid-006">metadatadisplay-schema-uniqueid-006</a>: Child Element in uniqueid Element</h3>
+ <p>The uniqueid element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-uniqueid-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-uniqueid-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-uniqueid-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-uniqueid-007">metadatadisplay-schema-uniqueid-007</a>: Content in uniqueid Element</h3>
+ <p>The uniqueid element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-uniqueid-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-uniqueid-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-001">metadatadisplay-schema-vendor-001</a>: Valid vendor Element</h3>
+ <p>The vendor element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-002">metadatadisplay-schema-vendor-002</a>: Valid vendor Element Without url Attribute</h3>
+ <p>The vendor element does not contain a url attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-003">metadatadisplay-schema-vendor-003</a>: No vendor Element</h3>
+ <p>The vendor element doesn't exist.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-004">metadatadisplay-schema-vendor-004</a>: More Than One vendor Element</h3>
+ <p>The vendor element occurs twice.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-006">metadatadisplay-schema-vendor-006</a>: Valid dir Attribute in vendor Element 1</h3>
+ <p>The vendor element contains ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-007">metadatadisplay-schema-vendor-007</a>: Valid dir Attribute in vendor Element 2</h3>
+ <p>The vendor element contains rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-008">metadatadisplay-schema-vendor-008</a>: Invalid dir Attribute in vendor Element</h3>
+ <p>The vendor element contains INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-009">metadatadisplay-schema-vendor-009</a>: Valid class Attribute in vendor Element</h3>
+ <p>The vendor element contains "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-010">metadatadisplay-schema-vendor-010</a>: Unknown Attribute in vendor Element</h3>
+ <p>The vendor element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-011">metadatadisplay-schema-vendor-011</a>: Child Element in vendor Element</h3>
+ <p>The vendor element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-vendor-012">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-vendor-012">metadatadisplay-schema-vendor-012</a>: Content in vendor Element</h3>
+ <p>The vendor element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-vendor-012.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-vendor-012-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-001">metadatadisplay-schema-credits-001</a>: Valid credits Element With No Language Attribute And A Single credit Element</h3>
+ <p>The credits element matches the schema and it contains one credit child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-002">metadatadisplay-schema-credits-002</a>: Valid credits Element With Two credit Elements</h3>
+ <p>The credits element matches the schema and it contains two credit child elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-003">metadatadisplay-schema-credits-003</a>: No credit Element in credits Element</h3>
+ <p>The credits element does not contain a credit child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-004">metadatadisplay-schema-credits-004</a>: Unknown Attribute in credits Element</h3>
+ <p>The credits element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-005">metadatadisplay-schema-credits-005</a>: Unknown Child Element in credits Element</h3>
+ <p>The credits element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-006">metadatadisplay-schema-credits-006</a>: Content in credits Element</h3>
+ <p>The credits element contains an content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credits-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credits-007">metadatadisplay-schema-credits-007</a>: Multiple credits Elements</h3>
+ <p>The credits element occurs more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credits-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credits-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-001">metadatadisplay-schema-credit-001</a>: Valid credit Element</h3>
+ <p>The credit element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-002">metadatadisplay-schema-credit-002</a>: Valid credit Element Without url Attribute</h3>
+ <p>The credit element does not contain a url attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-003">metadatadisplay-schema-credit-003</a>: Valid credit Element Without role Attribute</h3>
+ <p>The credit element does not contain a role attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-004">metadatadisplay-schema-credit-004</a>: No name attribute in credit Element</h3>
+ <p>The credit element does not contain a name attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-005">metadatadisplay-schema-credit-005</a>: Valid dir Attribute in credit Element 1</h3>
+ <p>The credit element contains ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-006">metadatadisplay-schema-credit-006</a>: Valid dir Attribute in credit Element 2</h3>
+ <p>The credit element contains rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-007">metadatadisplay-schema-credit-007</a>: Invalid dir Attribute in credit Element</h3>
+ <p>The credit element contains INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-008">metadatadisplay-schema-credit-008</a>: Valid class Attribute in credit Element</h3>
+ <p>The credit element contains "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-009">metadatadisplay-schema-credit-009</a>: Unknown attribute in credit Element</h3>
+ <p>The credit element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-010">metadatadisplay-schema-credit-010</a>: Child Element in credit Element</h3>
+ <p>The credit element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-credit-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-credit-011">metadatadisplay-schema-credit-011</a>: Content in credit Element</h3>
+ <p>The credit element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-credit-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-credit-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-001">metadatadisplay-schema-description-001</a>: Valid description Element</h3>
+ <p>The description element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-002">metadatadisplay-schema-description-002</a>: Valid description Element Without url Attribute</h3>
+ <p>The description element does not contain a url attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-003">metadatadisplay-schema-description-003</a>: Valid description Element With One No Language Tagged text Element</h3>
+ <p>The description element matches the schema. It contains one text element that does not have a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-004">metadatadisplay-schema-description-004</a>: Valid description Element With One Language Tagged text Element</h3>
+ <p>The description element matches the schema. It contains one text element that has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-005">metadatadisplay-schema-description-005</a>: Valid description Element With One Language Tagged (using lang) text Element</h3>
+ <p>The description element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-006">metadatadisplay-schema-description-006</a>: Valid description Element With Mixed text Element Language Tags 1</h3>
+ <p>The description element matches the schema. One text element does not have a language tag. One text element has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-007">metadatadisplay-schema-description-007</a>: Valid description Element With Mixed text Element Language Tags 2</h3>
+ <p>The description element matches the schema. Two text elements have a language tags.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-008">metadatadisplay-schema-description-008</a>: More Than One description Element</h3>
+ <p>The description element occurs more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-009">metadatadisplay-schema-description-009</a>: No text Element in description Element</h3>
+ <p>The description element does not contain a text child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-010">metadatadisplay-schema-description-010</a>: Unknown Attribute in description Element</h3>
+ <p>The description element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-011">metadatadisplay-schema-description-011</a>: Unknown Child Element in description Element</h3>
+ <p>The description element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-012">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-012">metadatadisplay-schema-description-012</a>: Content in description Element</h3>
+ <p>The description element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-012.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-012-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-013">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-013">metadatadisplay-schema-description-013</a>: Valid description Element With dir Attribute in text Element 1</h3>
+ <p>The description element contains a text element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-013.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-013-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-014">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-014">metadatadisplay-schema-description-014</a>: Valid description Element With dir Attribute in text Element 2</h3>
+ <p>The description element contains a text element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-014.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-014-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-015">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-015">metadatadisplay-schema-description-015</a>: Invalid description Element With dir Attribute in text Element</h3>
+ <p>The description element contains a text element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-015.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-015-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-016">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-016">metadatadisplay-schema-description-016</a>: Valid description Element With class Attribute in text Element</h3>
+ <p>The description element contains a text element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-016.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-016-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-017">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-017">metadatadisplay-schema-description-017</a>: Unknown Attribute in description Element text Element</h3>
+ <p>The description element contains a text element with an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-017.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-017-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-018">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-018">metadatadisplay-schema-description-018</a>: Unknown Child Element in description Element text Element</h3>
+ <p>The description element contains a text element with an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-018.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-018-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-019">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-019">metadatadisplay-schema-description-019</a>: Valid description Element With One div Element in text Element</h3>
+ <p>The description element contains a text element that contains a div element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-019.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-019-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-020">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-020">metadatadisplay-schema-description-020</a>: Valid description Element With Two div Elements in text Element</h3>
+ <p>The description element contains a text element that contains two div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-020.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-020-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-021">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-021">metadatadisplay-schema-description-021</a>: Valid description Element With Nested div Elements in text Element</h3>
+ <p>The description element contains a text element that contains nested div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-021.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-021-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-022">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-022">metadatadisplay-schema-description-022</a>: Valid description Element With dir Attribute in div Element in text Element 1</h3>
+ <p>The description element contains a text element that contains a div element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-022.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-022-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-023">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-023">metadatadisplay-schema-description-023</a>: Valid description Element With dir Attribute in div Element in text Element 2</h3>
+ <p>The description element contains a text element that contains a div element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-023.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-023-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-024">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-024">metadatadisplay-schema-description-024</a>: Invalid description Element With dir Attribute in div Element in text Element</h3>
+ <p>The description element contains a text element that contains a div element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-024.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-024-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-025">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-025">metadatadisplay-schema-description-025</a>: Valid description Element With class Attribute in div Element in text Element</h3>
+ <p>The description element contains a text element that contains a div element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-025.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-025-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-026">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-026">metadatadisplay-schema-description-026</a>: Valid description Element With One span Element in text Element</h3>
+ <p>The description element contains a text element that contains a span element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-026.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-026-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-027">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-027">metadatadisplay-schema-description-027</a>: Valid description Element With Two span Elements in text Element</h3>
+ <p>The description element contains a text element that contains two span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-027.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-027-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-028">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-028">metadatadisplay-schema-description-028</a>: Valid description Element With Nested span Elements in text Element</h3>
+ <p>The description element contains a text element that contains nested span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-028.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-028-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-029">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-029">metadatadisplay-schema-description-029</a>: Valid description Element With dir Attribute in span Element in text Element 1</h3>
+ <p>The description element contains a text element that contains a span element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-029.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-029-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-030">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-030">metadatadisplay-schema-description-030</a>: Valid description Element With dir Attribute in span Element in text Element 2</h3>
+ <p>The description element contains a text element that contains a span element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-030.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-030-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-031">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-031">metadatadisplay-schema-description-031</a>: Invalid description Element With dir Attribute in span Element in text Element</h3>
+ <p>The description element contains a text element that contains a span element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-031.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-031-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-description-032">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-description-032">metadatadisplay-schema-description-032</a>: Valid description Element With class Attribute in span Element in text Element</h3>
+ <p>The description element contains a text element that contains a span element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-description-032.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-description-032-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-001">metadatadisplay-schema-license-001</a>: Valid license Element</h3>
+ <p>The license element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-002">metadatadisplay-schema-license-002</a>: Valid license Element Without url Attribute</h3>
+ <p>The license element does not have a url attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-003">metadatadisplay-schema-license-003</a>: Valid license Element Without id Attribute</h3>
+ <p>The license element does not have an id attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-004">metadatadisplay-schema-license-004</a>: Valid license Element With One No Language Tagged text Element</h3>
+ <p>The license element matches the schema. It contains one text element that does not have a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-005">metadatadisplay-schema-license-005</a>: Valid license Element With One Language Tagged text Element</h3>
+ <p>The license element matches the schema. It contains one text element that has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-006">metadatadisplay-schema-license-006</a>: Valid license Element With One Language Tagged (using lang) text Element</h3>
+ <p>The license element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-007">metadatadisplay-schema-license-007</a>: Valid license Element With Mixed text Element Language Tags 1</h3>
+ <p>The license element matches the schema. One text element does not have a language tag. One text element has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-008">metadatadisplay-schema-license-008</a>: Valid license Element With Mixed text Element Language Tags 2</h3>
+ <p>The license element matches the schema. Two text elements have a language tags.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-009">metadatadisplay-schema-license-009</a>: More Than One license Element</h3>
+ <p>The license element occurs more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-010">metadatadisplay-schema-license-010</a>: No text Element in license Element</h3>
+ <p>The license element does not contain a text child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-011">metadatadisplay-schema-license-011</a>: Unknown Attribute in license Element</h3>
+ <p>The license element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-012">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-012">metadatadisplay-schema-license-012</a>: Unknown Child Element in license Element</h3>
+ <p>The license element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-012.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-012-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-013">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-013">metadatadisplay-schema-license-013</a>: Content in license Element</h3>
+ <p>The license element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-013.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-013-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-014">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-014">metadatadisplay-schema-license-014</a>: Valid license Element With dir Attribute in text Element 1</h3>
+ <p>The license element contains a text element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-014.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-014-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-015">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-015">metadatadisplay-schema-license-015</a>: Valid license Element With dir Attribute in text Element 2</h3>
+ <p>The license element contains a text element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-015.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-015-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-016">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-016">metadatadisplay-schema-license-016</a>: Invalid license Element With dir Attribute in text Element</h3>
+ <p>The license element contains a text element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-016.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-016-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-017">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-017">metadatadisplay-schema-license-017</a>: Valid license Element With class Attribute in text Element</h3>
+ <p>The license element contains a text element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-017.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-017-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-018">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-018">metadatadisplay-schema-license-018</a>: Unknown Attribute in license Element text Element</h3>
+ <p>The license element contains a text element with an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-018.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-018-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-019">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-019">metadatadisplay-schema-license-019</a>: Unknown Child Element in license Element text Element</h3>
+ <p>The license element contains a text element with an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-019.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-019-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-020">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-020">metadatadisplay-schema-license-020</a>: Valid license Element With One div Element in text Element</h3>
+ <p>The license element contains a text element that contains a div element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-020.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-020-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-021">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-021">metadatadisplay-schema-license-021</a>: Valid license Element With Two div Elements in text Element</h3>
+ <p>The license element contains a text element that contains two div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-021.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-021-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-022">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-022">metadatadisplay-schema-license-022</a>: Valid license Element With Nested div Elements in text Element</h3>
+ <p>The license element contains a text element that contains nested div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-022.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-022-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-023">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-023">metadatadisplay-schema-license-023</a>: Valid license Element With dir Attribute in div Element in text Element 1</h3>
+ <p>The license element contains a text element that contains a div element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-023.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-023-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-024">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-024">metadatadisplay-schema-license-024</a>: Valid license Element With dir Attribute in div Element in text Element 2</h3>
+ <p>The license element contains a text element that contains a div element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-024.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-024-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-025">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-025">metadatadisplay-schema-license-025</a>: Invalid license Element With dir Attribute in div Element in text Element</h3>
+ <p>The license element contains a text element that contains a div element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-025.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-025-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-026">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-026">metadatadisplay-schema-license-026</a>: Valid license Element With class Attribute in div Element in text Element</h3>
+ <p>The license element contains a text element that contains a div element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-026.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-026-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-027">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-027">metadatadisplay-schema-license-027</a>: Valid license Element With One span Element in text Element</h3>
+ <p>The license element contains a text element that contains a span element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-027.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-027-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-028">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-028">metadatadisplay-schema-license-028</a>: Valid license Element With Two span Elements in text Element</h3>
+ <p>The license element contains a text element that contains two span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-028.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-028-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-029">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-029">metadatadisplay-schema-license-029</a>: Valid license Element With Nested span Elements in text Element</h3>
+ <p>The license element contains a text element that contains nested span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-029.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-029-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-030">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-030">metadatadisplay-schema-license-030</a>: Valid license Element With dir Attribute in span Element in text Element 1</h3>
+ <p>The license element contains a text element that contains a span element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-030.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-030-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-031">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-031">metadatadisplay-schema-license-031</a>: Valid license Element With dir Attribute in span Element in text Element 2</h3>
+ <p>The license element contains a text element that contains a span element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-031.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-031-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-032">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-032">metadatadisplay-schema-license-032</a>: Invalid license Element With dir Attribute in span Element in text Element</h3>
+ <p>The license element contains a text element that contains a span element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-032.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-032-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-license-033">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-license-033">metadatadisplay-schema-license-033</a>: Valid license Element With class Attribute in span Element in text Element</h3>
+ <p>The license element contains a text element that contains a span element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-license-033.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-license-033-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-001">metadatadisplay-schema-copyright-001</a>: Valid copyright Element With One No Language Tagged text Element</h3>
+ <p>The copyright element matches the schema. It contains one text element that does not have a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-002">metadatadisplay-schema-copyright-002</a>: Valid copyright Element With One Language Tagged text Element</h3>
+ <p>The copyright element matches the schema. It contains one text element that has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-003">metadatadisplay-schema-copyright-003</a>: Valid copyright Element With One Language Tagged (using lang) text Element</h3>
+ <p>The copyright element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-004">metadatadisplay-schema-copyright-004</a>: Valid copyright Element With Mixed text Element Language Tags 1</h3>
+ <p>The copyright element matches the schema. One text element does not have a language tag. One text element has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-005">metadatadisplay-schema-copyright-005</a>: Valid copyright Element With Mixed text Element Language Tags 2</h3>
+ <p>The copyright element matches the schema. Two text elements have a language tags.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-006">metadatadisplay-schema-copyright-006</a>: More Than One copyright Element</h3>
+ <p>The copyright element occurs more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-007">metadatadisplay-schema-copyright-007</a>: No text Element in copyright Element</h3>
+ <p>The copyright element does not contain a text child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-008">metadatadisplay-schema-copyright-008</a>: Unknown Attribute in copyright Element</h3>
+ <p>The copyright element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-009">metadatadisplay-schema-copyright-009</a>: Unknown Child Element in copyright Element</h3>
+ <p>The copyright element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-010">metadatadisplay-schema-copyright-010</a>: Content in copyright Element</h3>
+ <p>The copyright element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-011">metadatadisplay-schema-copyright-011</a>: Valid copyright Element With dir Attribute in text Element 1</h3>
+ <p>The copyright element contains a text element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-012">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-012">metadatadisplay-schema-copyright-012</a>: Valid copyright Element With dir Attribute in text Element 2</h3>
+ <p>The copyright element contains a text element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-012.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-012-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-013">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-013">metadatadisplay-schema-copyright-013</a>: Invalid copyright Element With dir Attribute in text Element</h3>
+ <p>The copyright element contains a text element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-013.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-013-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-014">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-014">metadatadisplay-schema-copyright-014</a>: Valid copyright Element With class Attribute in text Element</h3>
+ <p>The copyright element contains a text element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-014.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-014-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-015">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-015">metadatadisplay-schema-copyright-015</a>: Unknown Attribute in copyright Element text Element</h3>
+ <p>The copyright element contains a text element with an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-015.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-015-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-016">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-016">metadatadisplay-schema-copyright-016</a>: Unknown Child Element in copyright Element text Element</h3>
+ <p>The copyright element contains a text element with an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-016.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-016-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-017">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-017">metadatadisplay-schema-copyright-017</a>: Valid copyright Element With One div Element in text Element</h3>
+ <p>The copyright element contains a text element that contains a div element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-017.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-017-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-018">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-018">metadatadisplay-schema-copyright-018</a>: Valid copyright Element With Nested div Elements in text Element</h3>
+ <p>The copyright element contains a text element that contains nested div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-018.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-018-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-019">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-019">metadatadisplay-schema-copyright-019</a>: Valid copyright Element With Two div Elements in text Element</h3>
+ <p>The copyright element contains a text element that contains two div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-019.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-019-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-020">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-020">metadatadisplay-schema-copyright-020</a>: Valid copyright Element With dir Attribute in div Element in text Element 1</h3>
+ <p>The copyright element contains a text element that contains a div element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-020.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-020-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-021">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-021">metadatadisplay-schema-copyright-021</a>: Valid copyright Element With dir Attribute in div Element in text Element 2</h3>
+ <p>The copyright element contains a text element that contains a div element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-021.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-021-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-022">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-022">metadatadisplay-schema-copyright-022</a>: Invalid copyright Element With dir Attribute in div Element in text Element</h3>
+ <p>The copyright element contains a text element that contains a div element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-022.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-022-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-023">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-023">metadatadisplay-schema-copyright-023</a>: Valid copyright Element With class Attribute in div Element in text Element</h3>
+ <p>The copyright element contains a text element that contains a div element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-023.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-023-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-024">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-024">metadatadisplay-schema-copyright-024</a>: Valid copyright Element With One span Element in text Element</h3>
+ <p>The copyright element contains a text element that contains a span element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-024.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-024-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-025">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-025">metadatadisplay-schema-copyright-025</a>: Valid copyright Element With Two span Elements in text Element</h3>
+ <p>The copyright element contains a text element that contains two span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-025.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-025-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-026">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-026">metadatadisplay-schema-copyright-026</a>: Valid copyright Element With Nested span Elements in text Element</h3>
+ <p>The copyright element contains a text element that contains nested span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-026.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-026-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-027">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-027">metadatadisplay-schema-copyright-027</a>: Valid copyright Element With dir Attribute in span Element in text Element 1</h3>
+ <p>The copyright element contains a text element that contains a span element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-027.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-027-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-028">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-028">metadatadisplay-schema-copyright-028</a>: Valid copyright Element With dir Attribute in span Element in text Element 2</h3>
+ <p>The copyright element contains a text element that contains a span element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-028.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-028-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-029">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-029">metadatadisplay-schema-copyright-029</a>: Invalid copyright Element With dir Attribute in span Element in text Element</h3>
+ <p>The copyright element contains a text element that contains a span element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-029.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-029-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-copyright-030">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-copyright-030">metadatadisplay-schema-copyright-030</a>: Valid copyright Element With class Attribute in span Element in text Element</h3>
+ <p>The copyright element contains a text element that contains a span element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-copyright-030.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-copyright-030-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-001">metadatadisplay-schema-trademark-001</a>: Valid trademark Element With One No Language Tagged text Element</h3>
+ <p>The trademark element matches the schema. It contains one text element that does not have a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-002">metadatadisplay-schema-trademark-002</a>: Valid trademark Element With One Language Tagged text Element</h3>
+ <p>The trademark element matches the schema. It contains one text element that has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-003">metadatadisplay-schema-trademark-003</a>: Valid trademark Element With One Language Tagged (using lang) text Element</h3>
+ <p>The trademark element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-004">metadatadisplay-schema-trademark-004</a>: Valid trademark Element With Mixed text Element Language Tags 1</h3>
+ <p>The trademark element matches the schema. One text element does not have a language tag. One text element has a language tag.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-005">metadatadisplay-schema-trademark-005</a>: Valid trademark Element With Mixed text Element Language Tags 2</h3>
+ <p>The trademark element matches the schema. Two text elements have a language tags.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-006">metadatadisplay-schema-trademark-006</a>: More Than One trademark Element</h3>
+ <p>The trademark element occurs more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-007">metadatadisplay-schema-trademark-007</a>: No text Element in trademark Element</h3>
+ <p>The trademark element does not contain a text child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-008">metadatadisplay-schema-trademark-008</a>: Unknown Attribute in trademark Element</h3>
+ <p>The trademark element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-009">metadatadisplay-schema-trademark-009</a>: Unknown Child Element in trademark Element</h3>
+ <p>The trademark element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-010">metadatadisplay-schema-trademark-010</a>: Content in trademark Element</h3>
+ <p>The trademark element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-011">metadatadisplay-schema-trademark-011</a>: Valid trademark Element With dir Attribute in text Element 1</h3>
+ <p>The trademark element contains a text element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-012">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-012">metadatadisplay-schema-trademark-012</a>: Valid trademark Element With dir Attribute in text Element 2</h3>
+ <p>The trademark element contains a text element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-012.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-012-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-013">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-013">metadatadisplay-schema-trademark-013</a>: Invalid trademark Element With dir Attribute in text Element</h3>
+ <p>The trademark element contains a text element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-013.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-013-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-014">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-014">metadatadisplay-schema-trademark-014</a>: Valid trademark Element With class Attribute in text Element</h3>
+ <p>The trademark element contains a text element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-014.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-014-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-015">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-015">metadatadisplay-schema-trademark-015</a>: Unknown Attribute in trademark Element text Element</h3>
+ <p>The trademark element contains a text element with an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-015.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-015-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-016">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-016">metadatadisplay-schema-trademark-016</a>: Unknown Child Element in trademark Element text Element</h3>
+ <p>The trademark element contains a text element with an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-016.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-016-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-017">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-017">metadatadisplay-schema-trademark-017</a>: Valid trademark Element With One div Element in text Element</h3>
+ <p>The trademark element contains a text element that contains a div element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-017.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-017-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-018">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-018">metadatadisplay-schema-trademark-018</a>: Valid trademark Element With Two div Elements in text Element</h3>
+ <p>The trademark element contains a text element that contains two div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-018.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-018-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-019">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-019">metadatadisplay-schema-trademark-019</a>: Valid trademark Element With Nested div Elements in text Element</h3>
+ <p>The trademark element contains a text element that contains nested div elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-019.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-019-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-020">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-020">metadatadisplay-schema-trademark-020</a>: Valid trademark Element With dir Attribute in div Element in text Element 1</h3>
+ <p>The trademark element contains a text element that contains a div element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-020.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-020-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-021">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-021">metadatadisplay-schema-trademark-021</a>: Valid trademark Element With dir Attribute in div Element in text Element 2</h3>
+ <p>The trademark element contains a text element that contains a div element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-021.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-021-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-022">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-022">metadatadisplay-schema-trademark-022</a>: Invalid trademark Element With dir Attribute in div Element in text Element</h3>
+ <p>The trademark element contains a text element that contains a div element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-022.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-022-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-023">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-023">metadatadisplay-schema-trademark-023</a>: Valid trademark Element With class Attribute in div Element in text Element</h3>
+ <p>The trademark element contains a text element that contains a div element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-023.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-023-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-024">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-024">metadatadisplay-schema-trademark-024</a>: Valid trademark Element With One span Element in text Element</h3>
+ <p>The trademark element contains a text element that contains a span element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-024.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-024-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-025">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-025">metadatadisplay-schema-trademark-025</a>: Valid trademark Element With Two span Elements in text Element</h3>
+ <p>The trademark element contains a text element that contains two span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-025.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-025-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-026">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-026">metadatadisplay-schema-trademark-026</a>: Valid trademark Element With Nested span Elements in text Element</h3>
+ <p>The trademark element contains a text element that contains nested span elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-026.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-026-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-027">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-027">metadatadisplay-schema-trademark-027</a>: Valid trademark Element With dir Attribute in span Element in text Element 1</h3>
+ <p>The trademark element contains a text element that contains a span element with ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-027.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-027-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-028">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-028">metadatadisplay-schema-trademark-028</a>: Valid trademark Element With dir Attribute in span Element in text Element 2</h3>
+ <p>The trademark element contains a text element that contains a span element with rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-028.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-028-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-029">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-029">metadatadisplay-schema-trademark-029</a>: Invalid trademark Element With dir Attribute in span Element in text Element</h3>
+ <p>The trademark element contains a text element that contains a span element with INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-029.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-029-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-trademark-030">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-trademark-030">metadatadisplay-schema-trademark-030</a>: Valid trademark Element With class Attribute in span Element in text Element</h3>
+ <p>The trademark element contains a text element that contains a span element with "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-trademark-030.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-trademark-030-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-001">metadatadisplay-schema-licensee-001</a>: Valid licensee Element</h3>
+ <p>The licensee element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-002">metadatadisplay-schema-licensee-002</a>: More Than One licensee Element</h3>
+ <p>The licensee element occurs more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-003">metadatadisplay-schema-licensee-003</a>: No name Attribute in licensee Element</h3>
+ <p>The licensee element does not contain the required name attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-004">metadatadisplay-schema-licensee-004</a>: Valid licensee Element With dir Attribute 1</h3>
+ <p>The licensee element has ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-005">metadatadisplay-schema-licensee-005</a>: Valid licensee Element With dir Attribute 2</h3>
+ <p>The licensee element has rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-006">metadatadisplay-schema-licensee-006</a>: Invalid licensee Element With dir Attribute</h3>
+ <p>The licensee element has INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-007">metadatadisplay-schema-licensee-007</a>: Valid licensee Element With class Attribute</h3>
+ <p>The licensee element has "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-008">metadatadisplay-schema-licensee-008</a>: Unknown Attribute in licensee Element</h3>
+ <p>The licensee element occures more than once.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-009">metadatadisplay-schema-licensee-009</a>: Child Element in licensee Element</h3>
+ <p>The licensee element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-licensee-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-licensee-010">metadatadisplay-schema-licensee-010</a>: Content in licensee Element</h3>
+ <p>The licensee element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-licensee-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-licensee-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-001">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-001">metadatadisplay-schema-extension-001</a>: Valid extension Element</h3>
+ <p>The extension element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-001.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-001-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-002">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-002">metadatadisplay-schema-extension-002</a>: Two Valid extension Elements</h3>
+ <p>Two extension elements match the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-002.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-002-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-003">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-003">metadatadisplay-schema-extension-003</a>: Valid extension Element Without id Attribute</h3>
+ <p>The extension element does not have an id attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-003.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-003-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-004">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-004">metadatadisplay-schema-extension-004</a>: Valid extension Element Without name Element</h3>
+ <p>The extension element does not have a name child element but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-004.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-004-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-005">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-005">metadatadisplay-schema-extension-005</a>: Valid extension Element With Two name Elements 1</h3>
+ <p>The extension element contains one name element without a lang attribute and another with a lang attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-005.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-005-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-006">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-006">metadatadisplay-schema-extension-006</a>: Valid extension Element With Two name Elements 2</h3>
+ <p>The extension element contains two name elements with lang attributes.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-006.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-006-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-007">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-007">metadatadisplay-schema-extension-007</a>: Valid extension Element With Two item Elements</h3>
+ <p>The extension element contains two item child elements.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-007.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-007-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-008">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-008">metadatadisplay-schema-extension-008</a>: No item Element in extension Element</h3>
+ <p>The extension element does not contain an item child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-008.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-008-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-009">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-009">metadatadisplay-schema-extension-009</a>: Unknown Attribute in extension Element</h3>
+ <p>The extension element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-009.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-009-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-010">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-010">metadatadisplay-schema-extension-010</a>: Unknown Child Element in extension Element</h3>
+ <p>The extension element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-010.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-010-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-011">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-011">metadatadisplay-schema-extension-011</a>: Content in extension Element</h3>
+ <p>The extension element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-011.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-011-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-012">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-012">metadatadisplay-schema-extension-012</a>: Valid name Element in extension Element</h3>
+ <p>The name element in the extension element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-012.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-012-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-013">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-013">metadatadisplay-schema-extension-013</a>: Valid name Element With xml:lang Attribute in extension Element</h3>
+ <p>The name element in the extension element contains a xml:lang attribute and it matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-013.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-013-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-014">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-014">metadatadisplay-schema-extension-014</a>: Valid name Element With lang Attribute in extension Element</h3>
+ <p>The name element in the extension element contains a lang attribute and it matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-014.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-014-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-015">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-015">metadatadisplay-schema-extension-015</a>: Valid name Element With dir Attribute in extension Element 1</h3>
+ <p>The name element in the extension element has ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-015.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-015-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-016">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-016">metadatadisplay-schema-extension-016</a>: Valid name Element With dir Attribute in extension Element 2</h3>
+ <p>The name element in the extension element has rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-016.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-016-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-017">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-017">metadatadisplay-schema-extension-017</a>: Invalid name Element With dir Attribute in extension Element</h3>
+ <p>The name element in the extension element has INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-017.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-017-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-018">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-018">metadatadisplay-schema-extension-018</a>: Valid name Element With class Attribute in extension Element</h3>
+ <p>The name element in the extension element has "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-018.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-018-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-019">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-019">metadatadisplay-schema-extension-019</a>: Unknown Attribute in name Element in extension Element</h3>
+ <p>The name element in the extension element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-019.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-019-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-020">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-020">metadatadisplay-schema-extension-020</a>: Child Element in name Element in extension Element</h3>
+ <p>The name element in the extension element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-020.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-020-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-021">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-021">metadatadisplay-schema-extension-021</a>: Valid item Element in extension Element</h3>
+ <p>The item element in the extension element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-021.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-021-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-022">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-022">metadatadisplay-schema-extension-022</a>: Valid item Element With Multiple Languages in extension Element</h3>
+ <p>The item element in the extension element contains a variety of languages.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-022.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-022-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-023">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-023">metadatadisplay-schema-extension-023</a>: Valid item Element Without id Attribute in extension Element</h3>
+ <p>The item element in the extension element does not contain an id attribute but it still matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-023.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-023-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-024">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-024">metadatadisplay-schema-extension-024</a>: Valid item Element With Two name Elements in extension Element 1</h3>
+ <p>The item element in the extension element contains one name child element with no lang attribute and one with a lang attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-024.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-024-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-025">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-025">metadatadisplay-schema-extension-025</a>: Valid item Element With Two name Elements in extension Element 2</h3>
+ <p>The item element in the extension element contains two name child elements with lang attributes.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-025.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-025-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-026">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-026">metadatadisplay-schema-extension-026</a>: Valid item Element With Two value Elements in extension Element 1</h3>
+ <p>The item element in the extension element contains one value child element with no lang attribute and one with a lang attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-026.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-026-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-027">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-027">metadatadisplay-schema-extension-027</a>: Valid item Element With Two value Elements in extension Element 2</h3>
+ <p>The item element in the extension element contains two value child elements with lang attributes.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-027.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-027-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-028">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-028">metadatadisplay-schema-extension-028</a>: No name Element in item Element in extension Element</h3>
+ <p>The item element in the extension element does not contain a name child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-028.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-028-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-029">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-029">metadatadisplay-schema-extension-029</a>: No value Element in item Element in extension Element</h3>
+ <p>The item element in the extension element does not contain a value child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-029.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-029-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-030">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-030">metadatadisplay-schema-extension-030</a>: Unknown Attribute in item Element in extension Element</h3>
+ <p>The item element in the extension element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-030.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-030-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-031">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-031">metadatadisplay-schema-extension-031</a>: Unknown Child Element in item Element in extension Element</h3>
+ <p>The item element in the extension element contains an unknown child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-031.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-031-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-032">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-032">metadatadisplay-schema-extension-032</a>: Content in item Element in extension Element</h3>
+ <p>The item element in the extension element contains content.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-032.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-032-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-033">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-033">metadatadisplay-schema-extension-033</a>: Valid name Element in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-033.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-033-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-034">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-034">metadatadisplay-schema-extension-034</a>: Valid name Element With xml:lang Attribute in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element contains a xml:lang attribute and it matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-034.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-034-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-035">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-035">metadatadisplay-schema-extension-035</a>: Valid name Element With lang Attribute in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element contains a lang attribute and it matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-035.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-035-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-036">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-036">metadatadisplay-schema-extension-036</a>: Valid name Element With dir Attribute in item Element in extension Element 1</h3>
+ <p>The name element in the item element in the extension element has ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-036.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-036-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-037">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-037">metadatadisplay-schema-extension-037</a>: Valid name Element With dir Attribute in item Element in extension Element 2</h3>
+ <p>The name element in the item element in the extension element has rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-037.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-037-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-038">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-038">metadatadisplay-schema-extension-038</a>: Invalid name Element With dir Attribute in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element has INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-038.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-038-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-039">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-039">metadatadisplay-schema-extension-039</a>: Valid name Element With class Attribute in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element has "class1 class2 class3" as the value for the class attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-039.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-039-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-040">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-040">metadatadisplay-schema-extension-040</a>: Unknown Attribute in name Element in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-040.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-040-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-041">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-041">metadatadisplay-schema-extension-041</a>: Child Element in name Element in item Element in extension Element</h3>
+ <p>The name element in the item element in the extension element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-041.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-041-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-042">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-042">metadatadisplay-schema-extension-042</a>: Valid value Element in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-042.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-042-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-043">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-043">metadatadisplay-schema-extension-043</a>: Valid value Element With xml:lang Attribute in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element contains a xml:lang attribute and it matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-043.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-043-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-044">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-044">metadatadisplay-schema-extension-044</a>: Valid value Element With lang Attribute in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element contains a lang attribute and it matches the schema.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-044.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-044-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-045">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-045">metadatadisplay-schema-extension-045</a>: Valid value Element With dir Attribute in item Element in extension Element 1</h3>
+ <p>The value element in the item element in the extension element has ltr as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-045.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-045-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-046">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-046">metadatadisplay-schema-extension-046</a>: Valid value Element With dir Attribute in item Element in extension Element 2</h3>
+ <p>The value element in the item element in the extension element has rtl as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-046.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-046-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-047">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-047">metadatadisplay-schema-extension-047</a>: Invalid value Element With dir Attribute in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element has INVALID as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-047.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-047-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-048">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-048">metadatadisplay-schema-extension-048</a>: Valid value Element With class Attribute in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element has "class1 class2 class3" as the value for the dir attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-048.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-048-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Display <a href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">(Metadata)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-049">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-049">metadatadisplay-schema-extension-049</a>: Unknown Attribute in value Element in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element contains an unknown attribute.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-049.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-049-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="metadatadisplay-schema-extension-050">
+ <div class="testCaseOverview">
+ <h3><a href="#metadatadisplay-schema-extension-050">metadatadisplay-schema-extension-050</a>: Child Element in value Element in item Element in extension Element</h3>
+ <p>The value element in the item element in the extension element contains a child element.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="metadatadisplay-schema-extension-050.xht">Test</a></p>
+ <p><a href="metadatadisplay-schema-extension-050-ref.xht">Reference Rendering</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">conform-metadata-noeffect</a>)</p>
+ <p>Metadata Expectation: Reject <a href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">(conform-invalid-mustignore)</a></p>
+ </div>
+ </div>
+ </div>
+
+ <h2 class="testCategory">Availability</h2>
+ <div class="testCase" id="available-001">
+ <div class="testCaseOverview">
+ <h3><a href="#available-001">available-001</a>: Font access</h3>
+ <p>Linked fonts are only available to the documents that reference them.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="available-001.xht">Test</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#General">General</a> <a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-css3font-available">conform-css3font-available</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ <div class="testCase" id="available-002">
+ <div class="testCaseOverview">
+ <h3><a href="#available-002">available-002</a>: Loading font collections</h3>
+ <p>Fonts must be loaded from font collections.</p>
+ </div>
+ <div class="testCaseDetails">
+ <div class="testCasePages">
+ <p><a href="available-002.xht">Test</a></p>
+ </div>
+ <div class="testCaseExpectations">
+ <p>SFNT Expectation: Display (<a href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustLoadFontCollection">conform-mustLoadFontCollection</a>)</p>
+ <p>Metadata Expectation: None</p>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-001-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-001-ref.xht
new file mode 100644
index 0000000000..7250e3197a
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-001-ref.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid CFF flavored WOFF with no metadata and no private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-001.xht b/testing/web-platform/tests/css/WOFF2/valid-001.xht
new file mode 100644
index 0000000000..ed85515cba
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-001.xht
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 1</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-001-ref.xht" />
+ <meta name="assert" content="Valid CFF flavored WOFF with no metadata and no private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-001.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-002-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-002-ref.xht
new file mode 100644
index 0000000000..aa50b96f60
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-002-ref.xht
@@ -0,0 +1,140 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid CFF flavored WOFF with metadata" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-002.xht b/testing/web-platform/tests/css/WOFF2/valid-002.xht
new file mode 100644
index 0000000000..7e09c2a9b1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-002.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 2</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-002-ref.xht" />
+ <meta name="assert" content="Valid CFF flavored WOFF with metadata" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-002.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-003-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-003-ref.xht
new file mode 100644
index 0000000000..515b674936
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-003-ref.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 3</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid CFF flavored WOFF with private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-003.xht b/testing/web-platform/tests/css/WOFF2/valid-003.xht
new file mode 100644
index 0000000000..0151c028a1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-003.xht
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 3</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-003-ref.xht" />
+ <meta name="assert" content="Valid CFF flavored WOFF with private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-003.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-004-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-004-ref.xht
new file mode 100644
index 0000000000..862f28b2c5
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-004-ref.xht
@@ -0,0 +1,140 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 4</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid CFF flavored WOFF with metadata and private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test CFF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-004.xht b/testing/web-platform/tests/css/WOFF2/valid-004.xht
new file mode 100644
index 0000000000..2ea190b960
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-004.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 4</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-004-ref.xht" />
+ <meta name="assert" content="Valid CFF flavored WOFF with metadata and private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-004.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test CFF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-005-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-005-ref.xht
new file mode 100644
index 0000000000..763f036f29
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-005-ref.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 5</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with no metadata and no private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-005.xht b/testing/web-platform/tests/css/WOFF2/valid-005.xht
new file mode 100644
index 0000000000..713b25b19d
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-005.xht
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 5</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-005-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with no metadata and no private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-005.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-006-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-006-ref.xht
new file mode 100644
index 0000000000..2ce9aac548
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-006-ref.xht
@@ -0,0 +1,140 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 6</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with metadata" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-006.xht b/testing/web-platform/tests/css/WOFF2/valid-006.xht
new file mode 100644
index 0000000000..b50a9f3880
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-006.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 6</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-006-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with metadata" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-006.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-007-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-007-ref.xht
new file mode 100644
index 0000000000..75d9454012
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-007-ref.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 7</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-007.xht b/testing/web-platform/tests/css/WOFF2/valid-007.xht
new file mode 100644
index 0000000000..7c23d1e399
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-007.xht
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 7</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-007-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-007.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <div class="test">P</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-008-ref.xht b/testing/web-platform/tests/css/WOFF2/valid-008-ref.xht
new file mode 100644
index 0000000000..737a6094e1
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-008-ref.xht
@@ -0,0 +1,140 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 8</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <meta name="assert" content="Valid TTF flavored WOFF with metadata and private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test TTF Reference";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/WOFF2/valid-008.xht b/testing/web-platform/tests/css/WOFF2/valid-008.xht
new file mode 100644
index 0000000000..a3892510ee
--- /dev/null
+++ b/testing/web-platform/tests/css/WOFF2/valid-008.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+ <title>WOFF Test: Valid WOFF 8</title>
+ <link rel="author" title="Tal Leming" href="http://typesupply.com" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
+ <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-private-noeffect" />
+ <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-maydisplay" />
+ <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+ <link rel="match" href="valid-008-ref.xht" />
+ <meta name="assert" content="Valid TTF flavored WOFF with metadata and private data" />
+ <style type="text/css"><![CDATA[
+ @import url("support/test-fonts.css");
+ @font-face {
+ font-family: "WOFF Test";
+ src: url("support/valid-008.woff2") format("woff2");
+ }
+ body {
+ font-size: 20px;
+ }
+ pre {
+ font-size: 12px;
+ }
+ .test {
+ font-family: "WOFF Test", "WOFF Test TTF Fallback";
+ font-size: 200px;
+ margin-top: 50px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if the word PASS appears below.</p>
+ <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
+ <div class="test">P</div>
+ <p>The XML contained in the Extended Metadata Block is below.</p>
+ <pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;metadata version="1.0"&gt;
+ &lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
+ &lt;vendor name="Test Vendor" url="http://w3c.org/Fonts" /&gt;
+ &lt;credits&gt;
+ &lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
+ &lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
+ &lt;/credits&gt;
+ &lt;description url="http://w3c.org/Fonts"&gt;
+ &lt;text&gt;
+ Description without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Description with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Description with "fr" language.
+ &lt;/text&gt;
+ &lt;/description&gt;
+ &lt;license url="http://w3c.org/Fonts" id="License ID"&gt;
+ &lt;text&gt;
+ License without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ License with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ License with "fr" language.
+ &lt;/text&gt;
+ &lt;/license&gt;
+ &lt;copyright&gt;
+ &lt;text&gt;
+ Copyright without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Copyright with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Copyright with "fr" language.
+ &lt;/text&gt;
+ &lt;/copyright&gt;
+ &lt;trademark&gt;
+ &lt;text&gt;
+ Trademark without language.
+ &lt;/text&gt;
+ &lt;text lang="en"&gt;
+ Trademark with "en" language.
+ &lt;/text&gt;
+ &lt;text lang="fr"&gt;
+ Trademark with "fr" language.
+ &lt;/text&gt;
+ &lt;/trademark&gt;
+ &lt;licensee name="Licensee Name" /&gt;
+ &lt;extension id="Extension 1"&gt;
+ &lt;name&gt;Extension 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 1 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 1 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 1 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 1 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 1 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 1 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 1 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 1 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+ &lt;extension id="Extension 2"&gt;
+ &lt;name&gt;Extension 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;item id="Extension 2 - Item 1 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 1 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 1 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 1 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 1 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 1 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 1 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 2 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 2 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 2 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 2 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 2 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 2 - Value With "en" Language&lt;/value&gt;
+ &lt;value lang="fr"&gt;Extension 2 - Item 2 - Value With "fr" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;item id="Extension 2 - Item 3 ID"&gt;
+ &lt;name&gt;Extension 2 - Item 3 - Name Without Language&lt;/name&gt;
+ &lt;name lang="en"&gt;Extension 2 - Item 3 - Name With "en" Language&lt;/name&gt;
+ &lt;name lang="fr"&gt;Extension 2 - Item 3 - Name With "fr" Language&lt;/name&gt;
+ &lt;value&gt;Extension 2 - Item 3 - Value Without Language&lt;/value&gt;
+ &lt;value lang="en"&gt;Extension 2 - Item 3 - Value With "en" Language&lt;/value&gt;
+ &lt;/item&gt;
+ &lt;/extension&gt;
+&lt;/metadata&gt;
+ </pre>
+ </body>
+</html> \ No newline at end of file