summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/borders
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/CSS2/borders
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/borders')
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-001-ref.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-001.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-002.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-003-ref.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-003.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-004.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-005-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-005.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-006-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-006.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-007.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-008.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-009.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-010.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-011.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-012.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-013.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-014.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-015.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-016.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-017.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-018.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-001-ref.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-001.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-002.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-003.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-004.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-005.xht61
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-006.xht61
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-007.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-009.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-012.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-013.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-014.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-applies-to-015.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-001-ref.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-002.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-003.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-004.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-005-ref.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-006.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-007.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-008.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-009.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-010.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-011.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-012.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-013.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-014.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-015.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-016-ref.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-016.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-017.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-018-ref.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-018.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-002.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-003.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-004.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-005.xht52
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-006.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-007.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-009.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-012.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-013.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-014.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-015.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-001-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-001.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-002.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-003-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-003.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005-ref.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006-ref.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-007.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-008.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-013.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-018.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-023.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-024.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-025.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-029.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-030.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-031.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-033.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-035.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-036.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-040.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-041.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-043.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-045.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-046.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-047.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-048.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-050.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-051.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-053.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054-ref.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-055.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-056.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-057.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-058.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-059.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-060.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-061.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-062.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-064.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-065.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-066.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-067.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-068.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-069.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-071.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-072.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-074.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-076.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-077.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-078.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-079.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-080.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-081.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-082.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-084.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-085.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-086.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-087.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-088.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-089.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-091.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-092.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-094.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-096.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-097.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-098.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-099.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-101.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-102.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-104.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-105.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-106.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-107.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-108.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-109.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-111.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-112.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-114.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-116.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-117.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-118.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-119.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-120.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-121.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-122.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-124.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-125.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-126.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-127.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-128.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-130.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144-ref.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-174.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-175.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-001.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-002.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-003.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-004.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-005.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-006.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-007.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-008.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-009.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-010.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-012.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-013.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-014.xht47
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-015.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-001.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-002.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-003.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-004.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005-ref.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-006.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-007.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-009.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-010.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-011.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-001.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-002.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-003.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-004.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-005.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-006.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-007.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-009.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-012.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-013.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-014.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-015.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001-ref.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-002.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-004.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-007.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-013.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-014.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-015.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-016.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-017.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-018.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-023.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-024.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025-ref.xht20
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-026.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-027.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-028.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-029.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-034.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-035.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-036.xht60
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-037.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-038.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-039.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-040.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-045.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-046.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-047.xht60
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-048.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-049.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-050.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-051.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-056.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-057.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058-ref.xht20
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-059.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-060.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-062.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-067.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-068.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069-ref.xht20
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-070.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-071.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-073.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-078.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-079.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-080.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-081.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-082.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-083.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-084.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-089.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-090.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-091.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-092.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-093.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-094.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-095.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-001.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-002.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-003.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-004.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-005.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-006.xht58
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-007.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-008.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-009.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-012.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-013.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-014.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-015.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-001-ref.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-002.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-003.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-004.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-005-ref.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-005.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-006-ref.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-006.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-007.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-008.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-009.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-010-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-010.xht18
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-011-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-011.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-012-ref.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-012.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-001.xht59
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-002.xht59
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-003.xht59
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-004.xht47
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-005.xht63
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-006.xht63
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-007.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-009.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-010.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-012.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-013.xht48
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-014.xht48
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-015.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001-ref.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-002.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-003.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-004.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101-ref.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101.xht52
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-102.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-103.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-104.xht53
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-105.xht59
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-conflict-style-106.xht59
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-dynamic-001-ref.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-dynamic-001.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-dynamic-002.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-001.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-002.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-003-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-003.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-004.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-005-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-005.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-006.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-007.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-008.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-009.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-010.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-011.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-012.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-013.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-014.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-015.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-016.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-017.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-018-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-018.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-002.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-003.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-004.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-005.xht53
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-006.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-007.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-009.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-012.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-013.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-014.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-015.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-001.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-002.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-003.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-004.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-005.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-006.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-007.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-008.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-009.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-010.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-011.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-012.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-013.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-014.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-015.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-016.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-017.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-018.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-019.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-020.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-021.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-022.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-023.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-024.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-025.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-026.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-027.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-028.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-029.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-030.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-031.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-032.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-033.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-034.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-035.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-036.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-037.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-038.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-039.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-040.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-041.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-042.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-043.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-044.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-045.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-046.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-047.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-048.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-049.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-050.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-051.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-052.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-053.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-054.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-055.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-056.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-057.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-058.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-059.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-060.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-061.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-062.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-063.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-064.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-065.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-066.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-067.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-068.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-069.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-070.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-071.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-072.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-073.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-074.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-075.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-076.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-077.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-078.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-079.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-080.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-081.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-082.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-083.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-084.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-085.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-086.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-087.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-088.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-089.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-090.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-091.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-092.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-093.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-094.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-095.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-096.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-097.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-098.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-099.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-100.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-101.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-102.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-103.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-104.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-105.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-106.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-107.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-108.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-109.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-110.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-111.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-112.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-113.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-114.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-115.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-116.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-117.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-118.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-119.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-120.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-121.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-122.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-123.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-124.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-125.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-126.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-127.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-128.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-129.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-130.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-131.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-132.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-133.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-134.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-135.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-136.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-137.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-138.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-139.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-140.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-141.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-142.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-143.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-144.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-145.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-174-ref.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-174.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-175.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-001.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-002.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-003.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-004.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-005.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-006.xht58
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-007.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-008.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-009.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-010.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-012.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-013.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-014.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-015.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-001.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-002.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-003.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-004.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-005-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-005.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-006.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-007.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-008.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-009.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-011.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-001.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-002.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-003.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-004.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-005.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-006.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-007.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-009.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-012.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-013.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-014.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-015.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-001-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-001.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-002.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-003-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-003.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-004.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-006-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-006.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-007.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-012.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-013.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-015.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-016.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-017.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-018.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-023.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-024.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-025-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-025.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-026.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-027.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-028.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-029.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-034.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-035.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-036.xht62
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-037.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-038.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-039.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-040.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-045.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-046.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-047.xht61
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-048.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-049.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-050.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-051.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-056.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-057.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-058.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-059.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-060.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-061-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-061.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-062.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-067.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-068.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-069-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-069.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-070.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-071.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-072-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-072.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-073.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-078.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-079.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-080.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-081.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-082.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-083.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-084.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-089.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-090.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-091.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-092.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-093.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-094.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-095-ref.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-095.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-001.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-002.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-003.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-004.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-005.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-006.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-007.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-008.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-009.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-012.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-013.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-014.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-015.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-001-ref.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-002.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-003-ref.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-003.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-004.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-005-ref.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-006.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-007.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-008.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-009.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-010.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-011.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-012.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-013.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-014.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-015.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-016.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-017.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-018-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-018.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-001.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-002.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-003.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-004.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-005.xht53
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-006.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-007.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-009.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-012.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-013.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-014.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-015.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-001-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-001.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-002.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-003-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-003.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-004-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-004.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-005-ref.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-005.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-006-ref.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-006.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-007-ref.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-007.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-008.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-009-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-009.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-010-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-010.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-011-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-011.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-012-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-012.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-013.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-014-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-014.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-015-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-015.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-016-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-016.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-017-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-017.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-018.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-019-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-019.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-020-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-020.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-021-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-021.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-022-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-022.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-023.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-024.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-025.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-026-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-026.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-027-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-027.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-028-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-028.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-029.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-030.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-031.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-032-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-032.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-033.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-034-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-034.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-035.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-036.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-037-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-037.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-038-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-038.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-039-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-039.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-040.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-041.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-042-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-042.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-043.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-044-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-044.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-045.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-046.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-047.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-048.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-049-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-049.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-050.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-051.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-052-ref.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-052.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-053.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-054-ref.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-054.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-055.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-056.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-057.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-058.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-059.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-060.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-061.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-062.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-063-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-063.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-064.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-065.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-066.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-067.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-068.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-069.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-070-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-070.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-071.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-072.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-073-ref.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-073.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-074.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-075-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-075.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-076.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-077.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-078.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-079.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-080.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-081.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-082.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-083-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-083.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-084.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-085.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-086.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-087.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-088.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-089.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-090-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-090.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-091.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-092.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-093-ref.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-093.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-094.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-095-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-095.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-096.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-097.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-098.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-099.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-100-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-100.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-101.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-102.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-103-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-103.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-104.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-105.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-106.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-107.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-108.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-109.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-110-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-110.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-111.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-112.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-113-ref.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-113.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-114.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-115-ref.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-115.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-116.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-117.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-118.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-119.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-120.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-121.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-122.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-123-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-123.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-124.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-125.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-126.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-127.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-128.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-129-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-129.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-130.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-131-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-131.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-132-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-132.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-133-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-133.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-134-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-134.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-135-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-135.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-136-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-136.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-137-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-137.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-138-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-138.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-139-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-139.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-140-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-140.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-141-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-141.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-142-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-142.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-143-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-143.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-144-ref.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-144.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-145-ref.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-145.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-174.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-175-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-175.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-001.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-002.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-003.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-004.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-005.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-006.xht58
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-007.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-008.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-009.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-010.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-012.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-013.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-014.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-015.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-002.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-003.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-004.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-005-ref.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-006.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-007.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-008.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-009.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-011.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-001.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-002.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-003.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-004.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-005.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-006.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-007.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-009.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-012.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-013.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-014.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-015.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-001.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-002.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-003.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-004.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-006.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-007.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-012.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-013.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-015.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-016.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-017.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-018.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-023.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-024.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-025.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-026.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-027.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-028.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-029.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-034.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-035.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-036.xht61
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-037.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-038.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-039.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-040.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-045.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-046.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-047.xht61
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-048.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-049.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-050.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-051.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-056.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-057.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-058.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-059.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-060.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-061.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-062.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-067.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-068.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-069.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-070.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-071.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-072.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-073.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-078.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-079.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-080.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-081.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-082.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-083.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-084.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-089.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-090.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-091.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-092.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-093.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-094.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-095-ref.xht53
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-095.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-001.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-002.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-003.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-004.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-005.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-006.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-007.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-008.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-009.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-010.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-012.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-013.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-014.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-015.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-shorthands-001-ref.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-shorthands-001.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-shorthands-002.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-shorthands-003-ref.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-shorthands-003.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-001.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-002.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-003.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-004.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-006.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-007.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-008.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-009.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-001.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-002.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-003.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-004.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-005.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-006.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-007.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-008.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-009.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-012.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-013.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-014.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-015.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-016.xht58
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-017.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-018.xht59
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-019.xht67
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-020.xht58
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-021.xht65
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-022.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-023.xht66
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-024.xht62
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-025.xht66
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-026.xht63
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-027.xht64
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-initial-001.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-rendering-001.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-rendering-002.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-rendering-003.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-rendering-004.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-001.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-002.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-003.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-004.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-001.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-002.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-003.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-004.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-005-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-006.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-007.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-008.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-009.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-010.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-011.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-012.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-013.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-014.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-015.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-016.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-017.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-018-ref.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-018.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-001.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-002.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-003.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-004.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-005.xht52
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-006.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-007.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-009.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-012.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-013.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-014.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-015.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-001.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-002.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-003.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-004.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-005.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-006.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-007.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-008.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-009.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-010.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-011.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-012.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-013.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-014.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-015.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-016.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-017.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-018.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-019.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-020.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-021.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-022.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-023.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-024.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-025.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-026.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-027.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-028.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-029.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-030.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-031.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-032.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-033.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-034.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-035.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-036.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-037.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-038.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-039.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-040.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-041.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-042.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-043.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-044.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-045.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-046.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-047.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-048.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-049.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-050.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-051.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-052.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-053.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-054.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-055.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-056.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-057.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-058.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-059.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-060.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-061.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-062.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-063.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-064.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-065.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-066.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-067.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-068.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-069.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-070.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-071.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-072.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-073.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-074.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-075.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-076.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-077.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-078.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-079.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-080.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-081.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-082.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-083.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-084.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-085.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-086.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-087.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-088.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-089.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-090.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-091.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-092.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-093.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-094.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-095.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-096.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-097.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-098.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-099.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-100.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-101.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-102.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-103.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-104.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-105.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-106.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-107.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-108.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-109.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-110.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-111.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-112.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-113.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-114.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-115.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-116.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-117.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-118.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-119.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-120.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-121.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-122.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-123.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-124.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-125.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-126.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-127.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-128.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-129.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-130.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-131.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-132.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-133.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-134.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-135.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-136.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-137.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-138.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-139.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-140.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-141.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-142.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-143.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-144.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-145.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-174.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-175.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-001.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-002.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-003.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-004.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-005.xht54
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-006.xht57
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-007.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-008.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-009.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-012.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-013.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-014.xht47
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-015.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-001.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-002.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-003.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-004.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-005.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-006.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-007.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-009.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-010.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-011.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-001.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-002.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-003.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-004.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-005.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-006.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-007.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-008.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-009.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-010.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-012.xht23
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-013.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-014.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-015.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-001-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-001.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-002.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-003.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-004.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-005.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-006.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-007.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-012-ref.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-012.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-013.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-014.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-015.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-016.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-017.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-018.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-023.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-024.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-025.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-026.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-027.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-028.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-029.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-034.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-035.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-036.xht60
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-037.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-038.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-039.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-040.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-045.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-046.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-047.xht60
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-048.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-049.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-050.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-051.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-056.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-057.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-058.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-059.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-060.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-061.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-062.xht36
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-067.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-068.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-069.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-070.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-071.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-072.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-073.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-078.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-079.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-080.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-081.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-082.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-083.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-084.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-089.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-090.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-091.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-092.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-093.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-094.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-095-ref.xht31
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-095.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-001.xht56
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-002.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-003.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-004.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-005.xht55
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-006.xht58
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-007.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-008.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-009.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-010.xht25
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-012.xht38
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-013.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-014.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-015.xht43
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-001.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-002-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-002.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-003-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-003.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-004-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-004.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-005-ref.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-005.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-006-ref.xht35
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-006.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-007-ref.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-007.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-008-ref.xht39
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-008.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-009-ref.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-009.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-010-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-010.xht21
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-011.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-012.xht42
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-013.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-014-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-014.xht50
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-001.xht47
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-002.xht45
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-003.xht47
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-004.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-005.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-006.xht46
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-007.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008-ref.xht30
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009-ref.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009.xht29
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-010.xht26
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-012.xht41
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-013.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-014.xht40
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-015.xht44
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-comparison-001.xht33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004-ref.xht32
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004.xht24
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/discrete-no-interpolation.html33
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/double-border-width-001.xht37
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/groove-default.html15
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/groove-ridge-default-notref.html12
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/ltr-borders-001.xht34
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/ridge-default.html15
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/rtl-borders-001.xht28
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/shand-border-000-ref.xht22
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/shand-border-000.xht27
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/shand-border-001.xht74
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/000001_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/000002_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/00007f_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/000080_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/0000fc_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/0000fe_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/000100_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/000200_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/001_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/007f00_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/008000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/009_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/00e_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/00f_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/00fc00_color.pngbin0 -> 446 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/00fe00_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/010000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/010101_color.pngbin0 -> 958 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/010_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/020000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/020202_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/090_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/0e0_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/0f0_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/100_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/111_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/1x1-green.pngbin0 -> 135 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/1x1-lime.pngbin0 -> 135 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/1x1-maroon.pngbin0 -> 109 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/1x1-navy.pngbin0 -> 109 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/1x1-red.pngbin0 -> 135 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/1x1-white.pngbin0 -> 109 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/60x60-gg-rr.pngbin0 -> 224 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/60x60-green.pngbin0 -> 218 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/7f0000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/7f7f7f_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/800000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/808080_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/900_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/999_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/a-green.css1
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/aqua_color.pngbin0 -> 444 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/b-green.css1
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/black15x15.pngbin0 -> 168 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/blue15x15.pngbin0 -> 185 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/c-red.css1
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/cat.pngbin0 -> 1883 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/diamond.pngbin0 -> 188 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/e00_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/eee_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/f00_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/fc0000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/fcfcfc_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/fe0000_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/fefefe_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/fff_color.pngbin0 -> 901 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/fuchsia_color.pngbin0 -> 505 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/green15x15.pngbin0 -> 170 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/ltr-borders-001.pngbin0 -> 1379 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/maroon_color.pngbin0 -> 506 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/olive_color.pngbin0 -> 506 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rgr-grg.pngbin0 -> 222 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rrg-rgg.pngbin0 -> 231 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/pattern-rgr-grg-rgr.pngbin0 -> 223 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/pattern-tr.pngbin0 -> 137 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/purple_color.pngbin0 -> 958 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/ring.pngbin0 -> 715 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/silver_color.pngbin0 -> 450 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/square-purple.pngbin0 -> 92 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/square-teal.pngbin0 -> 92 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/square-white.pngbin0 -> 78 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-aqua.pngbin0 -> 175 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-blue.pngbin0 -> 84 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-green.pngbin0 -> 84 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-lime.pngbin0 -> 84 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-orange.pngbin0 -> 84 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-red.pngbin0 -> 84 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-white.pngbin0 -> 85 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/swatch-yellow.pngbin0 -> 84 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/teal_color.pngbin0 -> 445 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/test-bl.pngbin0 -> 1368 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/test-br.pngbin0 -> 1045 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/test-outer.pngbin0 -> 2412 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/test-tl.pngbin0 -> 1025 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/test-tr.pngbin0 -> 1235 bytes
-rw-r--r--testing/web-platform/tests/css/CSS2/borders/support/yellow_color.pngbin0 -> 958 bytes
1620 files changed, 53342 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-001-ref.xht
new file mode 100644
index 0000000000..2fe99002ec
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css"><![CDATA[
+ div
+ {
+ font: 25px/1 Ahem;
+ width: 6em;
+ word-spacing: 3em;
+ }
+
+ div.top-and-bottom-stripes
+ {
+ background-color: black;
+ height: 1em;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a hollow black square.</p>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ <div>1 2 3 4 5 6 7 8</div>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-001.xht
new file mode 100644
index 0000000000..f672d88a0d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-001.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/> <!-- 2012-05-16 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#borders"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands"/>
+ <link rel="match" href="border-001-ref.xht"/>
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets border-width."/>
+ <style type="text/css">
+ div
+ {
+ border: 25px;
+ border-style: solid;
+ height: 100px;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-002.xht
new file mode 100644
index 0000000000..27478a7499
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-002.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets border-style." />
+ <style type="text/css">
+ div
+ {
+ border: dashed;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with a dashed border below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-003-ref.xht
new file mode 100644
index 0000000000..80211db90c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-003-ref.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css"><![CDATA[
+ div
+ {
+ color: blue;
+ font: 5px/1 Ahem;
+ width: 22em;
+ word-spacing: 19em;
+ }
+
+ div.top-and-bottom-stripes
+ {
+ background-color: blue;
+ height: 1em;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a hollow blue square.</p>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ <div>1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0</div>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-003.xht
new file mode 100644
index 0000000000..29555e127f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-003.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#borders"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands"/>
+ <link rel="match" href="border-003-ref.xht"/>
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets border-color."/>
+ <style type="text/css">
+ div
+ {
+ border: blue;
+ border-style: solid;
+ border-width: 5px;
+ height: 100px;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-004.xht
new file mode 100644
index 0000000000..90c0536c8d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-004.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets border-width and border-style." />
+ <style type="text/css">
+ div
+ {
+ border: 5px dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with a dashed border below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-005-ref.xht
new file mode 100644
index 0000000000..b937bc78d9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-005-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 192px;
+ width: 192px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled blue square and <strong>no red</strong>.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-005.xht
new file mode 100644
index 0000000000..4086774df7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#borders"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands"/>
+ <link rel="match" href="border-005-ref.xht"/>
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-width' and 'border-color'."/>
+ <style type="text/css">
+ div
+ {
+ position: relative;
+ }
+ #test
+ {
+ border: 1in blue;
+ border-style: solid;
+ height: 0;
+ width: 0;
+ }
+ #reference
+ {
+ background: red;
+ height: 2in;
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 2in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="reference"></div>
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-006-ref.xht
new file mode 100644
index 0000000000..1868b42fdb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-006-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 192px;
+ width: 192px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled black square and <strong>no red</strong>.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-006.xht
new file mode 100644
index 0000000000..baab910905
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/> <!-- 2012-05-16 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#borders"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands"/>
+ <link rel="match" href="border-006-ref.xht"/>
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-style' and 'border-width'."/>
+ <style type="text/css">
+ div
+ {
+ position: relative;
+ }
+ #test
+ {
+ border: solid 1in;
+ height: 0;
+ width: 0;
+ }
+ #reference
+ {
+ background: red;
+ height: 2in;
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 2in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="reference"></div>
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-007.xht
new file mode 100644
index 0000000000..73bff491f6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-007.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-style' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border: dashed blue;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-008.xht
new file mode 100644
index 0000000000..d12d998b52
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-008.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/> <!-- 2012-05-16 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#borders"/>
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands"/>
+ <link rel="match" href="border-005-ref.xht"/>
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-color' and 'border-width'."/>
+ <style type="text/css">
+ div
+ {
+ position: relative;
+ }
+ #test
+ {
+ border: blue 1in;
+ border-style: solid;
+ height: 0;
+ width: 0;
+ }
+ #reference
+ {
+ background: red;
+ height: 2in;
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 2in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="reference"></div>
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-009.xht
new file mode 100644
index 0000000000..a2105111db
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-009.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-color' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border: blue dashed;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-010.xht
new file mode 100644
index 0000000000..99e498a8bb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-010.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-width border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-width', 'border-style' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border: 5px dashed blue;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-011.xht
new file mode 100644
index 0000000000..207033db5f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-011.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-width border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-width', 'border-color' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border: 5px blue dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-012.xht
new file mode 100644
index 0000000000..09eff32aa5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-012.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-style border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-style', 'border-width' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border: dashed 5px blue;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-013.xht
new file mode 100644
index 0000000000..4d1191c3bf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-013.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-style border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-style', 'border-color' and 'border-width'." />
+ <style type="text/css">
+ div
+ {
+ border: dashed blue 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-014.xht
new file mode 100644
index 0000000000..7e8890d44a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-014.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-color border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-color', 'border-width' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border: blue 5px dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-015.xht
new file mode 100644
index 0000000000..d061ad3210
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-015.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set using border-color border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-color', 'border-style' and 'border-width'." />
+ <style type="text/css">
+ div
+ {
+ border: blue 5px dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a dashed blue border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-016.xht
new file mode 100644
index 0000000000..8b26b49a60
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-016.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set to 'inherit', inheriting one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border: dashed;
+ }
+ div div
+ {
+ border: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two boxes with dashed borders below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-017.xht
new file mode 100644
index 0000000000..ec0d270f11
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-017.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set to 'inherit', inheriting two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border: dashed blue;
+ }
+ div div
+ {
+ border: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two boxes with dashed blue borders below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-018.xht
new file mode 100644
index 0000000000..ccca62fb3e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-018.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border set to 'inherit', inheriting three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border: 10px dashed blue;
+ }
+ div div
+ {
+ border: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two boxes with dashed blue borders below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-001-ref.xht
new file mode 100644
index 0000000000..3b90043555
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-001-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div.horizontal-edges
+ {
+ background-color: green;
+ height: 4px;
+ width: 104px;
+ }
+
+ div#vertical-edges
+ {
+ background-color: white;
+ width: 104px;
+ }
+
+ img {vertical-align: bottom;}
+
+ img + img {padding-left: 96px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div class="horizontal-edges"></div>
+
+ <div id="vertical-edges"><img src="support/1x1-green.png" width="4" height="96" alt="Image download support must be enabled" /><img src="support/1x1-green.png" width="4" height="96" alt="Image download support must be enabled" /></div>
+
+ <div class="horizontal-edges"></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-001.xht
new file mode 100644
index 0000000000..15448b937b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-001.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-row-group'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-row-group'." />
+ <style type="text/css">
+ #test
+ {
+ border: green solid 4px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-002.xht
new file mode 100644
index 0000000000..1bfb5d4fa0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-002.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-header-group'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-header-group'." />
+ <style type="text/css">
+ #test
+ {
+ border: green solid 4px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-003.xht
new file mode 100644
index 0000000000..be0ad3f4f5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-003.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-footer-group'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-footer-group'." />
+ <style type="text/css">
+ #test
+ {
+ border: green solid 4px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-004.xht
new file mode 100644
index 0000000000..1133ef5f90
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-row'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-row'." />
+ <style type="text/css">
+ #test
+ {
+ border: green solid 4px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-005.xht
new file mode 100644
index 0000000000..978cc243ce
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-005.xht
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-column-group'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-column-group'." />
+ <style type="text/css">
+ #test
+ {
+ border: green solid 4px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+
+ .col
+ {
+ display: table-column;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test"><div class="col"></div><div class="col"></div></div>
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-006.xht
new file mode 100644
index 0000000000..dc6cb28404
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-006.xht
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-column'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-column'." />
+ <style type="text/css">
+ #test
+ {
+ border: green solid 4px;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test"></div><div class="column"></div>
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-007.xht
new file mode 100644
index 0000000000..9f7d038764
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-cell'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-cell'." />
+ <style type="text/css">
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border: green solid 4px;
+ display: table-cell;
+ height: 96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-008.xht
new file mode 100644
index 0000000000..0b8b788db6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border: 10px solid green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green rectangle.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-009.xht
new file mode 100644
index 0000000000..8770f7ef96
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-009.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border: green solid 4px;
+ display: block;
+ height: 96px;
+ width: 96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-010.xht
new file mode 100644
index 0000000000..2287926ccc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border: green solid 4px;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-012.xht
new file mode 100644
index 0000000000..14ecf6a372
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border: green solid 4px;
+ display: inline-block;
+ width: 96px;
+ }
+
+ span.block-descendant
+ {
+ color: white;
+ display: block;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant">a</span>
+ <span class="block-descendant">b</span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-013.xht
new file mode 100644
index 0000000000..ede909d8f8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table'." />
+ <style type="text/css">
+ #table
+ {
+ border: green solid 4px;
+ display: table;
+ table-layout: fixed;
+ width: 96px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-014.xht
new file mode 100644
index 0000000000..8de602e45b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'inline-table'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'inline-table'." />
+ <style type="text/css">
+ #table
+ {
+ border: green solid 4px;
+ display: inline-table;
+ table-layout: fixed;
+ width: 96px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-015.xht
new file mode 100644
index 0000000000..4d6f650b79
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border applied to element with 'display' set to 'table-caption'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border' property applies to elements with a display of 'table-caption'." />
+ <style type="text/css">
+ #caption
+ {
+ border: green solid 4px;
+ display: table-caption;
+ height: 96px;
+ width: 96px;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div id="table">
+ <div id="caption"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-001-ref.xht
new file mode 100644
index 0000000000..bab394736d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1in;
+ position: relative;
+ top: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled black square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-001.xht
new file mode 100644
index 0000000000..bcae02c444
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' shorthand property sets 'border-width' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: 1in;
+ border-bottom-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-002.xht
new file mode 100644
index 0000000000..23cf7a6be6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-002.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-style' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: dashed;
+ border-bottom-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-003.xht
new file mode 100644
index 0000000000..ab0136338f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-003.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-color' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: blue;
+ border-bottom-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-004.xht
new file mode 100644
index 0000000000..9ddb7b33ce
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-004.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-width' and 'border-style' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: 5px dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-005-ref.xht
new file mode 100644
index 0000000000..e8d83bf3e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 1in;
+ position: relative;
+ top: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled blue square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-005.xht
new file mode 100644
index 0000000000..99429f75b7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-width' and 'border-color' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: 1in blue;
+ border-bottom-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-006.xht
new file mode 100644
index 0000000000..be21a6091f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-006.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-style' and 'border-width' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: solid 1in;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-007.xht
new file mode 100644
index 0000000000..b5cf78ca72
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-007.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-style' and 'border-color' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: dashed blue;
+ border-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-008.xht
new file mode 100644
index 0000000000..e636f401b2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-008.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-color' and 'border-width' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: blue 1in;
+ border-bottom-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-009.xht
new file mode 100644
index 0000000000..a07a22eb1b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-009.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-color' and 'border-style' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: blue dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-010.xht
new file mode 100644
index 0000000000..fbf1737bc3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-010.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-width border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-width', 'border-style' and 'border-color' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: 5px dashed blue;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-011.xht
new file mode 100644
index 0000000000..89aea66d65
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-011.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-width border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-width', 'border-color' and 'border-style' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: 5px blue dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-012.xht
new file mode 100644
index 0000000000..177d92ee23
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-012.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-style border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-style', 'border-width' and 'border-color' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: dashed 5px blue;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-013.xht
new file mode 100644
index 0000000000..af902d5224
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-013.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-style border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-style', 'border-color' and 'border-width' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: dashed blue 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-014.xht
new file mode 100644
index 0000000000..d543aabe62
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-014.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-color border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-color', 'border-width' and 'border-style' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: blue 5px dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-015.xht
new file mode 100644
index 0000000000..77cec891b6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-015.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to border-color border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property sets the 'border-color', 'border-style' and 'border-width' for the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: blue 5px dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-016-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-016-ref.xht
new file mode 100644
index 0000000000..c092b38d90
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 3px;
+ margin-top: 112px;
+ }
+
+ div + div {margin-top: 10px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there are 2 black lines.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-016.xht
new file mode 100644
index 0000000000..0c81d10b7d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-016.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to inherit, inheriting a single value for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-bottom: solid;
+ padding-bottom: 10px;
+ }
+ div div
+ {
+ border-bottom: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 black lines.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-017.xht
new file mode 100644
index 0000000000..09ac61e3c8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-017.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to inherit, inheriting two values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-bottom: dashed blue;
+ padding-bottom: 10px;
+ }
+ div div
+ {
+ border-bottom: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two dashed blue lines below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-018-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-018-ref.xht
new file mode 100644
index 0000000000..2df81b0e7c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 96px;
+ margin-top: 112px;
+ }
+
+ div + div {margin-top: 10px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there are 2 large blue rectangles.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-018.xht
new file mode 100644
index 0000000000..484a8605e4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-018.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom set to inherit, inheriting three values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-018-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-bottom: 1in solid blue;
+ padding-bottom: 10px;
+ }
+ div div
+ {
+ border-bottom: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 large blue rectangles.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001-ref.xht
new file mode 100644
index 0000000000..ff381421b7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 3px;
+ width: 96px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001.xht
new file mode 100644
index 0000000000..7216d02a48
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-002.xht
new file mode 100644
index 0000000000..7ac0839ca8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-003.xht
new file mode 100644
index 0000000000..5422a13fef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-004.xht
new file mode 100644
index 0000000000..2f8c2f231d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with 'display' set to 'table-row'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a 'display' of 'table-row'." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-005.xht
new file mode 100644
index 0000000000..efc82e629b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-006.xht
new file mode 100644
index 0000000000..ca3814f0be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-column;
+ width: 1in;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 2in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-007.xht
new file mode 100644
index 0000000000..c71f3fd71f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="Border-bottom applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-bottom: solid green 3px;
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-008.xht
new file mode 100644
index 0000000000..9e70f5228d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: solid green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-009.xht
new file mode 100644
index 0000000000..ea0d264d5b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-009.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-18 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-bottom: solid green 3px;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-010.xht
new file mode 100644
index 0000000000..e761cfe7ea
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-bottom: solid green;
+ display: list-item;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line and a marker bullet on its left-hand side. (Note the marker bullet does not need to be aligned vertically to any specific position.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-012.xht
new file mode 100644
index 0000000000..02e959a2b0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-bottom: solid green 3px;
+ display: inline-block;
+ vertical-align: top;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-013.xht
new file mode 100644
index 0000000000..b2c46d8c48
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with 'display' set to 'table'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a 'display' of 'table'." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-014.xht
new file mode 100644
index 0000000000..950e53994a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with 'display' set to 'inline-table'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a 'display' of 'inline-table'." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: inline-table;
+ table-layout: fixed;
+ vertical-align: top;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-015.xht
new file mode 100644
index 0000000000..88acea99da
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom applied to element with 'display' set to 'table-caption'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom' property applies to elements with a 'display' of 'table-caption'." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom: solid green 3px;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-001-ref.xht
new file mode 100644
index 0000000000..7c5bdccdce
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-001.xht
new file mode 100644
index 0000000000..5214c335c8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with five digits which is invalid and is equivalent to minimum minus one value for six digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #00000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-002.xht
new file mode 100644
index 0000000000..c52d2aebae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with the minimum value, #000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #000000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #000000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-003-ref.xht
new file mode 100644
index 0000000000..b2b5131875
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/010101_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-003.xht
new file mode 100644
index 0000000000..48b032439c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with the minimum plus one value, #010101</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #010101 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #010101;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #010101;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004-ref.xht
new file mode 100644
index 0000000000..aa7950069d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/999_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004.xht
new file mode 100644
index 0000000000..60d1e4cbf7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a nominal value #999999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-004-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #999999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #999999;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #999999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005-ref.xht
new file mode 100644
index 0000000000..eb79eb193d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {background-color: black;}
+
+ p {color: white;}
+
+ div
+ {
+ background: url("support/fefefe_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-005.xht
new file mode 100644
index 0000000000..c7310c0623
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with the maximum minus one value of #fefefe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #fefefe renders the correct color for the border." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #fefefe;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #fefefe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006-ref.xht
new file mode 100644
index 0000000000..9ef802086a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {background-color: black;}
+
+ p {color: white;}
+
+ div
+ {
+ background: url("support/fff_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-006.xht
new file mode 100644
index 0000000000..fbd7527b5c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with the maximum value of #ffffff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #ffffff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #ffffff;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #ffffff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-007.xht
new file mode 100644
index 0000000000..d9ae994c82
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-007.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with the maximum plus one value of #1000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #1000000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #1000000;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-008.xht
new file mode 100644
index 0000000000..0f5105d209
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-008.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with the maximum plus one value of #fgfgfg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #fgfgfg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #fgfgfg;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009-ref.xht
new file mode 100644
index 0000000000..e5076a43ed
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/010000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009.xht
new file mode 100644
index 0000000000..461e6e273a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-009.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a red set to minimum plus one value, #010000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #010000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #010000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #010000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010-ref.xht
new file mode 100644
index 0000000000..92ea2c169f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: #990000;
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010.xht
new file mode 100644
index 0000000000..990f57bc74
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-010.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a red set to a nominal value, #990000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #990000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #990000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #990000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011-ref.xht
new file mode 100644
index 0000000000..1c97de1ffc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/fe0000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011.xht
new file mode 100644
index 0000000000..94ee90e473
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-011.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a red set to maximum minus one value, #fe0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #fe0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #fe0000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #fe0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012-ref.xht
new file mode 100644
index 0000000000..ea9e7c3bcd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/f00_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012.xht
new file mode 100644
index 0000000000..fddac3965f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a red set to the maximum value, #ff0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #ff0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #ff0000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #ff0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-013.xht
new file mode 100644
index 0000000000..455b89d596
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-013.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a red set to the maximum plus one value, #fg0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #fg0000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #fg0000;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014-ref.xht
new file mode 100644
index 0000000000..d3082895e9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000100_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014.xht
new file mode 100644
index 0000000000..fc00268dab
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a green set to minimum plus one value, #000100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-014-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #000100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #000100;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015-ref.xht
new file mode 100644
index 0000000000..b04da23788
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/090_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015.xht
new file mode 100644
index 0000000000..8bc3c80da5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a green set to a nominal value, #009900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-015-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #009900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #009900;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #009900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016-ref.xht
new file mode 100644
index 0000000000..538f9051c2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/00fe00_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016.xht
new file mode 100644
index 0000000000..40d3b77435
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-016.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a green set to maximum minus one value, #00fe00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #00fe00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00fe00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00fe00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017-ref.xht
new file mode 100644
index 0000000000..cf6912694c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/0f0_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017.xht
new file mode 100644
index 0000000000..cbfaee79a6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a green set to the maximum value, #00ff00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #00ff00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00ff00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00ff00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-018.xht
new file mode 100644
index 0000000000..ecaea1c746
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-018.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a green set to the maximum plus one value, #00fg00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #00fg00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00fg00;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019-ref.xht
new file mode 100644
index 0000000000..322c6fc059
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000001_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019.xht
new file mode 100644
index 0000000000..267ed5396d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-019.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a blue set to minimum plus one value, #000001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #000001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #000001;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020-ref.xht
new file mode 100644
index 0000000000..833ec72aa3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/009_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020.xht
new file mode 100644
index 0000000000..fb8cfb20aa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-020.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a blue set to a nominal value, #000099</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #000099 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #000099;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000099;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021-ref.xht
new file mode 100644
index 0000000000..4ea14313ac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/0000fe_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021.xht
new file mode 100644
index 0000000000..c84d76f872
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-021.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a blue set to maximum minus one value, #0000fe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #0000fe renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #0000fe;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0000fe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022-ref.xht
new file mode 100644
index 0000000000..d99e3eaf48
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/00f_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022.xht
new file mode 100644
index 0000000000..0090ddeac1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-022.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a blue set to the maximum value, #0000ff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #0000ff renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #0000ff;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0000ff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-023.xht
new file mode 100644
index 0000000000..d10a277573
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-023.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with six digits with a blue set to the maximum plus one value, #0000fg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #0000fg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #0000fg;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-024.xht
new file mode 100644
index 0000000000..6cd95188f4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-024.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with 2 digits which is invalid and is equivalent to minimum minus one value for 3 digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-025.xht
new file mode 100644
index 0000000000..4c5b3d1ce0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with the minimum possible value #000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026-ref.xht
new file mode 100644
index 0000000000..79cf8fd3c0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/111_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026.xht
new file mode 100644
index 0000000000..0e539bb602
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-026.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with the minimum plus one value, #111</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-026-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #111 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #111;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #111;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027-ref.xht
new file mode 100644
index 0000000000..aa7950069d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/999_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027.xht
new file mode 100644
index 0000000000..f1a65812e5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-027.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a nominal value #999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-027-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #999;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028-ref.xht
new file mode 100644
index 0000000000..dad179e9ea
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/eee_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028.xht
new file mode 100644
index 0000000000..c25c89a184
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with the maximum minus one value of #eee</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-028-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #eee renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #eee;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #eee;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-029.xht
new file mode 100644
index 0000000000..623072dcd9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with the maximum value of #fff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #fff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #fff;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #fff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-030.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-030.xht
new file mode 100644
index 0000000000..abf930e326
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-030.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with the maximum plus one value of #1000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-transparent-or-black-square-black.xht"/>
+ <link rel="match" href="../reference/ref-transparent-or-black-square-transparent.xht"/>
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #1000 is a transparent dark red square." />
+ <style type="text/css">
+ div.test
+ {
+ border: 5px solid blue;
+ height: 1in;
+ width: 1in;
+ }
+ div.test div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #1000;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black or transparent square surrounded by a blue border.</p>
+ <div class="test"><div></div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-031.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-031.xht
new file mode 100644
index 0000000000..60f3123428
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-031.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with the maximum plus one value of #ggg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #ggg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #ggg;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032-ref.xht
new file mode 100644
index 0000000000..d5f9edb9e3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/100_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032.xht
new file mode 100644
index 0000000000..a14a91b225
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-032.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a red set to minimum plus one value, #100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-032-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #100;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-033.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-033.xht
new file mode 100644
index 0000000000..0eeaae8387
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-033.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a red set to a nominal value, #900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #900;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034-ref.xht
new file mode 100644
index 0000000000..2993969578
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/e00_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034.xht
new file mode 100644
index 0000000000..41ed5b423b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a red set to maximum minus one value, #e00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-034-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #e00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #e00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #e00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-035.xht
new file mode 100644
index 0000000000..43c7d2f030
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-035.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a red set to the maximum value, #f00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #f00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #f00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #f00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-036.xht
new file mode 100644
index 0000000000..5bb1979c26
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-036.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a red set to the maximum plus one value, #g00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #g00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #g00;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037-ref.xht
new file mode 100644
index 0000000000..f89e162bd8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/010_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037.xht
new file mode 100644
index 0000000000..aaa0547d71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-037.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a green set to minimum plus one value, #010</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-037-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #010 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #010;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #010;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038-ref.xht
new file mode 100644
index 0000000000..b04da23788
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/090_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038.xht
new file mode 100644
index 0000000000..df795d75ee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-038.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a green set to a nominal value, #090</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-038-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #090 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #090;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #090;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039-ref.xht
new file mode 100644
index 0000000000..192db0e6f9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/0e0_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039.xht
new file mode 100644
index 0000000000..e454a366ee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a green set to maximum minus one value, #0e0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-039-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #0e0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #0e0;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0e0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-040.xht
new file mode 100644
index 0000000000..9343aaabfd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a green set to the maximum value, #0f0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #0f0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #0f0;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0f0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-041.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-041.xht
new file mode 100644
index 0000000000..2c0b7daa5c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-041.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a green set to the maximum plus one value, #0g0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #0g0 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #0g0;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042-ref.xht
new file mode 100644
index 0000000000..11bffd78f2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/001_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042.xht
new file mode 100644
index 0000000000..0ac99a15b7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-042.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a blue set to minimum plus one value, #001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-042-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #001;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-043.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-043.xht
new file mode 100644
index 0000000000..09205f4373
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-043.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a blue set to a nominal value, #009</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #009 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #009;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #009;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044-ref.xht
new file mode 100644
index 0000000000..3d27161bc4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/00e_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044.xht
new file mode 100644
index 0000000000..4e847ed453
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-044.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a blue set to maximum minus one value, #00e</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-044-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #00e renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00e;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00e;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-045.xht
new file mode 100644
index 0000000000..b6f39cc51e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a blue set to the maximum value, #00f</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to #00f renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00f;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00f;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-046.xht
new file mode 100644
index 0000000000..81ff35d9de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-046.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to hex with three digits with a blue set to the maximum plus one value, #00g</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to #00g falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: #00g;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-047.xht
new file mode 100644
index 0000000000..080709fc25
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with the minimum minus one value, rgb(-1%, -1%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-1%, -1%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-1%, -1%, -1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-048.xht
new file mode 100644
index 0000000000..800d3761af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-048.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with the minimum value, rgb(0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049-ref.xht
new file mode 100644
index 0000000000..344ce16730
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(1%, 1%, 1%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049.xht
new file mode 100644
index 0000000000..0b2e262b7d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-049.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with the minimum plus one value, rgb(1%, 1%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-049-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(1%, 1%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(1%, 1%, 1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1%, 1%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-050.xht
new file mode 100644
index 0000000000..d70f8b5f29
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with the minimum value and minus sign, rgb(-0%, -0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-0%, -0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-0%, -0%, -0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-051.xht
new file mode 100644
index 0000000000..70a6c63782
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with the minimum value and plus sign, rgb(+0%, +0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+0%, +0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+0%, +0%, +0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052-ref.xht
new file mode 100644
index 0000000000..8096f85a34
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052.xht
new file mode 100644
index 0000000000..a90c57a47d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-052.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with a nominal value, rgb(40%, 40%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(40%, 40%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(40%, 40%, 40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-053.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-053.xht
new file mode 100644
index 0000000000..cfc23e2c1d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-053.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with a nominal value and a plus sign, rgb(+40%, +40%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+40%, +40%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+40%, +40%, +40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054-ref.xht
new file mode 100644
index 0000000000..9d1c01f601
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(99%, 99%, 99%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054.xht
new file mode 100644
index 0000000000..7366be47d2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-054.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-054-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(99%, 99%, 99%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(99%, 99%, 99%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(99%, 99%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-055.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-055.xht
new file mode 100644
index 0000000000..8be065dfd7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-055.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with a maximum value, rgb(100%, 100%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(100%, 100%, 100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(100%, 100%, 100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-056.xht
new file mode 100644
index 0000000000..df3d7b47ff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+100%, +100%, +100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+100%, +100%, +100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-057.xht
new file mode 100644
index 0000000000..5e362672fb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-057.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(101%, 101%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(101%, 101%, 101%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-058.xht
new file mode 100644
index 0000000000..79ee656137
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with the minimum minus one value, rgb(-1, -1, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-1, -1, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-1, -1, -1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-059.xht
new file mode 100644
index 0000000000..d860b0bd26
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-059.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with the minimum value, rgb(0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-060.xht
new file mode 100644
index 0000000000..2a7f41483e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-060.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with the minimum plus one value, rgb(1, 1, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(1, 1, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(1, 1, 1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1, 1, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-061.xht
new file mode 100644
index 0000000000..97a0001a8b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with the minimum value and minus sign, rgb(-0, -0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-0, -0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-0, -0, -0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-062.xht
new file mode 100644
index 0000000000..9b9eca3d2c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with the minimum value and plus sign, rgb(+0, +0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+0, +0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+0, +0, +0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063-ref.xht
new file mode 100644
index 0000000000..3afc17f0ed
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/808080_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063.xht
new file mode 100644
index 0000000000..a6295e1ad2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-063.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with a nominal value, rgb(128, 128, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(128, 128, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(128, 128, 128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-064.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-064.xht
new file mode 100644
index 0000000000..89148be4ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-064.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with a nominal value and a plus sign, rgb(+128, +128, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+128, +128, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+128, +128, +128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-065.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-065.xht
new file mode 100644
index 0000000000..d11d1ba641
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-065.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with a maximum minus one value, rgb(254, 254, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(254, 254, 254) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(254, 254, 254);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(254, 254, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-066.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-066.xht
new file mode 100644
index 0000000000..7bad2cf389
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-066.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with a maximum value, rgb(255, 255, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(255, 255, 255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(255, 255, 255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-067.xht
new file mode 100644
index 0000000000..f53683a2be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with a maximum value and a plus sign, rgb(+255, +255, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+255, +255, +255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+255, +255, +255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-068.xht
new file mode 100644
index 0000000000..491d57534e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-068.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with a maximum plus one value, rgb(256, 256, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(256, 256, 256) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(256, 256, 256);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-069.xht
new file mode 100644
index 0000000000..3717d36ea8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to the minimum minus one value, rgb(-1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-1%, 0%, 0%) falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-1%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070-ref.xht
new file mode 100644
index 0000000000..8e185252fa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(1%, 0%, 0%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070.xht
new file mode 100644
index 0000000000..bdedc86190
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-070.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-070-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(1%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(1%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-071.xht
new file mode 100644
index 0000000000..e17c1dff33
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-071.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to the minimum value and minus sign, rgb(-0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-0%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-072.xht
new file mode 100644
index 0000000000..b6113b805f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to the minimum value and plus sign, rgb(+0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+0%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073-ref.xht
new file mode 100644
index 0000000000..9c8b4d8c64
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073.xht
new file mode 100644
index 0000000000..b60a4d8470
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to a nominal value, rgb(40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(40%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-074.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-074.xht
new file mode 100644
index 0000000000..851efab048
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-074.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+40%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075-ref.xht
new file mode 100644
index 0000000000..813946da33
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(99%, 0%, 0%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075.xht
new file mode 100644
index 0000000000..c8b5873b21
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-075.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-075-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(99%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(99%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(99%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-076.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-076.xht
new file mode 100644
index 0000000000..766e371b1f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-076.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to a maximum value, rgb(100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(100%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-077.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-077.xht
new file mode 100644
index 0000000000..4ce0ec8ee7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-077.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to a maximum value with a plus sign, rgb(+100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+100%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-078.xht
new file mode 100644
index 0000000000..7435831018
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with red set to a maximum plus one value, rgb(101%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(101%, 0%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(101%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-079.xht
new file mode 100644
index 0000000000..7256c711d6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-079.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to the minimum minus one value, rgb(-1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-1, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-080.xht
new file mode 100644
index 0000000000..46c60e78be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to the minimum plus one value, rgb(1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(1, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(1, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-081.xht
new file mode 100644
index 0000000000..843848cb37
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-081.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to the minimum value with a minus sign, rgb(-0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(-0, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-082.xht
new file mode 100644
index 0000000000..66e533b34b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-082.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to the minimum value with a plus sign, rgb(+0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+0, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083-ref.xht
new file mode 100644
index 0000000000..bf6367d4ef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/800000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083.xht
new file mode 100644
index 0000000000..7b6241ac99
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to a nominal value, rgb(128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(128, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-084.xht
new file mode 100644
index 0000000000..2ac69013ba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to a nominal value with a plus sign, rgb(+128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+128, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-085.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-085.xht
new file mode 100644
index 0000000000..bf2b53bd71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-085.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to a maximum minus one value, rgb(254, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(254, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(254, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(254, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-086.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-086.xht
new file mode 100644
index 0000000000..f052625a4a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-086.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to a maximum value, rgb(255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(255, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-087.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-087.xht
new file mode 100644
index 0000000000..111155f706
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-087.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to a maximum value with a plus sign, rgb(+255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(+255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(+255, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-088.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-088.xht
new file mode 100644
index 0000000000..ca55585278
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-088.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with red set to a maximum plus one value, rgb(256, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(256, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(256, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-089.xht
new file mode 100644
index 0000000000..0d715dda9b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-089.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to the minimum minus one value, rgb(0%, -1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, -1%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, -1%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090-ref.xht
new file mode 100644
index 0000000000..d18a102f4f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 1%, 0%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090.xht
new file mode 100644
index 0000000000..4cdd83f3bf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-090.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-090-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 1%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 1%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 1%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-091.xht
new file mode 100644
index 0000000000..60c8815119
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-091.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to the minimum value and minus sign, rgb(0%, -0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, -0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, -0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-092.xht
new file mode 100644
index 0000000000..7027950d71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-092.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to the minimum value and plus sign, rgb(0%, +0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, +0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, +0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093-ref.xht
new file mode 100644
index 0000000000..e6d8290485
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093.xht
new file mode 100644
index 0000000000..e4f629ea46
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-093.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to a nominal value, rgb(0%, 40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 40%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-094.xht
new file mode 100644
index 0000000000..e9d58db302
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-094.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, +40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, +40%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095-ref.xht
new file mode 100644
index 0000000000..938e110505
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 99%, 0%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095.xht
new file mode 100644
index 0000000000..4ddfedfeec
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-095.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-095-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 99%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 99%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 99%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-096.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-096.xht
new file mode 100644
index 0000000000..245605da62
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-096.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to a maximum value, rgb(0%, 100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 100%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-097.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-097.xht
new file mode 100644
index 0000000000..cd33161b37
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-097.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to a maximum value with a plus sign, rgb(0%, +100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, +100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, +100%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-098.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-098.xht
new file mode 100644
index 0000000000..6d039dd127
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-098.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with green set to a maximum plus one value, rgb(0%, 101%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 101%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 101%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-099.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-099.xht
new file mode 100644
index 0000000000..5f6ae6bc89
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-099.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to the minimum minus one value, rgb(0, -1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, -1, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100-ref.xht
new file mode 100644
index 0000000000..27a0264086
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: rgb(0, 1, 0);
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100.xht
new file mode 100644
index 0000000000..44075c7547
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-100.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to the minimum plus one value, rgb(0, 1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-100-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 1, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 1, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 1, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-101.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-101.xht
new file mode 100644
index 0000000000..8947bc54de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-101.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to the minimum value with a minus sign, rgb(0, -0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, -0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, -0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-102.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-102.xht
new file mode 100644
index 0000000000..3f4516e942
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-102.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to the minimum value with a plus sign, rgb(0, +0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, +0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, +0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103-ref.xht
new file mode 100644
index 0000000000..3f0eb480ad
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/008000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103.xht
new file mode 100644
index 0000000000..8127a908fc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-103.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to a nominal value, rgb(0, 128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 128, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-104.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-104.xht
new file mode 100644
index 0000000000..0b4f3b105e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-104.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to a nominal value with a plus sign, rgb(0, +128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, +128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, +128, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-105.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-105.xht
new file mode 100644
index 0000000000..8e0ec28589
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-105.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to a maximum minus one value, rgb(0, 254, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 254, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 254, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 254, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-106.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-106.xht
new file mode 100644
index 0000000000..bd9fc7497f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-106.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to a maximum value, rgb(0, 255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 255, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-107.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-107.xht
new file mode 100644
index 0000000000..72a38a3682
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-107.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to a maximum value with a plus sign, rgb(0, +255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, +255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, +255, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-108.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-108.xht
new file mode 100644
index 0000000000..d69d720085
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-108.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with green set to a maximum plus one value, rgb(0, 256 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 256, 0) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 256, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-109.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-109.xht
new file mode 100644
index 0000000000..053febc6f1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-109.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to the minimum minus one value, rgb(0%, 0%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, -1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110-ref.xht
new file mode 100644
index 0000000000..a9241f5351
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 0%, 1%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110.xht
new file mode 100644
index 0000000000..736365f6d0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-110.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-110-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, 1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-111.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-111.xht
new file mode 100644
index 0000000000..7d8523838b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-111.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to the minimum value and minus sign, rgb(0%, 0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, -0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-112.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-112.xht
new file mode 100644
index 0000000000..5c70578bb2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-112.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to the minimum value and plus sign, rgb(0%, 0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, +0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113-ref.xht
new file mode 100644
index 0000000000..030ee6ec00
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113.xht
new file mode 100644
index 0000000000..347344ebdc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-113.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, 40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-114.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-114.xht
new file mode 100644
index 0000000000..c28375c7de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-114.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, +40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115-ref.xht
new file mode 100644
index 0000000000..4628877183
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 0%, 99%);
+ margin-top: 10px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115.xht
new file mode 100644
index 0000000000..41f46477f1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-115.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-115-ref.xht"/>
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, 99%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, 99%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-116.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-116.xht
new file mode 100644
index 0000000000..b8f182522b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-116.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, 100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, 100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-117.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-117.xht
new file mode 100644
index 0000000000..034f0f5b82
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-117.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to a maximum value with a plus sign, rgb(0%, 0%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, +100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, +100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-118.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-118.xht
new file mode 100644
index 0000000000..25990d11c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-118.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using percentages with blue set to a maximum plus one value, rgb(0%, 0%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0%, 0%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0%, 0%, 101%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-119.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-119.xht
new file mode 100644
index 0000000000..25ccc228bc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-119.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to the minimum minus one value, rgb(0, 0, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, -1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-120.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-120.xht
new file mode 100644
index 0000000000..6cf2c68e43
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-120.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to the minimum plus one value, rgb(0, 0, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, 1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-121.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-121.xht
new file mode 100644
index 0000000000..4f6ae4f5be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-121.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to the minimum value with a minus sign, rgb(0, 0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, -0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-122.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-122.xht
new file mode 100644
index 0000000000..b742b0634c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-122.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to the minimum value with a plus sign, rgb(0, 0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, +0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123-ref.xht
new file mode 100644
index 0000000000..6e03bafdd7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000080_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123.xht
new file mode 100644
index 0000000000..a95ef02b51
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-123.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to a nominal value, rgb(0, 0, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, 128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-124.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-124.xht
new file mode 100644
index 0000000000..957b9e7cd9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-124.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to a nominal value with a plus sign, rgb(0, 0, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, +128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-125.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-125.xht
new file mode 100644
index 0000000000..370eb8ac65
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-125.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to a maximum minus one value, rgb(0, 0, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, 254) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, 254);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-126.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-126.xht
new file mode 100644
index 0000000000..ab183be63b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-126.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to a maximum value, rgb(0, 0, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, 255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, 255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-127.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-127.xht
new file mode 100644
index 0000000000..b03e509920
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-127.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to a maximum value with a plus sign, rgb(0, 0, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, +255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, +255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-128.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-128.xht
new file mode 100644
index 0000000000..94462cacdd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-128.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to rgb() using integers with blue set to a maximum plus one value, rgb(0, 0, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-color' set to rgb(0, 0, 256) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: rgb(0, 0, 256);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129-ref.xht
new file mode 100644
index 0000000000..290b83cf67
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/aqua_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129.xht
new file mode 100644
index 0000000000..f7c6f4e59d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-129.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to aqua</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-129-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to aqua causes the border-bottom-color of the box to be aqua." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: aqua;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: aqua;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-130.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-130.xht
new file mode 100644
index 0000000000..a8c1583484
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-130.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to black</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to black causes the border-bottom-color of the box to be black." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: black;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131-ref.xht
new file mode 100644
index 0000000000..4e5d9de91e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/blue15x15.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131.xht
new file mode 100644
index 0000000000..aa987cb49f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-131.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to blue</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-131-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to blue causes the border-bottom-color of the box to be blue." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: blue;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: blue;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132-ref.xht
new file mode 100644
index 0000000000..713977b023
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/fuchsia_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132.xht
new file mode 100644
index 0000000000..ac7a228d7b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-132.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to fuchsia</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-132-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to fuchsia causes the border-bottom-color of the box to be fuchsia." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: fuchsia;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: fuchsia;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133-ref.xht
new file mode 100644
index 0000000000..5db22dc254
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/808080_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133.xht
new file mode 100644
index 0000000000..06c1c9ebba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-133.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to gray</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-133-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to gray causes the border-bottom-color of the box to be gray." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: gray;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: gray;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134-ref.xht
new file mode 100644
index 0000000000..beccb7d434
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/1x1-green.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134.xht
new file mode 100644
index 0000000000..97d168bc59
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-134.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to green</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-134-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to green causes the background of the box to be green." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: green;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: green;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135-ref.xht
new file mode 100644
index 0000000000..7546efe622
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/1x1-lime.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135.xht
new file mode 100644
index 0000000000..85ce19a0b1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-135.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to lime</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-135-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to lime causes the border-bottom-color of the box to be lime." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: lime;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: lime;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136-ref.xht
new file mode 100644
index 0000000000..a6b78590d5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/maroon_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136.xht
new file mode 100644
index 0000000000..3444b98516
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-136.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to maroon</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-20 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-136-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to maroon causes the border-bottom-color of the box to be maroon." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: maroon;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: maroon;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137-ref.xht
new file mode 100644
index 0000000000..80bc045ae0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/1x1-navy.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137.xht
new file mode 100644
index 0000000000..b3fd414209
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-137.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to navy</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-137-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to navy causes the border-bottom-color of the box to be navy." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: navy;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: navy;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138-ref.xht
new file mode 100644
index 0000000000..23131e179c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/olive_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138.xht
new file mode 100644
index 0000000000..6ffa065e69
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-138.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to olive</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-138-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to olive causes the border-bottom-color of the box to be olive." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: olive;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: olive;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139-ref.xht
new file mode 100644
index 0000000000..3569017b36
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/swatch-orange.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139.xht
new file mode 100644
index 0000000000..1754a3349f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-139.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to orange</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-139-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to orange causes the border-bottom-color of the box to be orange." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: orange;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: orange;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140-ref.xht
new file mode 100644
index 0000000000..f0efa88286
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/purple_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140.xht
new file mode 100644
index 0000000000..baf0905400
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-140.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to purple</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-140-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to purple causes the border-bottom-color of the box to be purple." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: purple;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: purple;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141-ref.xht
new file mode 100644
index 0000000000..b15072ea27
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/swatch-red.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141.xht
new file mode 100644
index 0000000000..c665523214
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-141.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to red</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-141-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to red causes the border-bottom-color of the box to be red." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: red;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: red;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142-ref.xht
new file mode 100644
index 0000000000..814f26daa6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/silver_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142.xht
new file mode 100644
index 0000000000..e53654dfc5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-142.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to silver</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-142-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to silver causes the border-bottom-color of the box to be silver." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: silver;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: silver;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143-ref.xht
new file mode 100644
index 0000000000..2acd5974e3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/teal_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143.xht
new file mode 100644
index 0000000000..2a7188025c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-143.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to teal</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-143-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to teal causes the border-bottom-color of the box to be teal." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: teal;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: teal;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144-ref.xht
new file mode 100644
index 0000000000..374461a4f0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {background-color: black;}
+
+ p {color: white;}
+
+ div
+ {
+ background: url("support/swatch-white.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144.xht
new file mode 100644
index 0000000000..d1061878de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-144.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to white</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-144-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to white causes the border-bottom-color of the box to be white." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: white;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: white;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145-ref.xht
new file mode 100644
index 0000000000..a7e37e77a6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/yellow_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145.xht
new file mode 100644
index 0000000000..4ac7c5917c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-145.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to yellow</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-145-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to yellow causes the border-bottom-color of the box to be yellow." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ border-bottom-color: yellow;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: yellow;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-174.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-174.xht
new file mode 100644
index 0000000000..23d915c1f8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-174.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to transparent</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to transparent properly renders a border with no visible color." />
+ <style type="text/css">
+ #wrapper
+ {
+ background-color: green;
+ width: 100px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 100px;
+ border-bottom-color: red;
+ border-bottom-color: transparent;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-175.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-175.xht
new file mode 100644
index 0000000000..8fda23b653
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-175.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' set to inherit causes the 'border-bottom-color' of the element to be the same as the 'border-bottom-color' designated on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-bottom-color: green;
+ }
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 100px;
+ border-bottom-color: red;
+ border-bottom-color: inherit;
+ height: 0;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-001.xht
new file mode 100644
index 0000000000..7b0e9e3ed5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-001.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-002.xht
new file mode 100644
index 0000000000..1a9d744073
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-002.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-003.xht
new file mode 100644
index 0000000000..ba581ccbb4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-003.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-004.xht
new file mode 100644
index 0000000000..540f9a7eaa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-004.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-005.xht
new file mode 100644
index 0000000000..8ac205e34e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-006.xht
new file mode 100644
index 0000000000..137fa46aa9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-006.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-column;
+ width: 1in;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 2in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-007.xht
new file mode 100644
index 0000000000..620696c0d6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-008.xht
new file mode 100644
index 0000000000..2d0d8ce9c3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-008.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-009.xht
new file mode 100644
index 0000000000..3526d1692c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-009.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-010.xht
new file mode 100644
index 0000000000..28aeb7a75d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-010.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: list-item;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line and a marker bullet on its left-hand side. (Note the marker bullet does not need to be aligned vertically to any specific position.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-012.xht
new file mode 100644
index 0000000000..4af784e63f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-012.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: inline-block;
+ vertical-align: top;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-013.xht
new file mode 100644
index 0000000000..cee658422f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-014.xht
new file mode 100644
index 0000000000..f6d3dc6405
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: inline-table;
+ table-layout: fixed;
+ vertical-align: top;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-015.xht
new file mode 100644
index 0000000000..a1e275dd2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-color-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-color applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-color' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-width: 3px;
+ border-bottom-style: solid;
+ border-bottom-color: green;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-001.xht
new file mode 100644
index 0000000000..886ea1129d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-001.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'none'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-bottom-style' property set to 'none' does not render any border for an element." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: none;
+ border-bottom-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-002.xht
new file mode 100644
index 0000000000..0967874bf1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-002.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'hidden'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-bottom-style' property set to 'hidden' computes to 'none' and does not render any border for non-table elements. However, for tables elements borders can be rendered based on border resolution." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-style: hidden;
+ border-bottom-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-003.xht
new file mode 100644
index 0000000000..180ace6468
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-003.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'dotted'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'dotted' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: dotted;
+ border-bottom-width: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-004.xht
new file mode 100644
index 0000000000..00c6501a73
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-004.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'dashed'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'dashed' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: dashed;
+ border-bottom-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005-ref.xht
new file mode 100644
index 0000000000..be3e33274f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005-ref.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 3px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a solid black line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005.xht
new file mode 100644
index 0000000000..4246a79bee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-005.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'solid'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-bottom-style-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-style' set to 'solid' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a solid black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-006.xht
new file mode 100644
index 0000000000..599c22d158
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-006.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'double'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'double' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: double;
+ border-bottom-width: 9px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a double line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-007.xht
new file mode 100644
index 0000000000..a64e2215d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-007.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'groove'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'groove' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: groove;
+ border-bottom-color: green;
+ border-bottom-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-008.xht
new file mode 100644
index 0000000000..9a807be73c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'ridge'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'ridge' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: ridge;
+ border-bottom-color: green;
+ border-bottom-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-009.xht
new file mode 100644
index 0000000000..bb70900bbe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-009.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'inset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'inset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: inset;
+ border-bottom-color: green;
+ border-bottom-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-010.xht
new file mode 100644
index 0000000000..80ac39ed65
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-010.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'outset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' set to 'outset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: outset;
+ border-bottom-color: green;
+ border-bottom-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-011.xht
new file mode 100644
index 0000000000..7113c18cba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-011.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style set to 'inherit'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property set to 'inherit' properly applies the value from the parent's 'border-bottom-style' property value." />
+ <style type="text/css">
+ body
+ {
+ border-bottom-style: dotted;
+ border-bottom-width: 0;
+ }
+ div
+ {
+ border-bottom-style: inherit;
+ border-bottom-color: green;
+ border-bottom-width: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-001.xht
new file mode 100644
index 0000000000..47dd67d46d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: dashed;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-002.xht
new file mode 100644
index 0000000000..b1e76d2b50
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: dashed;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-003.xht
new file mode 100644
index 0000000000..108fc62c5e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: dashed;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-004.xht
new file mode 100644
index 0000000000..90afba2a45
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: dashed;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-005.xht
new file mode 100644
index 0000000000..93770670c9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: dashed;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-006.xht
new file mode 100644
index 0000000000..7f3e7986e4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: dashed;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-007.xht
new file mode 100644
index 0000000000..c3ddf2cbe5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-bottom-style: dashed;
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-008.xht
new file mode 100644
index 0000000000..e982abd505
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: dashed;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-009.xht
new file mode 100644
index 0000000000..d0d90b5301
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-009.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: dashed;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-010.xht
new file mode 100644
index 0000000000..bf622c6f55
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: dashed;
+ display: list-item;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed and there is a marker bullet on the left-hand side of the line. (Note the marker bullet does not need to be aligned vertically to any specific position.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-012.xht
new file mode 100644
index 0000000000..c2e293de42
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-012.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: dashed;
+ display: inline-block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-013.xht
new file mode 100644
index 0000000000..5dc883ad2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-bottom-style: dashed;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-014.xht
new file mode 100644
index 0000000000..42070c7677
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-bottom-style: dashed;
+ display: inline-table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-015.xht
new file mode 100644
index 0000000000..e3f92262d2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-style-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-style applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #caption
+ {
+ border-bottom-style: dashed;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="caption"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001-ref.xht
new file mode 100644
index 0000000000..cbc9525c91
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001-ref.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ border-bottom: black solid medium;
+ height: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide horizontal black line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001.xht
new file mode 100644
index 0000000000..d0b0ab4f09
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a minimum minus one (negative) value, -1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in pixels and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -1px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide horizontal black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-002.xht
new file mode 100644
index 0000000000..d48732ebbb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-002.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a minimum value, 0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in pixels that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0px;
+ border-bottom-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003-ref.xht
new file mode 100644
index 0000000000..1290c438a6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {vertical-align: top;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide and thin horizontal black line and <strong>no red</strong>.</p>
+
+ <div><img src="support/black15x15.png" width="100%" height="1" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003.xht
new file mode 100644
index 0000000000..b673b78bd4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a minimum plus one value, 1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in pixels that sets the width of the bottom border." />
+ <style type="text/css">
+ #wrapper
+ {
+ background: red;
+ height: 1px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide and thin horizontal black line and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-004.xht
new file mode 100644
index 0000000000..448ea92c84
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-004.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a minimum value with a minus sign, -0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in pixels that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0px;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-005.xht
new file mode 100644
index 0000000000..034b224c13
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a minimum value with a plus sign, +0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in pixels that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0px;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006-ref.xht
new file mode 100644
index 0000000000..2003135c7d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {padding-right: 5px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+
+ <div><img src="support/black15x15.png" width="96" height="96" alt="Image download support must be enabled" /> <img src="support/black15x15.png" width="96" height="96" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-006.xht
new file mode 100644
index 0000000000..c92b582aff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a nominal value, 96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in pixels that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 96px;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-007.xht
new file mode 100644
index 0000000000..b0bdc3d3bd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using pixels with a nominal value with a plus sign, +96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in pixels that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +96px;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012-ref.xht
new file mode 100644
index 0000000000..92f7798d7e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ span {border-bottom: black solid medium;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+
+ <div><span>Filler Text Filler Text Filler Text</span> <span>Filler Text Filler Text Filler Text</span></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012.xht
new file mode 100644
index 0000000000..926295c4a0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a minimum minus one (negative) value, -1pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in points and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1pt;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-013.xht
new file mode 100644
index 0000000000..396d7c78b0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-013.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a minimum value, 0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in points that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0pt;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-014.xht
new file mode 100644
index 0000000000..9a28ce212f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a minimum plus one value, 1pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in points that sets the width of the bottom border." />
+ <style type="text/css">
+ #wrapper
+ {
+ background: red;
+ height: 1pt;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1pt;
+ height: 0;
+ }
+ p
+ {
+ height: 40px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide and thin black line and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-015.xht
new file mode 100644
index 0000000000..f0a12666ba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-015.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a minimum value with a minus sign, -0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in points that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0pt;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-016.xht
new file mode 100644
index 0000000000..e8d27f0b3b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-016.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a minimum value with a plus sign, +0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in points that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0pt;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-017.xht
new file mode 100644
index 0000000000..a995e0cb57
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a nominal value, 72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in points that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 72pt;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-018.xht
new file mode 100644
index 0000000000..526433a85c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-018.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using points with a nominal value with a plus sign, +72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in points that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +72pt;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-023.xht
new file mode 100644
index 0000000000..382227d083
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-023.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a minimum minus one (negative) value, -1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in picas and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1pc;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-024.xht
new file mode 100644
index 0000000000..8e5c3e7fc7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-024.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a minimum value, 0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in picas that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0pc;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025-ref.xht
new file mode 100644
index 0000000000..d4c1ad5ff9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025-ref.xht
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+
+ <div> <div><img src="support/black15x15.png" width="100%" height="16" alt="Image download support must be enabled" /></div></div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025.xht
new file mode 100644
index 0000000000..6d254f58b4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a minimum plus one value, 1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-025-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in picas that sets the width of the bottom border." />
+ <style type="text/css">
+ #div1
+ {
+ background: red;
+ height: 1pc;
+ }
+ div div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1pc;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-026.xht
new file mode 100644
index 0000000000..771ad25d25
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-026.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a minimum value with a minus sign, -0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in picas that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0pc;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-027.xht
new file mode 100644
index 0000000000..da4de777c6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-027.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a minimum value with a plus sign, +0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in picas that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0pc;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-028.xht
new file mode 100644
index 0000000000..a8d905af53
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a nominal value, 6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in picas that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 6pc;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-029.xht
new file mode 100644
index 0000000000..4df5edbc61
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using picas with a nominal value with a plus sign, +6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in picas that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +6pc;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-034.xht
new file mode 100644
index 0000000000..733fa9532f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a minimum minus one (negative) value, -1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in centimeters and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1cm;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-035.xht
new file mode 100644
index 0000000000..1ff4c76f81
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-035.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a minimum value, 0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in centimeters that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0cm;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-036.xht
new file mode 100644
index 0000000000..d5d444b33a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-036.xht
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a minimum plus one value, 1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in centimeters that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ width: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ height: 37px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ height: 38px;
+ }
+ .test1, .test2
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1cm;
+ height: 0;
+ }
+ .test1
+ {
+ border-bottom-color: green;
+ }
+ .test2
+ {
+ border-bottom-color: red;
+ }
+ #parent
+ {
+ background: red;
+ height: 75px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green rectangle and <strong>no red</strong>.</p>
+ <div id="parent">
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-037.xht
new file mode 100644
index 0000000000..cabde04299
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-037.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a minimum value with a minus sign, -0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in centimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0cm;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-038.xht
new file mode 100644
index 0000000000..9a7b5296e0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-038.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a minimum value with a plus sign, +0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in centimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0cm;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-039.xht
new file mode 100644
index 0000000000..c3f033df70
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a nominal value, 2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in centimeters that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 2.54cm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-040.xht
new file mode 100644
index 0000000000..7d8e29aec4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using centimeters with a nominal value with a plus sign, +2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in centimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +2.54cm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-045.xht
new file mode 100644
index 0000000000..1539184717
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a minimum minus one (negative) value, -1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in millimeters and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1mm;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-046.xht
new file mode 100644
index 0000000000..da92381e7a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-046.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a minimum value, 0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in millimeters that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0mm;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-047.xht
new file mode 100644
index 0000000000..c8daa7d63f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-047.xht
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a minimum plus one value, 1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-09-13 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in millimeters that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ width: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ height: 3px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ height: 4px;
+ }
+ .test1, .test2
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1mm;
+ height: 0;
+ }
+ .test1
+ {
+ border-bottom-color: green;
+ }
+ .test2
+ {
+ border-bottom-color: red;
+ }
+ #parent
+ {
+ background: red;
+ height: 7px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short green line and <strong>no red</strong>.</p>
+ <div id="parent">
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-048.xht
new file mode 100644
index 0000000000..2b4fcee02f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-048.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a minimum value with a minus sign, -0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in millimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0mm;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-049.xht
new file mode 100644
index 0000000000..da83696602
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-049.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a minimum value with a plus sign, +0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in millimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0mm;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-050.xht
new file mode 100644
index 0000000000..b8890c03e1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a nominal value, 25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in millimeters that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 25.4mm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-051.xht
new file mode 100644
index 0000000000..cfc9222842
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using millimeters with a nominal value with a plus sign, +25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in millimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +25.4mm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-056.xht
new file mode 100644
index 0000000000..3c9d40113e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a minimum minus one (negative) value, -1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in inches and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1in;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-057.xht
new file mode 100644
index 0000000000..4c9ad5e84b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-057.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a minimum value, 0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in inches that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0in;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058-ref.xht
new file mode 100644
index 0000000000..fdd6b1e089
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058-ref.xht
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide filled black rectangle and <strong>no red</strong>.</p>
+
+ <div><img src="support/black15x15.png" width="100%" height="96" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058.xht
new file mode 100644
index 0000000000..0162a03d90
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a minimum plus one value, 1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-058-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in inches that sets the width of the bottom border." />
+ <style type="text/css">
+ #wrapper
+ {
+ background: red;
+ height: 1in;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide filled black rectangle and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-059.xht
new file mode 100644
index 0000000000..977c22a758
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-059.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a minimum value with a minus sign, -0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in inches that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0in;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-060.xht
new file mode 100644
index 0000000000..61b787b5e1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-060.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a minimum value with a plus sign, +0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in inches that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0in;
+ border-bottom-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061-ref.xht
new file mode 100644
index 0000000000..9b92809e25
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {padding-right: 5px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+
+ <div><img src="support/black15x15.png" width="96" height="288" alt="Image download support must be enabled" /> <img src="support/black15x15.png" width="96" height="288" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061.xht
new file mode 100644
index 0000000000..325432cab2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a nominal value, 3in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in inches that sets the width of the bottom border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 3in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 3in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-062.xht
new file mode 100644
index 0000000000..3dbac6d502
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using inches with a nominal value with a plus sign, +3in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in inches that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 3in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +3in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-067.xht
new file mode 100644
index 0000000000..2facd5f8ed
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a minimum minus one (negative) value, -1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in 'em' units and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1em;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-068.xht
new file mode 100644
index 0000000000..45bb8d4257
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-068.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a minimum value, 0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in 'em' units that sets the width of the bottom border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0em;
+ border-bottom-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069-ref.xht
new file mode 100644
index 0000000000..4906e51056
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069-ref.xht
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+
+ <div> <div><img src="support/black15x15.png" width="100%" height="20" alt="Image download support must be enabled" /></div></div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069.xht
new file mode 100644
index 0000000000..19ea226053
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a minimum plus one value, 1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-069-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in 'em' units that sets the width of the bottom border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ }
+ #wrapper
+ {
+ background: red;
+ height: 1em;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1em;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-070.xht
new file mode 100644
index 0000000000..957a0a53c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-070.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a minimum value with a minus sign, -0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in 'em' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0em;
+ border-bottom-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-071.xht
new file mode 100644
index 0000000000..a84f62a735
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-071.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a minimum value with a plus sign, +0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in 'em' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0em;
+ border-bottom-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072-ref.xht
new file mode 100644
index 0000000000..9f903d39ba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {padding-right: 5px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+
+ <div><img src="support/black15x15.png" width="96" height="120" alt="Image download support must be enabled" /> <img src="support/black15x15.png" width="96" height="120" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072.xht
new file mode 100644
index 0000000000..26774903f7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a nominal value, 6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in 'em' units that sets the width of the bottom border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 120px;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 6em;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-073.xht
new file mode 100644
index 0000000000..ecd3f1ef36
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'em' units with a nominal value with a plus sign, +6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in 'em' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 120px;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +6em;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-078.xht
new file mode 100644
index 0000000000..5afcefa117
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a minimum minus one (negative) value, -1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in 'ex' units and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ }
+ #span1
+ {
+ border-bottom-width: -1ex;
+ }
+ #span2
+ {
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" are underlined with 2 black lines that have the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-079.xht
new file mode 100644
index 0000000000..ecc54552ce
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-079.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a minimum value, 0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in 'ex' units that sets the width of the bottom border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0ex;
+ border-bottom-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-080.xht
new file mode 100644
index 0000000000..cc3a0b0bbe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a minimum plus one value, 1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-025-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in 'ex' units that sets the width of the bottom border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ }
+ #wrapper
+ {
+ background: red;
+ height: 1ex;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1ex;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-081.xht
new file mode 100644
index 0000000000..d5d0b69095
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-081.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a minimum value with a minus sign, -0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in 'ex' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0ex;
+ border-bottom-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-082.xht
new file mode 100644
index 0000000000..6aea0d104c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-082.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a minimum value with a plus sign, +0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value in 'ex' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0ex;
+ border-bottom-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-083.xht
new file mode 100644
index 0000000000..0479153009
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a nominal value, 6ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in 'ex' units that sets the width of the bottom border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 6ex;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-084.xht
new file mode 100644
index 0000000000..f81d05ec20
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width using 'ex' units with a nominal value with a plus sign, +6ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-22 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a nominal length value in 'ex' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +6ex;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-089.xht
new file mode 100644
index 0000000000..384ada6379
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-089.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to negative zero with no units, -0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value with no units that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: -0;
+ border-bottom-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-090.xht
new file mode 100644
index 0000000000..e01e5f0972
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-090.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to zero with no units, 0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value with no units." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 0;
+ border-bottom-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-091.xht
new file mode 100644
index 0000000000..ec95aa6539
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-091.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to positive zero with no units, +0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a minimum length value with no units that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: +0;
+ border-bottom-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-092.xht
new file mode 100644
index 0000000000..fff5e0035f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-092.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to thin</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a value of thin." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: thin;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a thin line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-093.xht
new file mode 100644
index 0000000000..a254502ea3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-093.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to medium</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property supports a value of medium." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-094.xht
new file mode 100644
index 0000000000..6d84d67343
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-094.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to thick</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a value of thick." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: thick;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-095.xht
new file mode 100644
index 0000000000..30f46f0397
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-095.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property supports a value of inherit and gets its computed value from its parent." />
+ <style type="text/css">
+ body
+ {
+ border-bottom-color: transparent;
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ padding-bottom: 20px;
+ }
+ div
+ {
+ border-bottom-color: black;
+ border-bottom-style: solid;
+ border-bottom-width: inherit;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-001.xht
new file mode 100644
index 0000000000..c7c51c26e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-001.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-002.xht
new file mode 100644
index 0000000000..40299286df
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-002.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-003.xht
new file mode 100644
index 0000000000..af6f35bc0e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-003.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-004.xht
new file mode 100644
index 0000000000..3a0844cd74
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-005.xht
new file mode 100644
index 0000000000..ef0753559f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-006.xht
new file mode 100644
index 0000000000..16590c8179
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-column;
+ width: 1in;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 2in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-007.xht
new file mode 100644
index 0000000000..dcfa201e65
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-008.xht
new file mode 100644
index 0000000000..94b68d1f65
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-008.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a black filled rectangle.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-009.xht
new file mode 100644
index 0000000000..6bc9c85eea
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-009.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-010.xht
new file mode 100644
index 0000000000..3e6ec661f4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: list-item;
+ margin-left: 2em;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square and if there is a marker bullet on the left-hand side above the square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-012.xht
new file mode 100644
index 0000000000..b8a07d09e7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: inline-block;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-013.xht
new file mode 100644
index 0000000000..24649882a1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-014.xht
new file mode 100644
index 0000000000..802d8eb372
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: inline-table;
+ table-layout: fixed;
+ vertical-align: top;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-015.xht
new file mode 100644
index 0000000000..fb8e2a2c97
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-bottom-width-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-bottom-width applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-bottom-width' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-bottom-style: solid;
+ border-bottom-width: 1in;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-001-ref.xht
new file mode 100644
index 0000000000..67710346d0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-001-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div.top-and-bottom-stripes
+ {
+ background-color: blue;
+ height: 10px;
+ }
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide hollow blue rectangle.</p>
+
+ <div class="top-and-bottom-stripes"><img src="support/swatch-blue.png" width="100%" height="10" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/swatch-blue.png" width="10" height="96" alt="Image download support must be enabled" /> <img src="support/swatch-blue.png" width="10" height="96" alt="Image download support must be enabled" /></div>
+
+ <div class="top-and-bottom-stripes"><img src="support/swatch-blue.png" width="100%" height="10" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-001.xht
new file mode 100644
index 0000000000..3f850b5f72
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color with one color value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' property with one color value is supported and applied to all sides of the box." />
+ <style type="text/css">
+ div
+ {
+ border-color: blue;
+ border-style: solid;
+ border-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide hollow blue rectangle.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-002.xht
new file mode 100644
index 0000000000..7839a01a4d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-002.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color with two color values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' property with two color values is supported and applied to the correct sides of the box." />
+ <style type="text/css">
+ div
+ {
+ border-color: blue green;
+ border-style: solid;
+ border-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with top and bottom borders that are blue and left and right borders that are green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-003.xht
new file mode 100644
index 0000000000..c269abf826
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-003.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color with three color values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' property with three color values is supported and applied to the correct sides of the box." />
+ <style type="text/css">
+ div
+ {
+ border-color: blue green orange;
+ border-style: solid;
+ border-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with top border that is blue, left and right borders that are green and a bottom border that is orange.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-004.xht
new file mode 100644
index 0000000000..646effe47c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-004.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color with four color values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' property with four color values is supported and applied to the correct sides of the box." />
+ <style type="text/css">
+ div
+ {
+ border-color: blue green orange silver;
+ border-style: solid;
+ border-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with top border that is blue, right border that is green, a bottom border that is orange and a left border that is silver.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-005-ref.xht
new file mode 100644
index 0000000000..483f0bed57
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-005-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {font-size: 10px;}
+
+ div.top-and-bottom-stripes
+ {
+ background-color: green;
+ height: 1em;
+ width: 11.6em;
+ }
+
+ img {vertical-align: top;}
+
+ img + img {padding-left: 9.6em;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ <div><img src="support/swatch-green.png" width="10" height="96" alt="Image download support must be enabled" /><img src="support/swatch-green.png" width="10" height="96" alt="Image download support must be enabled" /></div>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-005.xht
new file mode 100644
index 0000000000..aee28b3477
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color with a transparent border</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' property set to 'transparent' is supported and applies to all sides of an element." />
+ <style type="text/css">
+ #wrapper
+ {
+ position: relative;
+ }
+ #div1, #test
+ {
+ border-style: solid;
+ border-width: 10px;
+ height: 1in;
+ width: 1in;
+ position: absolute;
+ top: 0;
+ left: 0;
+ }
+ #div1
+ {
+ border-color: green;
+ }
+ #test
+ {
+ border-color: transparent;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div id="wrapper">
+ <div id="div1"></div>
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-006-ref.xht
new file mode 100644
index 0000000000..d371482705
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-006-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div.top-and-bottom-stripes
+ {
+ background-color: blue;
+ height: 3px;
+ }
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide hollow blue rectangle.</p>
+
+ <div class="top-and-bottom-stripes"><img src="support/swatch-blue.png" width="100%" height="3" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/swatch-blue.png" width="3" height="96" alt="Image download support must be enabled" /> <img src="support/swatch-blue.png" width="3" height="96" alt="Image download support must be enabled" /></div>
+
+ <div class="top-and-bottom-stripes"><img src="support/swatch-blue.png" width="100%" height="3" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-006.xht
new file mode 100644
index 0000000000..a1abebc121
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-006.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color set to inherit, inheriting one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' property set to 'inherit' is supported and properly inherits a single value that will be applied to all sides of the element." />
+ <style type="text/css">
+ body
+ {
+ border-color: blue;
+ }
+ div
+ {
+ border-color: inherit;
+ border-style: solid;
+ border-width: 3px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide hollow blue rectangle.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-007.xht
new file mode 100644
index 0000000000..c9cbc750dd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-007.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color set to inherit, inheriting two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' property set to 'inherit' is supported and properly inherits two values that will be applied to the appropriate sides of the element." />
+ <style type="text/css">
+ body
+ {
+ border-color: blue green;
+ }
+ div
+ {
+ border-color: inherit;
+ border-style: solid;
+ border-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with top and bottom blue borders and left and right green borders.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-008.xht
new file mode 100644
index 0000000000..cd54378ebf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-008.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color set to inherit, inheriting three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' property set to 'inherit' is supported and properly inherits three values that will be applied to the appropriate sides of the element." />
+ <style type="text/css">
+ body
+ {
+ border-color: blue green orange;
+ }
+ div
+ {
+ border-color: inherit;
+ border-style: solid;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a blue top border, green left and right borders and an orange bottom border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-009.xht
new file mode 100644
index 0000000000..ef3060ee6b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-009.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color set to inherit, inheriting four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' property set to 'inherit' is supported and properly inherits four values that will be applied to the appropriate sides of the element." />
+ <style type="text/css">
+ body
+ {
+ border-color: blue green orange silver;
+ }
+ div
+ {
+ border-color: inherit;
+ border-style: solid;
+ border-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with a blue top border, a green right border, an orange bottom border and a silver left border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-010-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-010-ref.xht
new file mode 100644
index 0000000000..c226e4d762
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-010-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ p
+ {
+ border: orange solid medium;
+ color: orange;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>This should have orange text and an orange border.</p>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-010.xht
new file mode 100644
index 0000000000..58de67eb60
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-010.xht
@@ -0,0 +1,18 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <title>CSS Test: CSS Colours: Initial Border Color</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" />
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/color/004.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" />
+ <link rel="match" href="border-color-010-ref.xht" />
+
+ <style type="text/css">
+ p { color: orange; border: solid; }
+ </style>
+ </head>
+ <body>
+ <p>This should have orange text and an orange border.</p>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-011-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-011-ref.xht
new file mode 100644
index 0000000000..dbf85bd79f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-011-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ border: green solid medium;
+ color: green;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <div>This should have a green border, because the computed value of 'border-color' set to its initial value is 'currentColor', which refers to the color on the current element.</div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-011.xht
new file mode 100644
index 0000000000..7a66f5a22d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-011.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: CSS inheritance: border-color</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/inheritance/border-color/001.html" type="text/html"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/inheritance/border-color/001.xml" type="application/xhtml+xml"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="help" href="https://drafts.csswg.org/css-color/#resolving-color-values" />
+ <link rel="match" href="border-color-011-ref.xht" />
+ <meta name="assert" content="The initial value of border-color is 'currentColor', which (as of css-color-3) is inherited as a keyword." />
+ <style type="text/css">
+ .test { display: block; color: red; border: none; }
+ .test .inner { border-color: inherit; border-style: solid; color: green; }
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ <div class="inner">
+ <div class="text">
+ This should have a green border, because the computed value of
+ 'border-color' set to its initial value is 'currentColor', which
+ refers to the color on the current element.
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-012-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-012-ref.xht
new file mode 100644
index 0000000000..c85c5408cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-012-ref.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {color: green;}
+
+ span {border: green solid medium;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <div><span>This should have a green border, because the computed value of 'border-color' set to its initial value is 'currentColor'.</span></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-012.xht
new file mode 100644
index 0000000000..3063cf1f00
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-012.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: CSS inheritance: border-color</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/inheritance/border/color/001.xml" type="application/xhtml+xml"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-color-012-ref.xht" />
+ <meta name="assert" content="The initial value of border-color is 'currentColor', which (as of css-color-3) is inherited as a keyword." />
+ <style type="text/css">
+ .test { display: block; color: red; border: none; }
+ .test > .inner { border-color: inherit; border-style: solid; color: green; }
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ <span class="inner">
+ <span class="text">
+ This should have a green border, because the computed value of
+ 'border-color' set to its initial value is 'currentColor'.
+ </span>
+ </span>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-001.xht
new file mode 100644
index 0000000000..53d5e3ae6d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-002.xht
new file mode 100644
index 0000000000..a8adb2f993
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-003.xht
new file mode 100644
index 0000000000..e6d7d63223
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-004.xht
new file mode 100644
index 0000000000..8deb7a430a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-005.xht
new file mode 100644
index 0000000000..454010ef8f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-005.xht
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+
+ .col
+ {
+ display: table-column;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test"><div class="col"></div><div class="col"></div></div>
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-006.xht
new file mode 100644
index 0000000000..583ef70e6a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-006.xht
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+
+ <div id="test"></div><div class="column"></div>
+
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-007.xht
new file mode 100644
index 0000000000..ce7a3e3445
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 100px;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-cell;
+ height: 96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-008.xht
new file mode 100644
index 0000000000..9e6d6e0b73
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-color: green;
+ display: inline;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div>Filler Text</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-009.xht
new file mode 100644
index 0000000000..9b6de22ca9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-009.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: block;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-010.xht
new file mode 100644
index 0000000000..a7a828dc9c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-010.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square with a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-012.xht
new file mode 100644
index 0000000000..3f9af412e5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-012.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: inline-block;
+ width: 96px;
+ }
+
+ span.block-descendant
+ {
+ color: white;
+ display: block;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant">a</span>
+ <span class="block-descendant">b</span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-013.xht
new file mode 100644
index 0000000000..1b240e0874
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table;
+ table-layout: fixed;
+ width: 96px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-014.xht
new file mode 100644
index 0000000000..cac9b1a9b8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: inline-table;
+ table-layout: fixed;
+ width: 96px;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ color: white;
+ display: table-cell;
+ height: 48px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell">a</div><div class="cell">b</div>
+ </div>
+
+ <div class="row">
+ <div class="cell">c</div><div class="cell">d</div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-015.xht
new file mode 100644
index 0000000000..5f19d45c58
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-color' properties applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-color: green;
+ border-width: 4px;
+ display: table-caption;
+ height: 1in;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a hollow green square.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001-ref.xht
new file mode 100644
index 0000000000..381ff8e12a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {width: 102px;}
+
+ div.top-and-bottom-stripes
+ {
+ background-color: blue;
+ height: 3px;
+ }
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the border is the same color on all edges.</p>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ <div><img src="support/blue15x15.png" height="96" width="3" alt="Image download support must be enabled" /> <img src="support/blue15x15.png" height="96" width="3" alt="Image download support must be enabled" /></div>
+
+ <div class="top-and-bottom-stripes"></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001.xht
new file mode 100644
index 0000000000..d24f9d584f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color shorthand - one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-color-shorthand-001-ref.xht" />
+
+ <meta name="assert" content="Specifying a single value on the 'border-color' property sets the value for all sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-color: blue;
+ border-width: 3px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the border is the same color on all edges.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-002.xht
new file mode 100644
index 0000000000..98fccbf0c8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-002.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color shorthand - two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="Specifying two values on the 'border-color' property assigns the first value to the top and bottom and the second to the left and right." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-color: blue orange;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top and bottom borders are blue and the left and right borders are orange.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-003.xht
new file mode 100644
index 0000000000..2a292a99c2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-003.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color shorthand - three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="Specifying three values to the 'border-color' property assigns the first value to the top the second value to the left and right and the third value to the bottom." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-color: blue green orange;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top border is blue, the bottom border is orange and the left and right borders are green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-004.xht
new file mode 100644
index 0000000000..e3ed8a7960
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-color-shorthand-004.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-color shorthand - four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="Specifying four values to the 'border-color' property assigns the values for top, right, bottom and left." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-color: blue green orange yellow;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top border is blue, the right border is green, the bottom border is orange, and the left border is yellow.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101-ref.xht
new file mode 100644
index 0000000000..03db97af52
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101-ref.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+
+ <style type="text/css"><![CDATA[
+ body {padding-bottom: 200px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101.xht
new file mode 100644
index 0000000000..dcb0be5883
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-101.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border conflict resolution - border-style: hidden applied to table-row</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ }
+
+ tr
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ border: red solid;
+ height: 200px;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <tbody>
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-102.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-102.xht
new file mode 100644
index 0000000000..92708edab7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-102.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border conflict resolution - border-style: hidden applied to table-column-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ }
+
+ colgroup
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ border: red solid;
+ height: 200px;
+ padding: 0px;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <colgroup></colgroup>
+
+ <tbody>
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-103.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-103.xht
new file mode 100644
index 0000000000..650225a71c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-103.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border conflict resolution - border-style: hidden applied to table-column</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ }
+
+ col
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ border: red solid;
+ height: 200px;
+ padding: 0px;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <col></col>
+
+ <tbody>
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-104.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-104.xht
new file mode 100644
index 0000000000..72c380716a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-104.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border conflict resolution - border-style: hidden applied to table-row-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ }
+
+ tbody
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ border: red solid;
+ height: 200px;
+ padding: 0px;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <tbody>
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-105.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-105.xht
new file mode 100644
index 0000000000..420c4543d3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-105.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border conflict resolution - border-style: hidden applied to table-footer-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ }
+
+ tfoot
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ tfoot td
+ {
+ border: red solid;
+ height: 200px;
+ padding: 0px;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <tfoot>
+ <tr>
+ <td></td>
+ </tr>
+ </tfoot>
+
+ <tbody>
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-106.xht b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-106.xht
new file mode 100644
index 0000000000..4b27a7d6f9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-conflict-style-106.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border conflict resolution - border-style: hidden applied to table-header-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ }
+
+ thead
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ thead td
+ {
+ border: red solid;
+ height: 200px;
+ padding: 0px;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <thead>
+ <tr>
+ <td></td>
+ </tr>
+ </thead>
+
+ <tbody>
+ <tr>
+ <td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-dynamic-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-dynamic-001-ref.xht
new file mode 100644
index 0000000000..35dd67b8c0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-dynamic-001-ref.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ border: lime solid medium;
+ padding: 5em 0em;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be a big green box below.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-dynamic-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-dynamic-001.xht
new file mode 100644
index 0000000000..dc73fecbfa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-dynamic-001.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: Dynamic Borders (style attribute)</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/dynamic/001.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="match" href="border-dynamic-001-ref.xht" />
+
+ <meta name="flags" content="dom"/>
+ <style type="text/css">
+ #test { background: green; }
+ #test div { margin: 10em 0; background: red; }
+ </style>
+ </head>
+ <body>
+ <p>There should be a big green box below.</p>
+ <div id="test">
+ <div></div>
+ </div>
+ <script type="text/javascript">
+ var x = document.getElementById('test');
+ x.clientHeight; // force reflow
+ x.style.border = "solid lime";
+ </script>
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-dynamic-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-dynamic-002.xht
new file mode 100644
index 0000000000..2bef11b5a9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-dynamic-002.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: Dynamic Borders (class attribute)</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/dynamic/002.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="match" href="border-dynamic-001-ref.xht" />
+
+ <meta name="flags" content="dom"/>
+ <style type="text/css">
+ #test { background: green; }
+ #test div { margin: 10em 0; background: red; }
+ .border { border: solid lime; }
+ </style>
+ </head>
+ <body>
+ <p>There should be a big green box below.</p>
+ <div id="test">
+ <div></div>
+ </div>
+ <script type="text/javascript">
+ var x = document.getElementById('test');
+ x.clientHeight; // force reflow
+ x.className += " border";
+ </script>
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-001.xht
new file mode 100644
index 0000000000..1841b67c01
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-001.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the border-width for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: 1in;
+ border-left-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-002.xht
new file mode 100644
index 0000000000..b3b9af6199
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-002.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the border-style for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: dashed;
+ border-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-003-ref.xht
new file mode 100644
index 0000000000..2417cc4858
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-003-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 1in;
+ width: 5px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a short vertical blue line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-003.xht
new file mode 100644
index 0000000000..4cd0d25376
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-003.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the border-color for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: blue;
+ border-left-style: solid;
+ border-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-004.xht
new file mode 100644
index 0000000000..ce74ebd596
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-004.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the border-width and border-style for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: 5px dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-005-ref.xht
new file mode 100644
index 0000000000..e76e3b7360
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-005-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a blue square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-005.xht
new file mode 100644
index 0000000000..a1ad9d9919
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-005.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' shorthand property sets the 'border-width' and 'border-color' for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: 1in blue;
+ border-left-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-006.xht
new file mode 100644
index 0000000000..453d125848
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-006.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left' shorthand property sets the 'border-style' and 'border-width' for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: solid 1in;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-007.xht
new file mode 100644
index 0000000000..a606d8a61f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-007.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property sets the 'border-style' and 'border-color' for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: dashed blue;
+ border-left-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-008.xht
new file mode 100644
index 0000000000..ff7ea9e4ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-008.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' shorthand property sets the 'border-color' and 'border-width' for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: blue 1in;
+ border-left-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-009.xht
new file mode 100644
index 0000000000..b357e1e4ac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-009.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property sets the 'border-color' and 'border-style' for the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left: blue dashed;
+ border-width: 5px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-010.xht
new file mode 100644
index 0000000000..1eba04741c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-010.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-width border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the 'border-width', 'border-style' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border-left: 5px dashed blue;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-011.xht
new file mode 100644
index 0000000000..a037a50959
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-011.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-width border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the 'border-width', 'border-color' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border-left: 5px blue dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-012.xht
new file mode 100644
index 0000000000..c4ba3475f2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-012.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-style border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the 'border-style', 'border-width' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border-left: dashed 5px blue;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-013.xht
new file mode 100644
index 0000000000..b2fbef81bc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-013.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set with border-style border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the 'border-style', 'border-color' and 'border-width'." />
+ <style type="text/css">
+ div
+ {
+ border-left: dashed blue 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-014.xht
new file mode 100644
index 0000000000..00b390f8c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-014.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-color border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the 'border-color', 'border-width' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border-left: blue 5px dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-015.xht
new file mode 100644
index 0000000000..3cc9b35dfc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-015.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to border-color border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly sets the 'border-color', 'border-style' and 'border-width'." />
+ <style type="text/css">
+ div
+ {
+ border-left: blue 5px dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-016.xht
new file mode 100644
index 0000000000..8ddad7d120
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-016.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to inherit, inheriting a single value for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-left: dashed;
+ }
+ div div
+ {
+ border-left: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two dashed lines below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-017.xht
new file mode 100644
index 0000000000..ad59e06e2d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-017.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to inherit, inheriting two values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-left: dashed blue;
+ }
+ div div
+ {
+ border-left: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two dashed blue lines below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-018-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-018-ref.xht
new file mode 100644
index 0000000000..40d84eb544
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-018-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {margin-right: 10px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there are 2 blue squares.</p>
+
+ <div><img src="support/blue15x15.png" width="96" height="96" alt="Image download support must be enabled" /><img src="support/blue15x15.png" width="96" height="96" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-018.xht
new file mode 100644
index 0000000000..779c1c48f3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-018.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left set to inherit, inheriting three values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-018-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-left: 1in solid blue;
+ }
+ div div
+ {
+ border-left: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 blue squares.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001-ref.xht
new file mode 100644
index 0000000000..ff8eaad264
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 1in;
+ width: 3px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001.xht
new file mode 100644
index 0000000000..8be243f550
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-002.xht
new file mode 100644
index 0000000000..313695734d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-003.xht
new file mode 100644
index 0000000000..dd97d209d2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-004.xht
new file mode 100644
index 0000000000..c1e483bfab
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-005.xht
new file mode 100644
index 0000000000..75e084ecfe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-006.xht
new file mode 100644
index 0000000000..3c1555a1ab
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-006.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test"></div><div class="column"></div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-007.xht
new file mode 100644
index 0000000000..fa69ebe2ee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-left: green solid 3px;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-008.xht
new file mode 100644
index 0000000000..fbaae16cd1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-left: solid green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-009.xht
new file mode 100644
index 0000000000..3f14c06a6e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-009.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-left: green solid 3px;
+ display: block;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-010.xht
new file mode 100644
index 0000000000..e4793f8725
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-left: solid green;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-012.xht
new file mode 100644
index 0000000000..dffffa23f7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-left: green solid 3px;
+ display: inline-block;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-013.xht
new file mode 100644
index 0000000000..faed9e3dfd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-014.xht
new file mode 100644
index 0000000000..3a30e00212
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #test
+ {
+ border-left: solid green 3px;
+ display: inline-table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-015.xht
new file mode 100644
index 0000000000..d9ab50594a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left' properties applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-left: green solid 3px;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-001.xht
new file mode 100644
index 0000000000..26f026c1cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with five digits which is invalid and is equivalent to minimum minus one value for six digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #00000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00000;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-002.xht
new file mode 100644
index 0000000000..0a7aeffc3c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with the minimum value, #000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #000000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #000000;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-003.xht
new file mode 100644
index 0000000000..7c7485bdba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with the minimum plus one value, #010101</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #010101 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #010101;
+ }
+ #reference
+ {
+ background-color: #010101;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-004.xht
new file mode 100644
index 0000000000..fe6e8e63a6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a nominal value #999999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-004-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #999999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #999999;
+ }
+ #reference
+ {
+ background-color: #999999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-005.xht
new file mode 100644
index 0000000000..d458a71356
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with the maximum minus one value of #fefefe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #fefefe renders the correct color for the border." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #fefefe;
+ }
+ #reference
+ {
+ background-color: #fefefe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-006.xht
new file mode 100644
index 0000000000..2aeb4e00fb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with the maximum value of #ffffff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #ffffff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #ffffff;
+ }
+ #reference
+ {
+ background-color: #ffffff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-007.xht
new file mode 100644
index 0000000000..96793387bf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-007.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with the maximum plus one value of #1000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #1000000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #1000000;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-008.xht
new file mode 100644
index 0000000000..b95241d800
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-008.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with the maximum plus one value of #fgfgfg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #fgfgfg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #fgfgfg;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-009.xht
new file mode 100644
index 0000000000..7d167052c1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-009.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a red set to minimum plus one value, #010000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #010000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #010000;
+ }
+ #reference
+ {
+ background-color: #010000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-010.xht
new file mode 100644
index 0000000000..1f41c35bad
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-010.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a red set to a nominal value, #990000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #990000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #990000;
+ }
+ #reference
+ {
+ background-color: #990000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-011.xht
new file mode 100644
index 0000000000..19acbe2f35
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-011.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a red set to maximum minus one value, #fe0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #fe0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #fe0000;
+ }
+ #reference
+ {
+ background-color: #fe0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-012.xht
new file mode 100644
index 0000000000..784a876d4e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a red set to the maximum value, #ff0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #ff0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #ff0000;
+ }
+ #reference
+ {
+ background-color: #ff0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-013.xht
new file mode 100644
index 0000000000..cb89214e1e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-013.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a red set to the maximum plus one value, #fg0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #fg0000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #fg0000;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-014.xht
new file mode 100644
index 0000000000..c407698f81
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a green set to minimum plus one value, #000100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-014-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #000100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #000100;
+ }
+ #reference
+ {
+ background-color: #000100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-015.xht
new file mode 100644
index 0000000000..0d502b9f9e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a green set to a nominal value, #009900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-015-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #009900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #009900;
+ }
+ #reference
+ {
+ background-color: #009900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-016.xht
new file mode 100644
index 0000000000..41c308d15b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-016.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a green set to maximum minus one value, #00fe00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #00fe00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00fe00;
+ }
+ #reference
+ {
+ background-color: #00fe00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-017.xht
new file mode 100644
index 0000000000..d8cbe8b1e1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a green set to the maximum value, #00ff00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #00ff00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00ff00;
+ }
+ #reference
+ {
+ background-color: #00ff00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-018.xht
new file mode 100644
index 0000000000..49fea3c70d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-018.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a green set to the maximum plus one value, #00fg00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #00fg00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00fg00;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-019.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-019.xht
new file mode 100644
index 0000000000..583852437d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-019.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a blue set to minimum plus one value, #000001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #000001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #000001;
+ }
+ #reference
+ {
+ background-color: #000001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-020.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-020.xht
new file mode 100644
index 0000000000..ddfb8b49cd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-020.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a blue set to a nominal value, #000099</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #000099 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #000099;
+ }
+ #reference
+ {
+ background-color: #000099;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-021.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-021.xht
new file mode 100644
index 0000000000..f0c16a7b5b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-021.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a blue set to maximum minus one value, #0000fe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #0000fe renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #0000fe;
+ }
+ #reference
+ {
+ background-color: #0000fe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-022.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-022.xht
new file mode 100644
index 0000000000..129f5f1a8c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-022.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a blue set to the maximum value, #0000ff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #0000ff renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #0000ff;
+ }
+ #reference
+ {
+ background-color: #0000ff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-023.xht
new file mode 100644
index 0000000000..ed969cff29
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-023.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with six digits with a blue set to the maximum plus one value, #0000fg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #0000fg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #0000fg;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-024.xht
new file mode 100644
index 0000000000..fb1bf0d78c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-024.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with 2 digits which is invalid and is equivalent to minimum minus one value for 3 digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-025.xht
new file mode 100644
index 0000000000..2d1e9950b9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with the minimum possible value #000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #000;
+ }
+ #reference
+ {
+ background-color: #000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-026.xht
new file mode 100644
index 0000000000..4abf426697
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-026.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with the minimum plus one value, #111</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-026-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #111 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #111;
+ }
+ #reference
+ {
+ background-color: #111;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-027.xht
new file mode 100644
index 0000000000..c28aa21bf5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-027.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a nominal value #999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-027-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #999;
+ }
+ #reference
+ {
+ background-color: #999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-028.xht
new file mode 100644
index 0000000000..386c42a244
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with the maximum minus one value of #eee</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-028-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #eee renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #eee;
+ }
+ #reference
+ {
+ background-color: #eee;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-029.xht
new file mode 100644
index 0000000000..f2624c1dff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with the maximum value of #fff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #fff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #fff;
+ }
+ #reference
+ {
+ background-color: #fff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-030.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-030.xht
new file mode 100644
index 0000000000..fc62a4b144
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-030.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with the maximum plus one value of #1000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-transparent-or-black-square-black.xht"/>
+ <link rel="match" href="../reference/ref-transparent-or-black-square-transparent.xht"/>
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #1000 is a transparent dark red square." />
+ <style type="text/css">
+ div.test
+ {
+ border: 5px solid blue;
+ height: 1in;
+ width: 1in;
+ }
+ div.test div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #1000;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black or transparent square surrounded by a blue border.</p>
+ <div class="test"><div></div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-031.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-031.xht
new file mode 100644
index 0000000000..c31e9d9eaa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-031.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with the maximum plus one value of #ggg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #ggg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #ggg;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-032.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-032.xht
new file mode 100644
index 0000000000..2478e7880a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-032.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a red set to minimum plus one value, #100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-032-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #100;
+ }
+ #reference
+ {
+ background-color: #100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-033.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-033.xht
new file mode 100644
index 0000000000..79ec0085ba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-033.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a red set to a nominal value, #900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #900;
+ }
+ #reference
+ {
+ background-color: #900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-034.xht
new file mode 100644
index 0000000000..2282d05879
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a red set to maximum minus one value, #e00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-034-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #e00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #e00;
+ }
+ #reference
+ {
+ background-color: #e00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-035.xht
new file mode 100644
index 0000000000..25acf6d8ad
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-035.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a red set to the maximum value, #f00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #f00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #f00;
+ }
+ #reference
+ {
+ background-color: #f00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-036.xht
new file mode 100644
index 0000000000..b268910e59
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-036.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a red set to the maximum plus one value, #g00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #g00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #g00;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-037.xht
new file mode 100644
index 0000000000..73cf82df6b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-037.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a green set to minimum plus one value, #010</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-037-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #010 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #010;
+ }
+ #reference
+ {
+ background-color: #010;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-038.xht
new file mode 100644
index 0000000000..cffdd3fa10
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-038.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a green set to a nominal value, #090</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-038-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #090 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #090;
+ }
+ #reference
+ {
+ background-color: #090;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-039.xht
new file mode 100644
index 0000000000..ffada9e7a1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a green set to maximum minus one value, #0e0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-039-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #0e0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #0e0;
+ }
+ #reference
+ {
+ background-color: #0e0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-040.xht
new file mode 100644
index 0000000000..edd44d2af9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a green set to the maximum value, #0f0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #0f0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #0f0;
+ }
+ #reference
+ {
+ background-color: #0f0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-041.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-041.xht
new file mode 100644
index 0000000000..8a19c644be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-041.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a green set to the maximum plus one value, #0g0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #0g0 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #0g0;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-042.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-042.xht
new file mode 100644
index 0000000000..eeaa75b5ac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-042.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a blue set to minimum plus one value, #001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-042-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #001;
+ }
+ #reference
+ {
+ background-color: #001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-043.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-043.xht
new file mode 100644
index 0000000000..12cddbd1cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-043.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a blue set to a nominal value, #009</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #009 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #009;
+ }
+ #reference
+ {
+ background-color: #009;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-044.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-044.xht
new file mode 100644
index 0000000000..9232b04ff6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-044.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a blue set to maximum minus one value, #00e</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-044-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #00e renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00e;
+ }
+ #reference
+ {
+ background-color: #00e;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-045.xht
new file mode 100644
index 0000000000..d8afc8a85c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a blue set to the maximum value, #00f</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to #00f renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00f;
+ }
+ #reference
+ {
+ background-color: #00f;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-046.xht
new file mode 100644
index 0000000000..0e585c3277
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-046.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to hex with three digits with a blue set to the maximum plus one value, #00g</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to #00g falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: #00g;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-047.xht
new file mode 100644
index 0000000000..bb0b50b9cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-047.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with the minimum minus one value, rgb(-1%, -1%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(-1%, -1%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-1%, -1%, -1%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-048.xht
new file mode 100644
index 0000000000..2526461f94
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-048.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with the minimum value, rgb(0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-049.xht
new file mode 100644
index 0000000000..be71e45ac7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-049.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with the minimum plus one value, rgb(1%, 1%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-049-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(1%, 1%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(1%, 1%, 1%);
+ }
+ #reference
+ {
+ background-color: rgb(1%, 1%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-050.xht
new file mode 100644
index 0000000000..62696bbc2f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with the minimum value and minus sign, rgb(-0%, -0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(-0%, -0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-0%, -0%, -0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-051.xht
new file mode 100644
index 0000000000..e4a74328aa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with the minimum value and plus sign, rgb(+0%, +0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+0%, +0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+0%, +0%, +0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-052.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-052.xht
new file mode 100644
index 0000000000..a2469a7574
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-052.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with a nominal value, rgb(40%, 40%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(40%, 40%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(40%, 40%, 40%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-053.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-053.xht
new file mode 100644
index 0000000000..e0826207e6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-053.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with a nominal value and a plus sign, rgb(+40%, +40%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(+40%, +40%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+40%, +40%, +40%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-054.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-054.xht
new file mode 100644
index 0000000000..056a3f792d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-054.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-054-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(99%, 99%, 99%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(99%, 99%, 99%);
+ }
+ #reference
+ {
+ background-color: rgb(99%, 99%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-055.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-055.xht
new file mode 100644
index 0000000000..51428320a3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-055.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with a maximum value, rgb(100%, 100%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(100%, 100%, 100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(100%, 100%, 100%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-056.xht
new file mode 100644
index 0000000000..97567200bd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+100%, +100%, +100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+100%, +100%, +100%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-057.xht
new file mode 100644
index 0000000000..fde87d1898
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-057.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(101%, 101%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(101%, 101%, 101%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-058.xht
new file mode 100644
index 0000000000..f11c3efe09
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with the minimum minus one value, rgb(-1, -1, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(-1, -1, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-1, -1, -1);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-059.xht
new file mode 100644
index 0000000000..a47824414b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-059.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with the minimum value, rgb(0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-060.xht
new file mode 100644
index 0000000000..5819fd3506
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-060.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with the minimum plus one value, rgb(1, 1, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(1, 1, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(1, 1, 1);
+ }
+ #reference
+ {
+ background-color: rgb(1, 1, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-061.xht
new file mode 100644
index 0000000000..99debe1088
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with the minimum value and minus sign, rgb(-0, -0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(-0, -0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-0, -0, -0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-062.xht
new file mode 100644
index 0000000000..99cb289e5c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with the minimum value and plus sign, rgb(+0, +0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+0, +0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+0, +0, +0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-063.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-063.xht
new file mode 100644
index 0000000000..653414a387
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-063.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with a nominal value, rgb(128, 128, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(128, 128, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(128, 128, 128);
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-064.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-064.xht
new file mode 100644
index 0000000000..b894e3c3c7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-064.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with a nominal value and a plus sign, rgb(+128, +128, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+128, +128, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+128, +128, +128);
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-065.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-065.xht
new file mode 100644
index 0000000000..11b46615e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-065.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with a maximum minus one value, rgb(254, 254, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(254, 254, 254) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(254, 254, 254);
+ }
+ #reference
+ {
+ background-color: rgb(254, 254, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-066.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-066.xht
new file mode 100644
index 0000000000..89b0058e0c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-066.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with a maximum value, rgb(255, 255, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(255, 255, 255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(255, 255, 255);
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-067.xht
new file mode 100644
index 0000000000..b595cea5f5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with a maximum value and a plus sign, rgb(+255, +255, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+255, +255, +255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+255, +255, +255);
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-068.xht
new file mode 100644
index 0000000000..b582d0df9e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-068.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with a maximum plus one value, rgb(256, 256, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(256, 256, 256) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(256, 256, 256);
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-069.xht
new file mode 100644
index 0000000000..9662a942ca
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to the minimum minus one value, rgb(-1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(-1%, 0%, 0%) falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-1%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-070.xht
new file mode 100644
index 0000000000..abfd0c62f0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-070.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-070-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(1%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(1%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(1%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-071.xht
new file mode 100644
index 0000000000..f1b2279759
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-071.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to the minimum value and minus sign, rgb(-0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(-0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-0%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-072.xht
new file mode 100644
index 0000000000..ba01803985
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to the minimum value and plus sign, rgb(+0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+0%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-073.xht
new file mode 100644
index 0000000000..612d7002d4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to a nominal value, rgb(40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(40%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-074.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-074.xht
new file mode 100644
index 0000000000..4f49db3276
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-074.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(+40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+40%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-075.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-075.xht
new file mode 100644
index 0000000000..242b6ac678
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-075.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-075-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(99%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(99%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(99%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-076.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-076.xht
new file mode 100644
index 0000000000..02980b5942
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-076.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to a maximum value, rgb(100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(100%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-077.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-077.xht
new file mode 100644
index 0000000000..da72352d1c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-077.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to a maximum value with a plus sign, rgb(+100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+100%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-078.xht
new file mode 100644
index 0000000000..6d1cd48952
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with red set to a maximum plus one value, rgb(101%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(101%, 0%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(101%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-079.xht
new file mode 100644
index 0000000000..b7f8caf46d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-079.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to the minimum minus one value, rgb(-1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-1, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-080.xht
new file mode 100644
index 0000000000..a9878d0981
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to the minimum plus one value, rgb(1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(1, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(1, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(1, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-081.xht
new file mode 100644
index 0000000000..95de7e74d9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-081.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to the minimum value with a minus sign, rgb(-0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(-0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(-0, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-082.xht
new file mode 100644
index 0000000000..a0373884ef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-082.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to the minimum value with a plus sign, rgb(+0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+0, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-083.xht
new file mode 100644
index 0000000000..c2123960b0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to a nominal value, rgb(128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(128, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-084.xht
new file mode 100644
index 0000000000..f1ba9781eb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to a nominal value with a plus sign, rgb(+128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+128, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-085.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-085.xht
new file mode 100644
index 0000000000..d3482935a0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-085.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to a maximum minus one value, rgb(254, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(254, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(254, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(254, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-086.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-086.xht
new file mode 100644
index 0000000000..85a79765cc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-086.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to a maximum value, rgb(255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(255, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-087.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-087.xht
new file mode 100644
index 0000000000..9d2489a719
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-087.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to a maximum value with a plus sign, rgb(+255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(+255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(+255, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-088.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-088.xht
new file mode 100644
index 0000000000..ff2bfa664e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-088.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with red set to a maximum plus one value, rgb(256, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(256, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(256, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-089.xht
new file mode 100644
index 0000000000..a0dc7872e3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-089.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to the minimum minus one value, rgb(0%, -1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, -1%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, -1%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-090.xht
new file mode 100644
index 0000000000..5c1908aeac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-090.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-090-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 1%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 1%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 1%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-091.xht
new file mode 100644
index 0000000000..e639eb7a98
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-091.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to the minimum value and minus sign, rgb(0%, -0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, -0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, -0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-092.xht
new file mode 100644
index 0000000000..0a78434d04
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-092.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to the minimum value and plus sign, rgb(0%, +0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, +0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, +0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-093.xht
new file mode 100644
index 0000000000..18d995441d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-093.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to a nominal value, rgb(0%, 40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 40%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-094.xht
new file mode 100644
index 0000000000..2940b09fee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-094.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, +40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, +40%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-095.xht
new file mode 100644
index 0000000000..3bef2686ac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-095.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-095-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 99%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 99%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 99%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-096.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-096.xht
new file mode 100644
index 0000000000..fc75c29a7d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-096.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to a maximum value, rgb(0%, 100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 100%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-097.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-097.xht
new file mode 100644
index 0000000000..5b90142132
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-097.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to a maximum value with a plus sign, rgb(0%, +100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, +100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, +100%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-098.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-098.xht
new file mode 100644
index 0000000000..e38bccc776
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-098.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with green set to a maximum plus one value, rgb(0%, 101%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 101%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 101%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-099.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-099.xht
new file mode 100644
index 0000000000..ff193dccfe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-099.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to the minimum minus one value, rgb(0, -1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, -1, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-100.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-100.xht
new file mode 100644
index 0000000000..b2acc60716
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-100.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to the minimum plus one value, rgb(0, 1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-100-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 1, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 1, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 1, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-101.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-101.xht
new file mode 100644
index 0000000000..cd7503fa5a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-101.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to the minimum value with a minus sign, rgb(0, -0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, -0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, -0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-102.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-102.xht
new file mode 100644
index 0000000000..3174a878f5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-102.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to the minimum value with a plus sign, rgb(0, +0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, +0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, +0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-103.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-103.xht
new file mode 100644
index 0000000000..e2378fc5a1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-103.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to a nominal value, rgb(0, 128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 128, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-104.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-104.xht
new file mode 100644
index 0000000000..5adabc8d38
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-104.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to a nominal value with a plus sign, rgb(0, +128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, +128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, +128, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-105.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-105.xht
new file mode 100644
index 0000000000..65c36432bf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-105.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to a maximum minus one value, rgb(0, 254, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 254, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 254, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 254, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-106.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-106.xht
new file mode 100644
index 0000000000..f992b2bcfa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-106.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to a maximum value, rgb(0, 255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 255, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-107.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-107.xht
new file mode 100644
index 0000000000..7c3e41eefb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-107.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to a maximum value with a plus sign, rgb(0, +255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, +255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, +255, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-108.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-108.xht
new file mode 100644
index 0000000000..4c3abbb5fe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-108.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with green set to a maximum plus one value, rgb(0, 256 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 256, 0) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 256, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-109.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-109.xht
new file mode 100644
index 0000000000..0023bef43b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-109.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to the minimum minus one value, rgb(0%, 0%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, -1%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-110.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-110.xht
new file mode 100644
index 0000000000..c947fe8abe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-110.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-110-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, 1%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-111.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-111.xht
new file mode 100644
index 0000000000..4c4bf57ea2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-111.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to the minimum value and minus sign, rgb(0%, 0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, -0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-112.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-112.xht
new file mode 100644
index 0000000000..1d944cf382
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-112.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to the minimum value and plus sign, rgb(0%, 0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, +0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-113.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-113.xht
new file mode 100644
index 0000000000..67b32763da
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-113.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, 40%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-114.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-114.xht
new file mode 100644
index 0000000000..e10886c888
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-114.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, +40%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-115.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-115.xht
new file mode 100644
index 0000000000..72f95ecb55
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-115.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-115-ref.xht"/>
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, 99%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, 99%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-116.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-116.xht
new file mode 100644
index 0000000000..bb0714dedf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-116.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, 100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, 100%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-117.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-117.xht
new file mode 100644
index 0000000000..d35664a932
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-117.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to a maximum value with a plus sign, rgb(0%, 0%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, +100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, +100%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-118.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-118.xht
new file mode 100644
index 0000000000..64043cdc3d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-118.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using percentages with blue set to a maximum plus one value, rgb(0%, 0%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0%, 0%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0%, 0%, 101%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-119.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-119.xht
new file mode 100644
index 0000000000..5fe0875aa4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-119.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to the minimum minus one value, rgb(0, 0, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, -1);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-120.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-120.xht
new file mode 100644
index 0000000000..7d7a31cef2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-120.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to the minimum plus one value, rgb(0, 0, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, 1);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-121.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-121.xht
new file mode 100644
index 0000000000..0f2141de64
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-121.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to the minimum value with a minus sign, rgb(0, 0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, -0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-122.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-122.xht
new file mode 100644
index 0000000000..690c32632b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-122.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to the minimum value with a plus sign, rgb(0, 0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, +0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-123.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-123.xht
new file mode 100644
index 0000000000..5ca990e89d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-123.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to a nominal value, rgb(0, 0, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, 128);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-124.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-124.xht
new file mode 100644
index 0000000000..8977d437a9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-124.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to a nominal value with a plus sign, rgb(0, 0, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, +128);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-125.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-125.xht
new file mode 100644
index 0000000000..e20a77fd4a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-125.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to a maximum minus one value, rgb(0, 0, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, 254) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, 254);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-126.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-126.xht
new file mode 100644
index 0000000000..ed1ae10382
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-126.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to a maximum value, rgb(0, 0, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, 255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, 255);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-127.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-127.xht
new file mode 100644
index 0000000000..3f3d1f4c3b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-127.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to a maximum value with a plus sign, rgb(0, 0, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, +255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, +255);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-128.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-128.xht
new file mode 100644
index 0000000000..2dcfe622b4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-128.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to rgb() using integers with blue set to a maximum plus one value, rgb(0, 0, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-color' set to rgb(0, 0, 256) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: rgb(0, 0, 256);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-129.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-129.xht
new file mode 100644
index 0000000000..dfd7518334
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-129.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to aqua</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-129-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to aqua causes the border-left-color of the box to be aqua." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: aqua;
+ }
+ #reference
+ {
+ background-color: aqua;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-130.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-130.xht
new file mode 100644
index 0000000000..8afb06935b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-130.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to black</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to black causes the border-left-color of the box to be black." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: black;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-131.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-131.xht
new file mode 100644
index 0000000000..6302912a84
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-131.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to blue</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-131-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to blue causes the border-left-color of the box to be blue." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: blue;
+ }
+ #reference
+ {
+ background-color: blue;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-132.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-132.xht
new file mode 100644
index 0000000000..c554a0640a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-132.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to fuchsia</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-132-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to fuchsia causes the border-left-color of the box to be fuchsia." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: fuchsia;
+ }
+ #reference
+ {
+ background-color: fuchsia;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-133.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-133.xht
new file mode 100644
index 0000000000..58657b2f73
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-133.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to gray</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-133-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to gray causes the border-left-color of the box to be gray." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: gray;
+ }
+ #reference
+ {
+ background-color: gray;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-134.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-134.xht
new file mode 100644
index 0000000000..3b104fea83
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-134.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to green</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-134-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to green causes the background of the box to be green." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: green;
+ }
+ #reference
+ {
+ background-color: green;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-135.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-135.xht
new file mode 100644
index 0000000000..9c79267224
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-135.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to lime</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-135-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to lime causes the border-left-color of the box to be lime." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: lime;
+ }
+ #reference
+ {
+ background-color: lime;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-136.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-136.xht
new file mode 100644
index 0000000000..a73581363b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-136.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to maroon</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-136-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to maroon causes the border-left-color of the box to be maroon." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: maroon;
+ }
+ #reference
+ {
+ background-color: maroon;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-137.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-137.xht
new file mode 100644
index 0000000000..72741c9907
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-137.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to navy</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-137-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to navy causes the border-left-color of the box to be navy." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: navy;
+ }
+ #reference
+ {
+ background-color: navy;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-138.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-138.xht
new file mode 100644
index 0000000000..274cbeb035
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-138.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to olive</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-138-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to olive causes the border-left-color of the box to be olive." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: olive;
+ }
+ #reference
+ {
+ background-color: olive;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-139.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-139.xht
new file mode 100644
index 0000000000..f852c736fb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-139.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to orange</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-139-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to orange causes the border-left-color of the box to be orange." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: orange;
+ }
+ #reference
+ {
+ background-color: orange;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-140.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-140.xht
new file mode 100644
index 0000000000..a0f472fe44
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-140.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to purple</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-140-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to purple causes the border-left-color of the box to be purple." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: purple;
+ }
+ #reference
+ {
+ background-color: purple;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-141.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-141.xht
new file mode 100644
index 0000000000..d894273cd9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-141.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to red</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-141-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to red causes the border-left-color of the box to be red." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: red;
+ }
+ #reference
+ {
+ background-color: red;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-142.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-142.xht
new file mode 100644
index 0000000000..5d42b9610f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-142.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to silver</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-142-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to silver causes the border-left-color of the box to be silver." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: silver;
+ }
+ #reference
+ {
+ background-color: silver;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-143.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-143.xht
new file mode 100644
index 0000000000..fe9098124a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-143.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to teal</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-143-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to teal causes the border-left-color of the box to be teal." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: teal;
+ }
+ #reference
+ {
+ background-color: teal;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-144.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-144.xht
new file mode 100644
index 0000000000..93acb3b39e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-144.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to white</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-144-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to white causes the border-left-color of the box to be white." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: white;
+ }
+ #reference
+ {
+ background-color: white;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-145.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-145.xht
new file mode 100644
index 0000000000..866e6988e6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-145.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to yellow</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-145-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to yellow causes the border-left-color of the box to be yellow." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: yellow;
+ }
+ #reference
+ {
+ background-color: yellow;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-174-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-174-ref.xht
new file mode 100644
index 0000000000..5ae027361d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-174-ref.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide filled green rectangle and <strong>no red</strong>.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-174.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-174.xht
new file mode 100644
index 0000000000..92212021e4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-174.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to transparent</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-color-174-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to transparent properly renders a border with no visible color." />
+ <style type="text/css">
+ #wrapper
+ {
+ background-color: green;
+ height: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ border-left-color: red;
+ border-left-color: transparent;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide filled green rectangle and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-175.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-175.xht
new file mode 100644
index 0000000000..83b217298e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-175.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-color' set to inherit causes the 'border-left-color' of the element to be the same as the 'border-left-color' designated on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-left-color: green;
+ }
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 100px;
+ border-left-color: red;
+ border-left-color: inherit;
+ height: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-001.xht
new file mode 100644
index 0000000000..638cdbf114
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-001.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-002.xht
new file mode 100644
index 0000000000..e49ada3b8f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-002.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-003.xht
new file mode 100644
index 0000000000..9671d1c111
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-003.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-004.xht
new file mode 100644
index 0000000000..f67dc8c058
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-005.xht
new file mode 100644
index 0000000000..e6cf0da70c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-006.xht
new file mode 100644
index 0000000000..aa1f47469a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test"></div><div class="column"></div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-007.xht
new file mode 100644
index 0000000000..bbad8c1a4b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-008.xht
new file mode 100644
index 0000000000..0b177b22e5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-008.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-009.xht
new file mode 100644
index 0000000000..a7b4825f3e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-009.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: block;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-010.xht
new file mode 100644
index 0000000000..f05dd14e43
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-010.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-012.xht
new file mode 100644
index 0000000000..ec02d07cae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: inline-block;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-013.xht
new file mode 100644
index 0000000000..2b8aac7693
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-014.xht
new file mode 100644
index 0000000000..2b10ae04f7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: inline-table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-015.xht
new file mode 100644
index 0000000000..0693d2ba6c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-color-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-color applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-color' properties applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-color: green;
+ border-left-width: 3px;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-001.xht
new file mode 100644
index 0000000000..3d56f5789e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-001.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'none'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-left-style' property set to 'none' does not render any border for an element." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: none;
+ border-left-width: 3px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-002.xht
new file mode 100644
index 0000000000..bc615d806b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-002.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'hidden'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-left-style' property set to 'hidden' computes to 'none' and does not render any border for non-table elements." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-style: hidden;
+ border-left-width: 3px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-003.xht
new file mode 100644
index 0000000000..51ba7612a4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-003.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'dotted'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'dotted' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: dotted;
+ border-left-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line below.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-004.xht
new file mode 100644
index 0000000000..c19c9caabe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-004.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'dashed'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'dashed' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: dashed;
+ border-left-width: 3px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-005-ref.xht
new file mode 100644
index 0000000000..ded0404d3c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-005-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ width: 3px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a short vertical black line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-005.xht
new file mode 100644
index 0000000000..486f434ba3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-005.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'solid'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-left-style-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-style' set to 'solid' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 3px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical black line.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-006.xht
new file mode 100644
index 0000000000..32419961c9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-006.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'double'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'double' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: double;
+ border-left-width: 9px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a double line below.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-007.xht
new file mode 100644
index 0000000000..3772c480bb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-007.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'groove'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'groove' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: groove;
+ border-left-color: green;
+ border-left-width: 12px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-008.xht
new file mode 100644
index 0000000000..9f160853cc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-008.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'ridge'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'ridge' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: ridge;
+ border-left-color: green;
+ border-left-width: 12px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-009.xht
new file mode 100644
index 0000000000..7289231aa3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-009.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'inset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'inset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: inset;
+ border-left-color: green;
+ border-left-width: 12px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-010.xht
new file mode 100644
index 0000000000..4c8cb98b65
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'outset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' set to 'outset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: outset;
+ border-left-color: green;
+ border-left-width: 12px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-011.xht
new file mode 100644
index 0000000000..d4b0634444
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-011.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style set to 'inherit'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' property set to 'inherit' properly applies the value from the parent's 'border-left-style' property value." />
+ <style type="text/css">
+ body
+ {
+ border-left-style: dotted;
+ border-left-width: 0;
+ }
+ div
+ {
+ border-left-style: inherit;
+ border-left-color: green;
+ border-left-width: 10px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line below.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-001.xht
new file mode 100644
index 0000000000..e7648480bd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-002.xht
new file mode 100644
index 0000000000..afa8030972
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-003.xht
new file mode 100644
index 0000000000..cbf1e44ada
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-004.xht
new file mode 100644
index 0000000000..a869d30891
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-005.xht
new file mode 100644
index 0000000000..db3a3ff3d8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-005.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-006.xht
new file mode 100644
index 0000000000..20bb2bd5a3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-006.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-007.xht
new file mode 100644
index 0000000000..32f2f143b2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-007.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-left-style: dashed;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-008.xht
new file mode 100644
index 0000000000..7165ff5a07
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: dashed;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div>&nbsp;</div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-009.xht
new file mode 100644
index 0000000000..661946ce04
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-009.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-left-style: dashed;
+ display: block;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-010.xht
new file mode 100644
index 0000000000..221d5a1020
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: dashed;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line and marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-012.xht
new file mode 100644
index 0000000000..155c551b18
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-012.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of inline-block." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: dashed;
+ display: inline-block;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-013.xht
new file mode 100644
index 0000000000..ea84883021
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-013.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-left-style: dashed;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-014.xht
new file mode 100644
index 0000000000..d8f6cb3d31
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-014.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-left-style: dashed;
+ display: inline-table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-015.xht
new file mode 100644
index 0000000000..95bf261207
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-style-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-style applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-left-style' properties applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: dashed;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is dashed.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-001-ref.xht
new file mode 100644
index 0000000000..3a3bb4f6c9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ border-left-style: solid;
+ border-left-width: medium;
+ height: 1in;
+ margin-bottom: 5px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-001.xht
new file mode 100644
index 0000000000..95b4e0d7af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a minimum minus one (negative) value, -1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in pixels and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-002.xht
new file mode 100644
index 0000000000..c9e471df79
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-002.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a minimum value, 0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in pixels that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0px;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-003-ref.xht
new file mode 100644
index 0000000000..16a28b0c73
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ margin-bottom: 5px;
+ width: 1px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-003.xht
new file mode 100644
index 0000000000..fe08bf167d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-003.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a minimum plus one value, 1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in pixels that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1px;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-004.xht
new file mode 100644
index 0000000000..f61279a868
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-004.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a minimum value with a minus sign, -0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in pixels that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0px;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-005.xht
new file mode 100644
index 0000000000..556e5d3a88
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a minimum value with a plus sign, +0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in pixels that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0px;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-006-ref.xht
new file mode 100644
index 0000000000..c3f9b856bf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-006-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ margin-bottom: 5px;
+ width: 96px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-006.xht
new file mode 100644
index 0000000000..5c1410c54f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a nominal value, 96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in pixels that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-007.xht
new file mode 100644
index 0000000000..c11bbf717f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using pixels with a nominal value with a plus sign, +96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in pixels that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +96px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-012.xht
new file mode 100644
index 0000000000..c92d6928f5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-012.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using points with a minimum minus one (negative) value, -1pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht"/>
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in points and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1pt;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-013.xht
new file mode 100644
index 0000000000..4fd32ca873
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-013.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using points with a minimum value, 0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in points that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0pt;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-015.xht
new file mode 100644
index 0000000000..93bd8b8850
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-015.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using points with a minimum value with a minus sign, -0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in points that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0pt;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-016.xht
new file mode 100644
index 0000000000..2bab93db4d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-016.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using points with a minimum value with a plus sign, +0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in points that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0pt;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-017.xht
new file mode 100644
index 0000000000..7723b7703a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-017.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using points with a nominal value, 72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in points that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 72pt;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-018.xht
new file mode 100644
index 0000000000..3d8f544c85
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-018.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using points with a nominal value with a plus sign, +72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in points that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +72pt;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-023.xht
new file mode 100644
index 0000000000..38dd3cc947
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-023.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a minimum minus one (negative) value, -1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht"/>
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in picas and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1pc;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-024.xht
new file mode 100644
index 0000000000..975cccfaf8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-024.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a minimum value, 0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in picas that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0pc;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-025-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-025-ref.xht
new file mode 100644
index 0000000000..8b8d47ab06
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-025-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ margin-bottom: 5px;
+ width: 16px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-025.xht
new file mode 100644
index 0000000000..e025c892b6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-025.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a minimum plus one value, 1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-025-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in picas that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1pc;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1pc;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-026.xht
new file mode 100644
index 0000000000..e929cfeaa1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-026.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a minimum value with a minus sign, -0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in picas that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0pc;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-027.xht
new file mode 100644
index 0000000000..cc34e1aa1e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-027.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a minimum value with a plus sign, +0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in picas that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0pc;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-028.xht
new file mode 100644
index 0000000000..9f25dbdb5b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-028.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a nominal value, 6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in picas that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 6pc;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-029.xht
new file mode 100644
index 0000000000..f63713aff3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-029.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using picas with a nominal value with a plus sign, +6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in picas that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +6pc;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-034.xht
new file mode 100644
index 0000000000..f5c846b184
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-034.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a minimum minus one (negative) value, -1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht"/>
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in centimeters and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1cm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-035.xht
new file mode 100644
index 0000000000..a51e8ff434
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-035.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a minimum value, 0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in centimeters that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0cm;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-036.xht
new file mode 100644
index 0000000000..d1c5f84842
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-036.xht
@@ -0,0 +1,62 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a minimum plus one value, 1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in centimeters that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ width: 37px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ width: 38px;
+ }
+ .test1, .test2
+ {
+ border-left-style: solid;
+ border-left-width: 1cm;
+ width: 0;
+ }
+ .test1
+ {
+ border-left-color: green;
+ }
+ .test2
+ {
+ border-left-color: red;
+ }
+ #parent
+ {
+ background: red;
+ margin-top: 5px;
+ width: 38px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 filled green rectangles and <strong>no red</strong>.</p>
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div id="parent">
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-037.xht
new file mode 100644
index 0000000000..d0480970b2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-037.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a minimum value with a minus sign, -0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in centimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0cm;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-038.xht
new file mode 100644
index 0000000000..444ac121de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-038.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a minimum value with a plus sign, +0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in centimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0cm;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-039.xht
new file mode 100644
index 0000000000..dfb6976e15
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-039.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a nominal value, 2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in centimeters that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 2.54cm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-040.xht
new file mode 100644
index 0000000000..eca959c003
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-040.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using centimeters with a nominal value with a plus sign, +2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in centimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +2.54cm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-045.xht
new file mode 100644
index 0000000000..3d275c3e7e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-045.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a minimum minus one (negative) value, -1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht"/>
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in millimeters and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1mm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-046.xht
new file mode 100644
index 0000000000..d7b94572f3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-046.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a minimum value, 0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in millimeters that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0mm;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-047.xht
new file mode 100644
index 0000000000..64e1e20d09
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-047.xht
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a minimum plus one value, 1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in millimeters that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ width: 3px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ width: 4px;
+ }
+ .test1, .test2
+ {
+ border-left-style: solid;
+ border-left-width: 1mm;
+ width: 0;
+ }
+ .test1
+ {
+ border-left-color: green;
+ }
+ .test2
+ {
+ border-left-color: red;
+ }
+ #parent
+ {
+ background: red;
+ margin-top: 5px;
+ width: 4px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 green lines and there is <strong>no red</strong>.</p>
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div id="parent">
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-048.xht
new file mode 100644
index 0000000000..11072159e2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-048.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a minimum value with a minus sign, -0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in millimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0mm;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-049.xht
new file mode 100644
index 0000000000..5a46037691
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-049.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a minimum value with a plus sign, +0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in millimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0mm;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-050.xht
new file mode 100644
index 0000000000..954a0bbb16
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-050.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a nominal value, 25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in millimeters that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 25.4mm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-051.xht
new file mode 100644
index 0000000000..b5070f1e2d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-051.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using millimeters with a nominal value with a plus sign, +25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in millimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +25.4mm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-056.xht
new file mode 100644
index 0000000000..4df2073ff9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-056.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a minimum minus one (negative) value, -1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht"/>
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in inches and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-057.xht
new file mode 100644
index 0000000000..81086e6643
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-057.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a minimum value, 0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in inches that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0in;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-058.xht
new file mode 100644
index 0000000000..b93d04eda5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-058.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a minimum plus one value, 1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in inches that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 5px;
+ width: 1in;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-059.xht
new file mode 100644
index 0000000000..74ff92b521
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-059.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a minimum value with a minus sign, -0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in inches that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0in;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-060.xht
new file mode 100644
index 0000000000..84e7cd2844
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-060.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a minimum value with a plus sign, +0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in inches that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0in;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-061-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-061-ref.xht
new file mode 100644
index 0000000000..f43e24daae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-061-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ margin-bottom: 5px;
+ width: 480px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-061.xht
new file mode 100644
index 0000000000..f7cb8e67c1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-061.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a nominal value, 5in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in inches that sets the width of the left border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 5in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-062.xht
new file mode 100644
index 0000000000..3b0dbc89ee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-062.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using inches with a nominal value with a plus sign, +5in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in inches that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 5in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-067.xht
new file mode 100644
index 0000000000..255ab413ad
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a minimum minus one (negative) value, -1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht"/>
+ <meta name="flags" content="ahem invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in 'em' units and resets to the initial value." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-068.xht
new file mode 100644
index 0000000000..22f9ee0be0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-068.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a minimum value, 0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in 'em' units that sets the width of the left border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0em;
+ border-left-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-069-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-069-ref.xht
new file mode 100644
index 0000000000..27f3cab13d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-069-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ margin-bottom: 5px;
+ width: 20px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-069.xht
new file mode 100644
index 0000000000..f8c246e357
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a minimum plus one value, 1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-069-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in 'em' units that sets the width of the left border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 5px;
+ width: 1em;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-070.xht
new file mode 100644
index 0000000000..36db58e16e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-070.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a minimum value with a minus sign, -0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in 'em' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0em;
+ border-left-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-071.xht
new file mode 100644
index 0000000000..fe966d78e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-071.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a minimum value with a plus sign, +0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in 'em' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0em;
+ border-left-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-072-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-072-ref.xht
new file mode 100644
index 0000000000..e1ee692779
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-072-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ margin-bottom: 5px;
+ width: 120px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-072.xht
new file mode 100644
index 0000000000..a3371031c3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a nominal value, 6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in 'em' units that sets the width of the left border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 120px;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 6em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-073.xht
new file mode 100644
index 0000000000..9a68a67707
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'em' units with a nominal value with a plus sign, +6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in 'em' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 120px;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +6em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-078.xht
new file mode 100644
index 0000000000..4b79c7e7a3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a minimum minus one (negative) value, -1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="flags" content="ahem invalid" />
+ <meta name="assert" content="The 'border-left-width' property does not support a negative length value in 'ex' units and resets to the initial value." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ border-left-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: -1ex;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-079.xht
new file mode 100644
index 0000000000..edf723b3dd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-079.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a minimum value, 0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in 'ex' units that sets the width of the left border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0ex;
+ border-left-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-080.xht
new file mode 100644
index 0000000000..aa10ac99a4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a minimum plus one value, 1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-025-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in 'ex' units that sets the width of the left border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 5px;
+ width: 1ex;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1ex;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-081.xht
new file mode 100644
index 0000000000..227cc6ae50
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-081.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a minimum value with a minus sign, -0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in 'ex' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0ex;
+ border-left-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-082.xht
new file mode 100644
index 0000000000..142f3985d6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-082.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a minimum value with a plus sign, +0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value in 'ex' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0ex;
+ border-left-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-083.xht
new file mode 100644
index 0000000000..b11d82edc6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a nominal value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in 'ex' units that sets the width of the left border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 6ex;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-084.xht
new file mode 100644
index 0000000000..3572ede6f2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width using 'ex' units with a nominal value with a plus sign</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-left-width' property supports a nominal length value in 'ex' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: +6ex;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-089.xht
new file mode 100644
index 0000000000..47eca23a90
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-089.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to negative zero with no units, -0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value with no units that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: -0;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-090.xht
new file mode 100644
index 0000000000..092c9fd642
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-090.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to zero with no units, 0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value with no units." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 0;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-091.xht
new file mode 100644
index 0000000000..63a68eddd6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-091.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to positive zero with no units, +0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a minimum length value with no units that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: +0;
+ border-left-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-092.xht
new file mode 100644
index 0000000000..96fa1c3062
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-092.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to thin</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-left-width' property supports a value of thin." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: thin;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short thin vertical black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-093.xht
new file mode 100644
index 0000000000..120ab093fd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-093.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to medium</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-left-width' property supports a value of medium." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: medium;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is short vertical black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-094.xht
new file mode 100644
index 0000000000..ac95f4aa9b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-094.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to thick</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-left-width' property supports a value of thick." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: thick;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short thick vertical black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-095-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-095-ref.xht
new file mode 100644
index 0000000000..2a0b0d8986
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-095-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {padding-left: 116px;}
+
+ div
+ {
+ background-color: black;
+ height: 96px;
+ width: 96px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled black square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-095.xht
new file mode 100644
index 0000000000..b0b76a9448
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-095.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-095-ref.xht" />
+
+ <meta name="assert" content="The 'border-left-width' property supports a value of inherit and gets its computed value from its parent." />
+ <style type="text/css">
+ body
+ {
+ border-left-color: transparent;
+ border-left-style: solid;
+ border-left-width: 1in;
+ padding-left: 20px;
+ }
+ div
+ {
+ border-left-style: solid;
+ border-left-width: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-001.xht
new file mode 100644
index 0000000000..a9eed77a1b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-002.xht
new file mode 100644
index 0000000000..1a90331083
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-003.xht
new file mode 100644
index 0000000000..5a0734f370
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-004.xht
new file mode 100644
index 0000000000..3db9fe19c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-004.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-005.xht
new file mode 100644
index 0000000000..9e1d8a657c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-006.xht
new file mode 100644
index 0000000000..85c82d4b21
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-006.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-column;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-007.xht
new file mode 100644
index 0000000000..c7807dd5cd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-008.xht
new file mode 100644
index 0000000000..9667ac8f3c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-008.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black rectangle.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-009.xht
new file mode 100644
index 0000000000..556b17d7b3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-009.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: block;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-010.xht
new file mode 100644
index 0000000000..41433fcde2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-012.xht
new file mode 100644
index 0000000000..d8f0b3c6d8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: inline-block;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-013.xht
new file mode 100644
index 0000000000..a5bd8ee4cd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-014.xht
new file mode 100644
index 0000000000..81bd185283
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: inline-table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-015.xht
new file mode 100644
index 0000000000..fd2efbf501
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-left-width-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-left-width applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-left-width' properties applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-left-style: solid;
+ border-left-width: 1in;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-001-ref.xht
new file mode 100644
index 0000000000..712c66d6be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-001-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled black square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-001.xht
new file mode 100644
index 0000000000..cc44448eed
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-right-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the border-width for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: 1in;
+ border-right-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-002.xht
new file mode 100644
index 0000000000..951b734dc9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-002.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the border-style for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: dashed;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-003-ref.xht
new file mode 100644
index 0000000000..db754ffef4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-003-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 1in;
+ margin-left: 1in;
+ width: 5px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a short blue vertical line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-003.xht
new file mode 100644
index 0000000000..216ae69469
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-003.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-right-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the border-color for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: blue;
+ border-right-style: solid;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short blue vertical line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-004.xht
new file mode 100644
index 0000000000..80e55ea14c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-004.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the border-width and border-style for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: 5px dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-005-ref.xht
new file mode 100644
index 0000000000..86e105ff2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-005-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 1in;
+ margin-left: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled blue square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-005.xht
new file mode 100644
index 0000000000..3cd72033c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-right-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' shorthand property sets the 'border-width' and 'border-color' for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: 1in blue;
+ border-right-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-006.xht
new file mode 100644
index 0000000000..a2acf67a97
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-006.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-right-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' shorthand property sets the 'border-style' and 'border-width' for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: solid 1in;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-007.xht
new file mode 100644
index 0000000000..da8d47af0a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-007.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property sets the 'border-style' and 'border-color' for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: dashed blue;
+ border-right-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-008.xht
new file mode 100644
index 0000000000..2e0b0f2f68
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-008.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-right-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' shorthand property sets the 'border-color' and 'border-width' for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: blue 1in;
+ border-right-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-009.xht
new file mode 100644
index 0000000000..4fd101708c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-009.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property sets the 'border-color' and 'border-style' for the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right: blue dashed;
+ border-width: 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-010.xht
new file mode 100644
index 0000000000..d8d162fa4c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-010.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-width border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the 'border-width', 'border-style' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border-right: 5px dashed blue;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-011.xht
new file mode 100644
index 0000000000..5e174ff1c4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-011.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-width border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the 'border-width', 'border-color' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border-right: 5px blue dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-012.xht
new file mode 100644
index 0000000000..1b86942837
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-012.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-style border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the 'border-style', 'border-width' and 'border-color'." />
+ <style type="text/css">
+ div
+ {
+ border-right: dashed 5px blue;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-013.xht
new file mode 100644
index 0000000000..cf9543f3c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-013.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set with border-style border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the 'border-style', 'border-color' and 'border-width'." />
+ <style type="text/css">
+ div
+ {
+ border-right: dashed blue 5px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-014.xht
new file mode 100644
index 0000000000..8567b24d9d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-014.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-color border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the 'border-color', 'border-width' and 'border-style'." />
+ <style type="text/css">
+ div
+ {
+ border-right: blue 5px dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-015.xht
new file mode 100644
index 0000000000..87b5b75fd7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-015.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to border-color border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly sets the 'border-color', 'border-style' and 'border-width'." />
+ <style type="text/css">
+ div
+ {
+ border-right: blue 5px dashed;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-016.xht
new file mode 100644
index 0000000000..294d347f27
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-016.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to inherit, inheriting a single value for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-right: dashed;
+ width: 1in;
+ }
+ div div
+ {
+ border-right: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two dashed lines below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-017.xht
new file mode 100644
index 0000000000..dbba320093
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-017.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to inherit, inheriting two values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-right: dashed blue;
+ width: 1in;
+ }
+ div div
+ {
+ border-right: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two dashed blue lines below.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-018-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-018-ref.xht
new file mode 100644
index 0000000000..fb0c1f515d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-018-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {padding-left: 10px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there are 2 filled blue squares.</p>
+
+ <div><img src="support/blue15x15.png" width="96" height="96" alt="Image download support must be enabled" /><img src="support/blue15x15.png" width="96" height="96" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-018.xht
new file mode 100644
index 0000000000..1ceae246aa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-018.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right set to inherit, inheriting three values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-right-018-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-right: 1in solid blue;
+ width: 116px;
+ }
+ div div
+ {
+ border-right: inherit;
+ height: 1in;
+ margin: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 filled blue squares.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-001.xht
new file mode 100644
index 0000000000..82455ce951
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-002.xht
new file mode 100644
index 0000000000..639d01f6bc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-003.xht
new file mode 100644
index 0000000000..7886891484
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-004.xht
new file mode 100644
index 0000000000..59076ee9f6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-005.xht
new file mode 100644
index 0000000000..0d8a3176dd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-006.xht
new file mode 100644
index 0000000000..a20ceae4ff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-006.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test"></div><div class="column"></div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-007.xht
new file mode 100644
index 0000000000..312a6f0887
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-right: green solid 3px;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-008.xht
new file mode 100644
index 0000000000..978af3e49b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-right: solid green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-009.xht
new file mode 100644
index 0000000000..abdfa3c443
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-009.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-right: green solid 3px;
+ display: block;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-010.xht
new file mode 100644
index 0000000000..ac5c9f2535
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-right: solid green;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-012.xht
new file mode 100644
index 0000000000..744f1bcec3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-right: green solid 3px;
+ display: inline-block;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-013.xht
new file mode 100644
index 0000000000..a66c719b6b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-014.xht
new file mode 100644
index 0000000000..005999f892
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: inline-table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-015.xht
new file mode 100644
index 0000000000..a6125e916b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-right: green solid 3px;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-001-ref.xht
new file mode 100644
index 0000000000..5e969a7057
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-001-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-001.xht
new file mode 100644
index 0000000000..4087d1bc12
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with five digits which is invalid and is equivalent to minimum minus one value for six digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #00000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00000;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-002.xht
new file mode 100644
index 0000000000..38f25ddccd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with the minimum value, #000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #000000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #000000;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-003-ref.xht
new file mode 100644
index 0000000000..cd50ec9c95
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-003-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/010101_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-003.xht
new file mode 100644
index 0000000000..581a4850cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with the minimum plus one value, #010101</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #010101 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #010101;
+ }
+ #reference
+ {
+ background-color: #010101;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-004-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-004-ref.xht
new file mode 100644
index 0000000000..6658033e03
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-004-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/999_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-004.xht
new file mode 100644
index 0000000000..3fcc99af60
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a nominal value #999999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-004-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #999999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #999999;
+ }
+ #reference
+ {
+ background-color: #999999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-005-ref.xht
new file mode 100644
index 0000000000..271f025733
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-005-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {background-color: black;}
+
+ p {color: white;}
+
+ div
+ {
+ background: url("support/fefefe_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-005.xht
new file mode 100644
index 0000000000..c499b0c25b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with the maximum minus one value of #fefefe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #fefefe renders the correct color for the border." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #fefefe;
+ }
+ #reference
+ {
+ background-color: #fefefe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-006-ref.xht
new file mode 100644
index 0000000000..54a3f0780d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-006-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {background-color: black;}
+
+ p {color: white;}
+
+ div
+ {
+ background: url("support/fff_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-006.xht
new file mode 100644
index 0000000000..f201e2c0ef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with the maximum value of #ffffff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #ffffff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #ffffff;
+ }
+ #reference
+ {
+ background-color: #ffffff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-007-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-007-ref.xht
new file mode 100644
index 0000000000..33ec214d70
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-007-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ float: right;
+ height: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a box below.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-007.xht
new file mode 100644
index 0000000000..559bf165d3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-007.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with the maximum plus one value of #1000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #1000000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #1000000;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-008.xht
new file mode 100644
index 0000000000..46dcfc9b2c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-008.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with the maximum plus one value of #fgfgfg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #fgfgfg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #fgfgfg;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-009-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-009-ref.xht
new file mode 100644
index 0000000000..d29b3cff00
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-009-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/010000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-009.xht
new file mode 100644
index 0000000000..ce933a7422
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-009.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a red set to minimum plus one value, #010000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #010000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #010000;
+ }
+ #reference
+ {
+ background-color: #010000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-010-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-010-ref.xht
new file mode 100644
index 0000000000..1f4e1bb393
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-010-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: #990000;
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-010.xht
new file mode 100644
index 0000000000..157bb855ac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-010.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a red set to a nominal value, #990000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-01 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #990000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #990000;
+ }
+ #reference
+ {
+ background-color: #990000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-011-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-011-ref.xht
new file mode 100644
index 0000000000..caf4b75eec
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-011-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/fe0000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-011.xht
new file mode 100644
index 0000000000..41cdaef5d9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-011.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a red set to maximum minus one value, #fe0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #fe0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #fe0000;
+ }
+ #reference
+ {
+ background-color: #fe0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-012-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-012-ref.xht
new file mode 100644
index 0000000000..97e1d2d551
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-012-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/f00_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-012.xht
new file mode 100644
index 0000000000..d7ee72e969
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a red set to the maximum value, #ff0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #ff0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #ff0000;
+ }
+ #reference
+ {
+ background-color: #ff0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-013.xht
new file mode 100644
index 0000000000..3f1404de97
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-013.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a red set to the maximum plus one value, #fg0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #fg0000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #fg0000;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-014-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-014-ref.xht
new file mode 100644
index 0000000000..1d6efa8dba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-014-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000100_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-014.xht
new file mode 100644
index 0000000000..b301ae08dd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a green set to minimum plus one value, #000100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-014-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #000100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #000100;
+ }
+ #reference
+ {
+ background-color: #000100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-015-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-015-ref.xht
new file mode 100644
index 0000000000..ea5d366423
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-015-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/090_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-015.xht
new file mode 100644
index 0000000000..266bcf8a2c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a green set to a nominal value, #009900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-015-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #009900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #009900;
+ }
+ #reference
+ {
+ background-color: #009900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-016-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-016-ref.xht
new file mode 100644
index 0000000000..ce65cb7b2e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-016-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/00fe00_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-016.xht
new file mode 100644
index 0000000000..6285de0db2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-016.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a green set to maximum minus one value, #00fe00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #00fe00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00fe00;
+ }
+ #reference
+ {
+ background-color: #00fe00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-017-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-017-ref.xht
new file mode 100644
index 0000000000..5c86113e20
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-017-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/0f0_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-017.xht
new file mode 100644
index 0000000000..55685f8c4f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a green set to the maximum value, #00ff00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #00ff00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00ff00;
+ }
+ #reference
+ {
+ background-color: #00ff00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-018.xht
new file mode 100644
index 0000000000..24e9e462af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-018.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a green set to the maximum plus one value, #00fg00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #00fg00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00fg00;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-019-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-019-ref.xht
new file mode 100644
index 0000000000..2ed1d89d01
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-019-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000001_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-019.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-019.xht
new file mode 100644
index 0000000000..b775fd216c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-019.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a blue set to minimum plus one value, #000001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #000001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #000001;
+ }
+ #reference
+ {
+ background-color: #000001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-020-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-020-ref.xht
new file mode 100644
index 0000000000..3678117f24
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-020-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/009_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-020.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-020.xht
new file mode 100644
index 0000000000..b7cbe633ce
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-020.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a blue set to a nominal value, #000099</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #000099 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #000099;
+ }
+ #reference
+ {
+ background-color: #000099;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-021-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-021-ref.xht
new file mode 100644
index 0000000000..54e59ecce1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-021-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/0000fe_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-021.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-021.xht
new file mode 100644
index 0000000000..5b61cc5b1e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-021.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a blue set to maximum minus one value, #0000fe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #0000fe renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #0000fe;
+ }
+ #reference
+ {
+ background-color: #0000fe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-022-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-022-ref.xht
new file mode 100644
index 0000000000..5649a4692f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-022-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/00f_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-022.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-022.xht
new file mode 100644
index 0000000000..d6e81b59f3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-022.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a blue set to the maximum value, #0000ff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #0000ff renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #0000ff;
+ }
+ #reference
+ {
+ background-color: #0000ff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-023.xht
new file mode 100644
index 0000000000..f79b7c77b4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-023.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with six digits with a blue set to the maximum plus one value, #0000fg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #0000fg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #0000fg;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-024.xht
new file mode 100644
index 0000000000..00537c0214
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-024.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with 2 digits which is invalid and is equivalent to minimum minus one value for 3 digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-025.xht
new file mode 100644
index 0000000000..ff127fbf0c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with the minimum possible value #000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #000;
+ }
+ #reference
+ {
+ background-color: #000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-026-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-026-ref.xht
new file mode 100644
index 0000000000..b04781282e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-026-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/111_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-026.xht
new file mode 100644
index 0000000000..6b03c4fd4a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-026.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with the minimum plus one value, #111</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-026-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #111 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #111;
+ }
+ #reference
+ {
+ background-color: #111;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-027-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-027-ref.xht
new file mode 100644
index 0000000000..6658033e03
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-027-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/999_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-027.xht
new file mode 100644
index 0000000000..d50ad625c7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-027.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a nominal value #999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-027-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #999;
+ }
+ #reference
+ {
+ background-color: #999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-028-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-028-ref.xht
new file mode 100644
index 0000000000..e2f0624e0a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-028-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/eee_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-028.xht
new file mode 100644
index 0000000000..31fb4c0089
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with the maximum minus one value of #eee</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-028-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #eee renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #eee;
+ }
+ #reference
+ {
+ background-color: #eee;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-029.xht
new file mode 100644
index 0000000000..758e1c7451
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with the maximum value of #fff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #fff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #fff;
+ }
+ #reference
+ {
+ background-color: #fff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-030.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-030.xht
new file mode 100644
index 0000000000..bbfdc56965
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-030.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with the maximum plus one value of #1000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-transparent-or-black-square-black.xht"/>
+ <link rel="match" href="../reference/ref-transparent-or-black-square-transparent.xht"/>
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #1000 is a transparent dark red square." />
+ <style type="text/css">
+ div.test
+ {
+ border: 5px solid blue;
+ height: 1in;
+ width: 1in;
+ }
+ div.test div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #1000;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black or transparent square surrounded by a blue border.</p>
+ <div class="test"><div></div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-031.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-031.xht
new file mode 100644
index 0000000000..340c68d9eb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-031.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with the maximum plus one value of #ggg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #ggg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #ggg;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-032-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-032-ref.xht
new file mode 100644
index 0000000000..4de6e2612e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-032-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/100_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-032.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-032.xht
new file mode 100644
index 0000000000..4c36647aa8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-032.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a red set to minimum plus one value, #100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-032-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #100;
+ }
+ #reference
+ {
+ background-color: #100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-033.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-033.xht
new file mode 100644
index 0000000000..2ac7e710c9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-033.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a red set to a nominal value, #900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #900;
+ }
+ #reference
+ {
+ background-color: #900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-034-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-034-ref.xht
new file mode 100644
index 0000000000..b42d611a0c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-034-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/e00_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-034.xht
new file mode 100644
index 0000000000..dd7f9121ee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a red set to maximum minus one value, #e00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-034-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #e00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #e00;
+ }
+ #reference
+ {
+ background-color: #e00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-035.xht
new file mode 100644
index 0000000000..686141399e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-035.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a red set to the maximum value, #f00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #f00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #f00;
+ }
+ #reference
+ {
+ background-color: #f00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-036.xht
new file mode 100644
index 0000000000..bfb55ce7a8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-036.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a red set to the maximum plus one value, #g00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #g00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #g00;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-037-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-037-ref.xht
new file mode 100644
index 0000000000..c471d6e348
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-037-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/010_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-037.xht
new file mode 100644
index 0000000000..2213a09f70
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-037.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a green set to minimum plus one value, #010</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-037-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #010 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #010;
+ }
+ #reference
+ {
+ background-color: #010;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-038-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-038-ref.xht
new file mode 100644
index 0000000000..ea5d366423
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-038-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/090_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-038.xht
new file mode 100644
index 0000000000..55648d7029
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-038.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a green set to a nominal value, #090</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-038-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #090 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #090;
+ }
+ #reference
+ {
+ background-color: #090;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-039-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-039-ref.xht
new file mode 100644
index 0000000000..75d200c8f6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-039-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/0e0_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-039.xht
new file mode 100644
index 0000000000..45ca2a27e0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a green set to maximum minus one value, #0e0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-039-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #0e0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #0e0;
+ }
+ #reference
+ {
+ background-color: #0e0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-040.xht
new file mode 100644
index 0000000000..21c5dd266c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a green set to the maximum value, #0f0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #0f0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #0f0;
+ }
+ #reference
+ {
+ background-color: #0f0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-041.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-041.xht
new file mode 100644
index 0000000000..ecbb600097
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-041.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a green set to the maximum plus one value, #0g0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #0g0 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #0g0;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-042-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-042-ref.xht
new file mode 100644
index 0000000000..c62e0983af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-042-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/001_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-042.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-042.xht
new file mode 100644
index 0000000000..aa3e885201
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-042.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a blue set to minimum plus one value, #001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-042-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #001;
+ }
+ #reference
+ {
+ background-color: #001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-043.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-043.xht
new file mode 100644
index 0000000000..00bd2611d1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-043.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a blue set to a nominal value, #009</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #009 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #009;
+ }
+ #reference
+ {
+ background-color: #009;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-044-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-044-ref.xht
new file mode 100644
index 0000000000..935decca71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-044-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/00e_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-044.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-044.xht
new file mode 100644
index 0000000000..514c273339
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-044.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a blue set to maximum minus one value, #00e</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-044-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #00e renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00e;
+ }
+ #reference
+ {
+ background-color: #00e;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-045.xht
new file mode 100644
index 0000000000..05379e3420
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a blue set to the maximum value, #00f</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to #00f renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00f;
+ }
+ #reference
+ {
+ background-color: #00f;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-046.xht
new file mode 100644
index 0000000000..3ec588fcb2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-046.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to hex with three digits with a blue set to the maximum plus one value, #00g</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-007-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to #00g falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: #00g;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-047.xht
new file mode 100644
index 0000000000..7f68609fd0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-047.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with the minimum minus one value, rgb(-1%, -1%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(-1%, -1%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-1%, -1%, -1%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-048.xht
new file mode 100644
index 0000000000..dd67378791
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-048.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with the minimum value, rgb(0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-049-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-049-ref.xht
new file mode 100644
index 0000000000..a1e55f878d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-049-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(1%, 1%, 1%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-049.xht
new file mode 100644
index 0000000000..eb1b16792b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-049.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with the minimum plus one value, rgb(1%, 1%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-049-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(1%, 1%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(1%, 1%, 1%);
+ }
+ #reference
+ {
+ background-color: rgb(1%, 1%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-050.xht
new file mode 100644
index 0000000000..2eee1e154c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with the minimum value and minus sign, rgb(-0%, -0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(-0%, -0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-0%, -0%, -0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-051.xht
new file mode 100644
index 0000000000..cafa86efa1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with the minimum value and plus sign, rgb(+0%, +0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+0%, +0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+0%, +0%, +0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-052-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-052-ref.xht
new file mode 100644
index 0000000000..3eab45d6ef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-052-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-052.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-052.xht
new file mode 100644
index 0000000000..15aef97fe0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-052.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with a nominal value, rgb(40%, 40%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(40%, 40%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(40%, 40%, 40%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-053.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-053.xht
new file mode 100644
index 0000000000..63c0eabaf9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-053.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with a nominal value and a plus sign, rgb(+40%, +40%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(+40%, +40%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+40%, +40%, +40%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-054-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-054-ref.xht
new file mode 100644
index 0000000000..1a85285419
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-054-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(99%, 99%, 99%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-054.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-054.xht
new file mode 100644
index 0000000000..5c36d85947
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-054.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-054-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(99%, 99%, 99%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(99%, 99%, 99%);
+ }
+ #reference
+ {
+ background-color: rgb(99%, 99%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-055.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-055.xht
new file mode 100644
index 0000000000..43c9d48d46
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-055.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with a maximum value, rgb(100%, 100%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(100%, 100%, 100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(100%, 100%, 100%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-056.xht
new file mode 100644
index 0000000000..58fa4339fa
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+100%, +100%, +100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+100%, +100%, +100%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-057.xht
new file mode 100644
index 0000000000..beee6bf754
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-057.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(101%, 101%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(101%, 101%, 101%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-058.xht
new file mode 100644
index 0000000000..173c5b8913
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with the minimum minus one value, rgb(-1, -1, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(-1, -1, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-1, -1, -1);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-059.xht
new file mode 100644
index 0000000000..f1f7e081a4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-059.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with the minimum value, rgb(0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-060.xht
new file mode 100644
index 0000000000..fddadc9220
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-060.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with the minimum plus one value, rgb(1, 1, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(1, 1, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(1, 1, 1);
+ }
+ #reference
+ {
+ background-color: rgb(1, 1, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-061.xht
new file mode 100644
index 0000000000..8ebc0e8e44
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with the minimum value and minus sign, rgb(-0, -0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(-0, -0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-0, -0, -0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-062.xht
new file mode 100644
index 0000000000..619398223f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with the minimum value and plus sign, rgb(+0, +0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+0, +0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+0, +0, +0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-063-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-063-ref.xht
new file mode 100644
index 0000000000..31fcddc30b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-063-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/808080_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-063.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-063.xht
new file mode 100644
index 0000000000..c7579fe123
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-063.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with a nominal value, rgb(128, 128, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(128, 128, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(128, 128, 128);
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-064.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-064.xht
new file mode 100644
index 0000000000..aa60d72c5b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-064.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with a nominal value and a plus sign, rgb(+128, +128, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+128, +128, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+128, +128, +128);
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-065.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-065.xht
new file mode 100644
index 0000000000..b2d44c145e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-065.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with a maximum minus one value, rgb(254, 254, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(254, 254, 254) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(254, 254, 254);
+ }
+ #reference
+ {
+ background-color: rgb(254, 254, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-066.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-066.xht
new file mode 100644
index 0000000000..06b6154ddc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-066.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with a maximum value, rgb(255, 255, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(255, 255, 255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(255, 255, 255);
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-067.xht
new file mode 100644
index 0000000000..969de38ede
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with a maximum value and a plus sign, rgb(+255, +255, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+255, +255, +255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+255, +255, +255);
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-068.xht
new file mode 100644
index 0000000000..f5ba13465f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-068.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with a maximum plus one value, rgb(256, 256, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(256, 256, 256) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(256, 256, 256);
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-069.xht
new file mode 100644
index 0000000000..89755e42d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to the minimum minus one value, rgb(-1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(-1%, 0%, 0%) falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-1%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-070-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-070-ref.xht
new file mode 100644
index 0000000000..f0ed168b38
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-070-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(1%, 0%, 0%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-070.xht
new file mode 100644
index 0000000000..39fe330e99
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-070.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-070-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(1%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(1%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(1%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-071.xht
new file mode 100644
index 0000000000..de7c70a97a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-071.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to the minimum value and minus sign, rgb(-0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(-0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-0%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-072.xht
new file mode 100644
index 0000000000..2bad196d90
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to the minimum value and plus sign, rgb(+0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+0%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-073-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-073-ref.xht
new file mode 100644
index 0000000000..a851dd306f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-073-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-073.xht
new file mode 100644
index 0000000000..b8a8f62e06
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to a nominal value, rgb(40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(40%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-074.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-074.xht
new file mode 100644
index 0000000000..d541d7b1d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-074.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(+40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+40%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-075-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-075-ref.xht
new file mode 100644
index 0000000000..c0708eb0b3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-075-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(99%, 0%, 0%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-075.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-075.xht
new file mode 100644
index 0000000000..c6b160f512
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-075.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-075-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(99%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(99%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(99%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-076.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-076.xht
new file mode 100644
index 0000000000..5691834f89
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-076.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to a maximum value, rgb(100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(100%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-077.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-077.xht
new file mode 100644
index 0000000000..935012999b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-077.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to a maximum value with a plus sign, rgb(+100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+100%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-078.xht
new file mode 100644
index 0000000000..a5abe31cb9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with red set to a maximum plus one value, rgb(101%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(101%, 0%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(101%, 0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-079.xht
new file mode 100644
index 0000000000..c9056e5444
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-079.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to the minimum minus one value, rgb(-1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-1, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-080.xht
new file mode 100644
index 0000000000..2ea1e3f45d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to the minimum plus one value, rgb(1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(1, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(1, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(1, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-081.xht
new file mode 100644
index 0000000000..6ba4a3a56e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-081.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to the minimum value with a minus sign, rgb(-0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(-0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(-0, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-082.xht
new file mode 100644
index 0000000000..07a590b773
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-082.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to the minimum value with a plus sign, rgb(+0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+0, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-083-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-083-ref.xht
new file mode 100644
index 0000000000..fcb41f0865
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-083-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/800000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-083.xht
new file mode 100644
index 0000000000..0dcaad552b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to a nominal value, rgb(128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(128, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-084.xht
new file mode 100644
index 0000000000..cb7939c96f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to a nominal value with a plus sign, rgb(+128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+128, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-085.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-085.xht
new file mode 100644
index 0000000000..2bda8e50a3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-085.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to a maximum minus one value, rgb(254, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(254, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(254, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(254, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-086.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-086.xht
new file mode 100644
index 0000000000..fc63b36825
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-086.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to a maximum value, rgb(255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(255, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-087.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-087.xht
new file mode 100644
index 0000000000..0ae0d20abb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-087.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to a maximum value with a plus sign, rgb(+255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(+255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(+255, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-088.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-088.xht
new file mode 100644
index 0000000000..a8f994420a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-088.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with red set to a maximum plus one value, rgb(256, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(256, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(256, 0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-089.xht
new file mode 100644
index 0000000000..80fa71740d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-089.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to the minimum minus one value, rgb(0%, -1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, -1%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, -1%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-090-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-090-ref.xht
new file mode 100644
index 0000000000..07a74483a1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-090-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 1%, 0%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-090.xht
new file mode 100644
index 0000000000..7becc80679
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-090.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-090-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 1%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 1%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 1%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-091.xht
new file mode 100644
index 0000000000..5a9cf2db4c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-091.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to the minimum value and minus sign, rgb(0%, -0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, -0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, -0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-092.xht
new file mode 100644
index 0000000000..f58c03894f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-092.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to the minimum value and plus sign, rgb(0%, +0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, +0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, +0%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-093-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-093-ref.xht
new file mode 100644
index 0000000000..8a38a2b9e2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-093-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-093.xht
new file mode 100644
index 0000000000..f1e213819d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-093.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to a nominal value, rgb(0%, 40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 40%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-094.xht
new file mode 100644
index 0000000000..ecdc6185e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-094.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, +40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, +40%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-095-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-095-ref.xht
new file mode 100644
index 0000000000..89fbb1ece7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-095-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 99%, 0%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-095.xht
new file mode 100644
index 0000000000..9ea964ea20
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-095.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-095-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 99%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 99%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 99%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-096.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-096.xht
new file mode 100644
index 0000000000..f4eddd2d7d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-096.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to a maximum value, rgb(0%, 100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 100%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-097.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-097.xht
new file mode 100644
index 0000000000..6a2cc7ceb9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-097.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to a maximum value with a plus sign, rgb(0%, +100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, +100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, +100%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-098.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-098.xht
new file mode 100644
index 0000000000..d1337caf27
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-098.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with green set to a maximum plus one value, rgb(0%, 101%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 101%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 101%, 0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-099.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-099.xht
new file mode 100644
index 0000000000..dc4f07102c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-099.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to the minimum minus one value, rgb(0, -1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, -1, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-100-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-100-ref.xht
new file mode 100644
index 0000000000..af48ac1dc0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-100-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: rgb(0, 1, 0);
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-100.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-100.xht
new file mode 100644
index 0000000000..21df7be61b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-100.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to the minimum plus one value, rgb(0, 1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-02 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-100-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 1, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 1, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 1, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-101.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-101.xht
new file mode 100644
index 0000000000..c16287a2e9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-101.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to the minimum value with a minus sign, rgb(0, -0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, -0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, -0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-102.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-102.xht
new file mode 100644
index 0000000000..431ce5f3d2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-102.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to the minimum value with a plus sign, rgb(0, +0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, +0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, +0, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-103-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-103-ref.xht
new file mode 100644
index 0000000000..94d16c8f06
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-103-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/008000_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-103.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-103.xht
new file mode 100644
index 0000000000..ef6d2e70d5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-103.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to a nominal value, rgb(0, 128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 128, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-104.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-104.xht
new file mode 100644
index 0000000000..84c1157c68
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-104.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to a nominal value with a plus sign, rgb(0, +128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, +128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, +128, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-105.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-105.xht
new file mode 100644
index 0000000000..d8bf01aab2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-105.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to a maximum minus one value, rgb(0, 254, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 254, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 254, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 254, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-106.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-106.xht
new file mode 100644
index 0000000000..b521a12c53
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-106.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to a maximum value, rgb(0, 255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 255, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-107.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-107.xht
new file mode 100644
index 0000000000..c57d3e9a4a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-107.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to a maximum value with a plus sign, rgb(0, +255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, +255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, +255, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-108.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-108.xht
new file mode 100644
index 0000000000..1deacdee72
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-108.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with green set to a maximum plus one value, rgb(0, 256 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 256, 0) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 256, 0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-109.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-109.xht
new file mode 100644
index 0000000000..9cb68f1118
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-109.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to the minimum minus one value, rgb(0%, 0%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, -1%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-110-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-110-ref.xht
new file mode 100644
index 0000000000..7c5049a194
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-110-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 0%, 1%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-110.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-110.xht
new file mode 100644
index 0000000000..0c967489b3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-110.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-110-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, 1%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-111.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-111.xht
new file mode 100644
index 0000000000..b92381fa3c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-111.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to the minimum value and minus sign, rgb(0%, 0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, -0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-112.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-112.xht
new file mode 100644
index 0000000000..cc2c354ac4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-112.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to the minimum value and plus sign, rgb(0%, 0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, +0%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-113-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-113-ref.xht
new file mode 100644
index 0000000000..4579ac40b2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-113-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-113.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-113.xht
new file mode 100644
index 0000000000..2162aae1ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-113.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, 40%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-114.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-114.xht
new file mode 100644
index 0000000000..bbccbfc41a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-114.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, +40%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-115-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-115-ref.xht
new file mode 100644
index 0000000000..e573484d0c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-115-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ background-color: rgb(0%, 0%, 99%);
+ margin-top: 10px;
+ }
+ #upper-square
+ {
+ margin-left: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="upper-square"></div>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-115.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-115.xht
new file mode 100644
index 0000000000..7eae3cef73
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-115.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-115-ref.xht"/>
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, 99%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, 99%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-116.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-116.xht
new file mode 100644
index 0000000000..377ba1a275
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-116.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, 100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, 100%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-117.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-117.xht
new file mode 100644
index 0000000000..72936fc997
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-117.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to a maximum value with a plus sign, rgb(0%, 0%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, +100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, +100%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-118.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-118.xht
new file mode 100644
index 0000000000..5f478019bb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-118.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using percentages with blue set to a maximum plus one value, rgb(0%, 0%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0%, 0%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0%, 0%, 101%);
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-119.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-119.xht
new file mode 100644
index 0000000000..15a6c38356
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-119.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to the minimum minus one value, rgb(0, 0, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, -1);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-120.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-120.xht
new file mode 100644
index 0000000000..b931421c41
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-120.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to the minimum plus one value, rgb(0, 0, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, 1);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-121.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-121.xht
new file mode 100644
index 0000000000..9d6a049093
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-121.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to the minimum value with a minus sign, rgb(0, 0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, -0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-122.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-122.xht
new file mode 100644
index 0000000000..d7ed39a397
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-122.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to the minimum value with a plus sign, rgb(0, 0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, +0);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-123-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-123-ref.xht
new file mode 100644
index 0000000000..b8637fa28e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-123-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/>
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/000080_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-123.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-123.xht
new file mode 100644
index 0000000000..01d93e04de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-123.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to a nominal value, rgb(0, 0, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, 128);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-124.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-124.xht
new file mode 100644
index 0000000000..52641446cd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-124.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to a nominal value with a plus sign, rgb(0, 0, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, +128);
+ width: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-125.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-125.xht
new file mode 100644
index 0000000000..79f3d8db25
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-125.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to a maximum minus one value, rgb(0, 0, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, 254) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, 254);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-126.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-126.xht
new file mode 100644
index 0000000000..e5ad494f9e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-126.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to a maximum value, rgb(0, 0, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, 255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, 255);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-127.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-127.xht
new file mode 100644
index 0000000000..c8a281242c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-127.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to a maximum value with a plus sign, rgb(0, 0, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, +255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, +255);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-128.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-128.xht
new file mode 100644
index 0000000000..88f4a4eaa2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-128.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to rgb() using integers with blue set to a maximum plus one value, rgb(0, 0, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-color' set to rgb(0, 0, 256) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: rgb(0, 0, 256);
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-129-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-129-ref.xht
new file mode 100644
index 0000000000..9bce8d0dcb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-129-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/aqua_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-129.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-129.xht
new file mode 100644
index 0000000000..814bf8a432
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-129.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to aqua</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-129-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to aqua causes the border-right-color of the box to be aqua." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: aqua;
+ }
+ #reference
+ {
+ background-color: aqua;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-130.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-130.xht
new file mode 100644
index 0000000000..b36a02df10
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-130.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to black</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to black causes the border-right-color of the box to be black." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: black;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-131-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-131-ref.xht
new file mode 100644
index 0000000000..28f861bbf6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-131-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/blue15x15.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-131.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-131.xht
new file mode 100644
index 0000000000..6a78aa45ab
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-131.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to blue</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-131-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to blue causes the border-right-color of the box to be blue." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: blue;
+ }
+ #reference
+ {
+ background-color: blue;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-132-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-132-ref.xht
new file mode 100644
index 0000000000..44f62e9915
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-132-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/fuchsia_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-132.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-132.xht
new file mode 100644
index 0000000000..0338b8fdbe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-132.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to fuchsia</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-132-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to fuchsia causes the border-right-color of the box to be fuchsia." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: fuchsia;
+ }
+ #reference
+ {
+ background-color: fuchsia;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-133-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-133-ref.xht
new file mode 100644
index 0000000000..f8ff0058e4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-133-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/808080_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-133.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-133.xht
new file mode 100644
index 0000000000..c9fa8d20c7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-133.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to gray</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-133-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to gray causes the border-right-color of the box to be gray." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: gray;
+ }
+ #reference
+ {
+ background-color: gray;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-134-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-134-ref.xht
new file mode 100644
index 0000000000..3b3157912f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-134-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/1x1-green.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-134.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-134.xht
new file mode 100644
index 0000000000..06cf78a6c7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-134.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to green</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-134-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to green causes the background of the box to be green." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: green;
+ }
+ #reference
+ {
+ background-color: green;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-135-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-135-ref.xht
new file mode 100644
index 0000000000..d2ccb1bf2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-135-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/1x1-lime.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-135.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-135.xht
new file mode 100644
index 0000000000..3384ba8216
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-135.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to lime</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-135-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to lime causes the border-right-color of the box to be lime." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: lime;
+ }
+ #reference
+ {
+ background-color: lime;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-136-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-136-ref.xht
new file mode 100644
index 0000000000..ad88d9b088
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-136-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/maroon_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-136.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-136.xht
new file mode 100644
index 0000000000..181d76b3ee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-136.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to maroon</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-136-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to maroon causes the border-right-color of the box to be maroon." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: maroon;
+ }
+ #reference
+ {
+ background-color: maroon;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-137-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-137-ref.xht
new file mode 100644
index 0000000000..861a21b121
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-137-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/1x1-navy.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-137.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-137.xht
new file mode 100644
index 0000000000..c5b67ca891
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-137.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to navy</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-137-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to navy causes the border-right-color of the box to be navy." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: navy;
+ }
+ #reference
+ {
+ background-color: navy;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-138-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-138-ref.xht
new file mode 100644
index 0000000000..d51452ccc9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-138-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/olive_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-138.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-138.xht
new file mode 100644
index 0000000000..9805de2b19
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-138.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to olive</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-138-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to olive causes the border-right-color of the box to be olive." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: olive;
+ }
+ #reference
+ {
+ background-color: olive;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-139-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-139-ref.xht
new file mode 100644
index 0000000000..d11d7998d0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-139-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/swatch-orange.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-139.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-139.xht
new file mode 100644
index 0000000000..5c41321307
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-139.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to orange</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-139-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to orange causes the border-right-color of the box to be orange." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: orange;
+ }
+ #reference
+ {
+ background-color: orange;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-140-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-140-ref.xht
new file mode 100644
index 0000000000..69f95adc7c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-140-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/purple_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-140.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-140.xht
new file mode 100644
index 0000000000..9b3af4f86c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-140.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to purple</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-140-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to purple causes the border-right-color of the box to be purple." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: purple;
+ }
+ #reference
+ {
+ background-color: purple;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-141-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-141-ref.xht
new file mode 100644
index 0000000000..8fa051bf2f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-141-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/swatch-red.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-141.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-141.xht
new file mode 100644
index 0000000000..3d04bb8263
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-141.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to red</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-141-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to red causes the border-right-color of the box to be red." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: red;
+ }
+ #reference
+ {
+ background-color: red;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-142-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-142-ref.xht
new file mode 100644
index 0000000000..82ae509f82
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-142-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/silver_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-142.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-142.xht
new file mode 100644
index 0000000000..013d4c42fc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-142.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to silver</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-142-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to silver causes the border-right-color of the box to be silver." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: silver;
+ }
+ #reference
+ {
+ background-color: silver;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-143-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-143-ref.xht
new file mode 100644
index 0000000000..b5927d37c2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-143-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/teal_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-143.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-143.xht
new file mode 100644
index 0000000000..1f5f9caf78
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-143.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to teal</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-143-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to teal causes the border-right-color of the box to be teal." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: teal;
+ }
+ #reference
+ {
+ background-color: teal;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-144-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-144-ref.xht
new file mode 100644
index 0000000000..da46e0dd1c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-144-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {background-color: black;}
+
+ p {color: white;}
+
+ div
+ {
+ background: url("support/swatch-white.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-144.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-144.xht
new file mode 100644
index 0000000000..0ed286552e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-144.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to white</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-144-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to white causes the border-right-color of the box to be white." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: white;
+ }
+ #reference
+ {
+ background-color: white;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-145-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-145-ref.xht
new file mode 100644
index 0000000000..5c93a0cee7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-145-ref.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background: url("support/yellow_color.png");
+ height: 1in;
+ margin-top: 10px;
+ width: 1in;
+ }
+
+ div#top {margin-left: 1in;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the boxes below are the same color.</p>
+
+ <div id="top"></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-145.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-145.xht
new file mode 100644
index 0000000000..436fa7dde0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-145.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to yellow</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-145-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to yellow causes the border-right-color of the box to be yellow." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: yellow;
+ }
+ #reference
+ {
+ background-color: yellow;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-174.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-174.xht
new file mode 100644
index 0000000000..0e3bdb2e93
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-174.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to transparent</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-color-174-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to transparent properly renders a border with no visible color." />
+ <style type="text/css">
+ #wrapper
+ {
+ background-color: green;
+ height: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: red;
+ border-right-color: transparent;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide filled green rectangle and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-175-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-175-ref.xht
new file mode 100644
index 0000000000..ed715694de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-175-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+
+ <div><img src="support/1x1-green.png" width="96" height="96" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-175.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-175.xht
new file mode 100644
index 0000000000..af3b77c473
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-175.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-03 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-right-color-175-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' set to inherit causes the 'border-right-color' of the element to be the same as the 'border-right-color' designated on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-right-color: green;
+ }
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ border-right-color: red;
+ border-right-color: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-001.xht
new file mode 100644
index 0000000000..0584bb0715
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-001.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-002.xht
new file mode 100644
index 0000000000..64b721a9e1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-002.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-003.xht
new file mode 100644
index 0000000000..2b974c1cc4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-003.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-004.xht
new file mode 100644
index 0000000000..8b38a92c1c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-005.xht
new file mode 100644
index 0000000000..5f25b89ea7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-006.xht
new file mode 100644
index 0000000000..df10cf2033
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="table">
+
+ <div id="test"></div><div class="column"></div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-007.xht
new file mode 100644
index 0000000000..c598af5e6a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-008.xht
new file mode 100644
index 0000000000..58a6f92016
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-008.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-left-width: 3px;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-009.xht
new file mode 100644
index 0000000000..8eed2a4054
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-009.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: block;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-010.xht
new file mode 100644
index 0000000000..a16b1c98e5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-010.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-012.xht
new file mode 100644
index 0000000000..e0698afcee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: inline-block;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-013.xht
new file mode 100644
index 0000000000..f04440cc1e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-014.xht
new file mode 100644
index 0000000000..01e665ec40
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: inline-table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-015.xht
new file mode 100644
index 0000000000..a07ef69ce5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-color-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-color applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-left-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-color' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-color: green;
+ border-right-width: 3px;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-001.xht
new file mode 100644
index 0000000000..0388526014
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'none'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-right-style' property set to 'none' does not render any border for an element." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: none;
+ border-right-width: 3px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-002.xht
new file mode 100644
index 0000000000..5e4e179935
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-002.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'hidden'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-right-style' property set to 'hidden' computes to 'none' and does not render any border for non-table elements." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-style: hidden;
+ border-right-width: 3px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-003.xht
new file mode 100644
index 0000000000..081c4d71c7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-003.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'dotted'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'dotted' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: dotted;
+ border-right-width: 10px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-004.xht
new file mode 100644
index 0000000000..bd68af4681
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-004.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'dashed'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'dashed' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: dashed;
+ border-right-width: 3px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-005-ref.xht
new file mode 100644
index 0000000000..28baad08e2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 96px;
+ left: 96px;
+ position: relative;
+ width: 3px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a short vertical black line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-005.xht
new file mode 100644
index 0000000000..4f782cb285
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'solid'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-right-style-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-style' set to 'solid' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 3px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-006.xht
new file mode 100644
index 0000000000..bd384c614f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-006.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'double'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'double' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: double;
+ border-right-width: 9px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a double line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-007.xht
new file mode 100644
index 0000000000..e4905138d0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-007.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'groove'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'groove' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: groove;
+ border-right-color: green;
+ border-right-width: 12px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-008.xht
new file mode 100644
index 0000000000..09de9987d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-008.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'ridge'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'ridge' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: ridge;
+ border-right-color: green;
+ border-right-width: 12px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-009.xht
new file mode 100644
index 0000000000..77243054d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-009.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'inset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'inset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: inset;
+ border-right-color: green;
+ border-right-width: 12px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-010.xht
new file mode 100644
index 0000000000..ae5c271690
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'outset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' set to 'outset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: outset;
+ border-right-color: green;
+ border-right-width: 12px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-011.xht
new file mode 100644
index 0000000000..14f3fd28fc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-011.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style set to 'inherit'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property set to 'inherit' properly applies the value from the parent's 'border-right-style' property value." />
+ <style type="text/css">
+ body
+ {
+ border-right-style: dotted;
+ border-right-width: 0;
+ }
+ div
+ {
+ border-right-style: inherit;
+ border-right-color: green;
+ border-right-width: 10px;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-001.xht
new file mode 100644
index 0000000000..fbd87d96b9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-002.xht
new file mode 100644
index 0000000000..b54d828917
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-003.xht
new file mode 100644
index 0000000000..f4950aed45
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-004.xht
new file mode 100644
index 0000000000..d1e97e296d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-005.xht
new file mode 100644
index 0000000000..860a837a8c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-005.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-006.xht
new file mode 100644
index 0000000000..29cd8737b6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-006.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-007.xht
new file mode 100644
index 0000000000..29a71ce241
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-007.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-right-style: dashed;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-008.xht
new file mode 100644
index 0000000000..41ce5892e3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: dashed;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-009.xht
new file mode 100644
index 0000000000..797093c919
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-009.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-right-style: dashed;
+ display: block;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-010.xht
new file mode 100644
index 0000000000..b05b6c1486
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: dashed;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-012.xht
new file mode 100644
index 0000000000..86cc23bd63
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-012.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: dashed;
+ display: inline-block;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-013.xht
new file mode 100644
index 0000000000..1cad6673e4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-013.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-right-style: dashed;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-014.xht
new file mode 100644
index 0000000000..2b1f5b0659
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-014.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-right-style: dashed;
+ display: inline-table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-015.xht
new file mode 100644
index 0000000000..6c36f8b985
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-style-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-style applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-right-style' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: dashed;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical dashed line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-001.xht
new file mode 100644
index 0000000000..3469082442
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a minimum minus one (negative) value, -1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in pixels and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-002.xht
new file mode 100644
index 0000000000..a24ec76dc1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-002.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a minimum value, 0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in pixels that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0px;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-003.xht
new file mode 100644
index 0000000000..d3f4ade0fe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a minimum plus one value, 1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in pixels that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1px;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-004.xht
new file mode 100644
index 0000000000..d32791c783
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-004.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a minimum value with a minus sign, -0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in pixels that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0px;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-005.xht
new file mode 100644
index 0000000000..11e926fa45
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a minimum value with a plus sign, +0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in pixels that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0px;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-006.xht
new file mode 100644
index 0000000000..63d4a83194
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a nominal value, 96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in pixels that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 96px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-007.xht
new file mode 100644
index 0000000000..7f82ddd89f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using pixels with a nominal value with a plus sign, +96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in pixels that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +96px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-012.xht
new file mode 100644
index 0000000000..342203f15a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using points with a minimum minus one (negative) value, -1pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in points and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1pt;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-013.xht
new file mode 100644
index 0000000000..a52fc42080
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-013.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using points with a minimum value, 0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in points that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0pt;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-015.xht
new file mode 100644
index 0000000000..f2198816df
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-015.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using points with a minimum value with a minus sign, -0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in points that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0pt;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-016.xht
new file mode 100644
index 0000000000..72661c44e9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-016.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using points with a minimum value with a plus sign, +0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in points that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0pt;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-017.xht
new file mode 100644
index 0000000000..c9c1489daf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using points with a nominal value, 72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in points that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 72pt;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-018.xht
new file mode 100644
index 0000000000..94dc1cbc53
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-018.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using points with a nominal value with a plus sign, +72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in points that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +72pt;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-023.xht
new file mode 100644
index 0000000000..a6de68bb42
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-023.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a minimum minus one (negative) value, -1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in picas and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1pc;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-024.xht
new file mode 100644
index 0000000000..9fd2cdeece
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-024.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a minimum value, 0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in picas that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0pc;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-025.xht
new file mode 100644
index 0000000000..0569268073
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a minimum plus one value, 1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-30 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-025-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in picas that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1pc;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1pc;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-026.xht
new file mode 100644
index 0000000000..08ba61e17b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-026.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a minimum value with a minus sign, -0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in picas that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0pc;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-027.xht
new file mode 100644
index 0000000000..0cc454778e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-027.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a minimum value with a plus sign, +0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in picas that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0pc;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-028.xht
new file mode 100644
index 0000000000..4e0e18a6d3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a nominal value, 6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in picas that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 6pc;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-029.xht
new file mode 100644
index 0000000000..48e5fdd711
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using picas with a nominal value with a plus sign, +6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in picas that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +6pc;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-034.xht
new file mode 100644
index 0000000000..4f9e87195d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a minimum minus one (negative) value, -1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in centimeters and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1cm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-035.xht
new file mode 100644
index 0000000000..36343f9a9d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-035.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a minimum value, 0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in centimeters that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0cm;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-036.xht
new file mode 100644
index 0000000000..caa3572303
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-036.xht
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a minimum plus one value, 1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in centimeters that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ width: 37px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ width: 38px;
+ }
+ .test1, .test2
+ {
+ border-right-style: solid;
+ border-right-width: 1cm;
+ width: 0;
+ }
+ .test1
+ {
+ border-right-color: green;
+ }
+ .test2
+ {
+ border-right-color: red;
+ }
+ #parent
+ {
+ background: red;
+ margin-top: 5px;
+ width: 38px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 filled green rectangles and <strong>no red</strong>.</p>
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div id="parent">
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-037.xht
new file mode 100644
index 0000000000..8979789c64
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-037.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a minimum value with a minus sign, -0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in centimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0cm;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-038.xht
new file mode 100644
index 0000000000..9fb2c8eaad
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-038.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a minimum value with a plus sign, +0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in centimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0cm;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-039.xht
new file mode 100644
index 0000000000..6645aa1491
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a nominal value, 2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in centimeters that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 2.54cm;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-040.xht
new file mode 100644
index 0000000000..c7ee6a0c62
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using centimeters with a nominal value with a plus sign, +2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in centimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +2.54cm;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-045.xht
new file mode 100644
index 0000000000..0e8449e97a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a minimum minus one (negative) value, -1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in millimeters and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1mm;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-046.xht
new file mode 100644
index 0000000000..9c25604390
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-046.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a minimum value, 0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in millimeters that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0mm;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-047.xht
new file mode 100644
index 0000000000..a45ec5946c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-047.xht
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a minimum plus one value, 1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in millimeters that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ width: 3px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ width: 4px;
+ }
+ .test1, .test2
+ {
+ border-right-style: solid;
+ border-right-width: 1mm;
+ width: 0;
+ }
+ .test1
+ {
+ border-right-color: green;
+ }
+ .test2
+ {
+ border-right-color: red;
+ }
+ #parent
+ {
+ background: red;
+ margin-top: 5px;
+ width: 4px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 green lines and there is <strong>no red</strong>.</p>
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div id="parent">
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-048.xht
new file mode 100644
index 0000000000..928bfa227d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-048.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a minimum value with a minus sign, -0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in millimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0mm;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-049.xht
new file mode 100644
index 0000000000..1087e7fb68
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-049.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a minimum value with a plus sign, +0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in millimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0mm;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-050.xht
new file mode 100644
index 0000000000..e425ddb23d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a nominal value, 25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in millimeters that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 25.4mm;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-051.xht
new file mode 100644
index 0000000000..90c8b92dd3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using millimeters with a nominal value with a plus sign, +25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in millimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +25.4mm;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-056.xht
new file mode 100644
index 0000000000..22821be3ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a minimum minus one (negative) value, -1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in inches and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-057.xht
new file mode 100644
index 0000000000..d9caf7146b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-057.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a minimum value, 0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in inches that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0in;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-058.xht
new file mode 100644
index 0000000000..a733e72b11
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a minimum plus one value, 1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in inches that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 5px;
+ width: 1in;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-059.xht
new file mode 100644
index 0000000000..66e329d128
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-059.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a minimum value with a minus sign, -0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in inches that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0in;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-060.xht
new file mode 100644
index 0000000000..843d235722
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-060.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a minimum value with a plus sign, +0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in inches that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0in;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-061.xht
new file mode 100644
index 0000000000..f2f0aa82be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a nominal value, 5in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in inches that sets the width of the right border." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 5in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 5in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-062.xht
new file mode 100644
index 0000000000..e86776eda2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using inches with a nominal value with a plus sign, +5in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in inches that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 5in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +5in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-067.xht
new file mode 100644
index 0000000000..ad524209b3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a minimum minus one (negative) value, -1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="ahem invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in 'em' units and resets to the initial value." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ font: 20px/1 Ahem;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-068.xht
new file mode 100644
index 0000000000..03d164cb34
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-068.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a minimum value, 0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in 'em' units that sets the width of the right border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0em;
+ border-right-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-069.xht
new file mode 100644
index 0000000000..9b9dc1ec71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a minimum plus one value, 1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-069-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in 'em' units that sets the width of the right border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 5px;
+ width: 1em;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1em;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-070.xht
new file mode 100644
index 0000000000..8877c5de1f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-070.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a minimum value with a minus sign, -0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in 'em' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0em;
+ border-right-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-071.xht
new file mode 100644
index 0000000000..df5c2861d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-071.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a minimum value with a plus sign, +0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in 'em' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0em;
+ border-right-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-072.xht
new file mode 100644
index 0000000000..9b9affd6b1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a nominal value, 6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in 'em' units that sets the width of the right border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 120px;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 6em;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-073.xht
new file mode 100644
index 0000000000..df2a2617b9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'em' units with a nominal value with a plus sign, +6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in 'em' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 120px;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +6em;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-078.xht
new file mode 100644
index 0000000000..92c9fbdeea
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a minimum minus one (negative) value, -1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-001-ref.xht" />
+
+ <meta name="flags" content="ahem invalid" />
+ <meta name="assert" content="The 'border-right-width' property does not support a negative length value in 'ex' units and resets to the initial value." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ font: 20px/1 Ahem;
+ height: 1in;
+ width: 0;
+ }
+ #reference
+ {
+ border-right-width: medium;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: -1ex;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-079.xht
new file mode 100644
index 0000000000..c83bca26b9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-079.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a minimum value, 0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in 'ex' units that sets the width of the right border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0ex;
+ border-right-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-080.xht
new file mode 100644
index 0000000000..79a2ad8354
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a minimum plus one value, 1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-025-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum plus one length value in 'ex' units that sets the width of the right border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 5px;
+ width: 1ex;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1ex;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 vertical black bars have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-081.xht
new file mode 100644
index 0000000000..00e92b41fb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-081.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a minimum value with a minus sign, -0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in 'ex' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0ex;
+ border-right-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-082.xht
new file mode 100644
index 0000000000..40fea86ff3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-082.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a minimum value with a plus sign, +0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value in 'ex' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0ex;
+ border-right-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-083.xht
new file mode 100644
index 0000000000..8b23ae9add
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a nominal value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in 'ex' units that sets the width of the right border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 6ex;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-084.xht
new file mode 100644
index 0000000000..c5000a1d6e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width using 'ex' units with a nominal value with a plus sign</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-right-width' property supports a nominal length value in 'ex' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px Ahem;
+ height: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ width: 1in;
+ margin-top: 5px;
+ }
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: +6ex;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-089.xht
new file mode 100644
index 0000000000..9010def205
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-089.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to negative zero with no units, -0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value with no units that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: -0;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-090.xht
new file mode 100644
index 0000000000..24381d003b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-090.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to zero with no units, 0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value with no units." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 0;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-091.xht
new file mode 100644
index 0000000000..7afff86301
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-091.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to positive zero with no units, +0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a minimum length value with no units that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: +0;
+ border-right-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-092.xht
new file mode 100644
index 0000000000..780164eae6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-092.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to thin</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property supports a value of thin." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: thin;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short and thin vertical line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-093.xht
new file mode 100644
index 0000000000..c4746aa281
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-093.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to medium</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property supports a value of medium." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: medium;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-094.xht
new file mode 100644
index 0000000000..c6c98a7ccf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-094.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to thick</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property supports a value of thick." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: thick;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short vertical line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-095-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-095-ref.xht
new file mode 100644
index 0000000000..eab676ac93
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-095-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div#rectangle
+ {
+ height: 132px;
+ /*
+ 16px : p's margin-top
+ +
+ 20px : p's line box height
+ +
+ 96px : square's height
+ ========
+ 132px
+ */
+ margin-left: 20px;
+ }
+
+ p
+ {
+ font: 1em/1.25 serif;
+ margin: 1em 0;
+ }
+
+ div
+ {
+ background-color: black;
+ float: right;
+ height: 96px;
+ width: 96px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <div id="rectangle"></div>
+
+ <p>Test passes if there is a black square next to a black rectangle.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-095.xht
new file mode 100644
index 0000000000..04e6ea9547
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-095.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-right-width-095-ref.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property supports a value of inherit and gets its computed value from its parent." />
+ <style type="text/css">
+ body
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ font: 1em/1.25 serif;
+ padding-right: 20px;
+ }
+
+ p
+ {
+ font: 1em/1.25 serif;
+ margin: 1em 0;
+ }
+
+ div
+ {
+ border-right-style: solid;
+ border-right-width: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a black square next to a black rectangle.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-001.xht
new file mode 100644
index 0000000000..d3cda4a814
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-002.xht
new file mode 100644
index 0000000000..9d52ee5c5f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-003.xht
new file mode 100644
index 0000000000..c03d2e5fd8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-004.xht
new file mode 100644
index 0000000000..4b5812a8ef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-004.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-005.xht
new file mode 100644
index 0000000000..6ba84ffde5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-006.xht
new file mode 100644
index 0000000000..cc0b59fca7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-006.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-column;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-007.xht
new file mode 100644
index 0000000000..c5934be712
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-cell;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-008.xht
new file mode 100644
index 0000000000..b11e5d79df
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-008.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black rectangle.</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-009.xht
new file mode 100644
index 0000000000..c90b6e13f0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-009.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: block;
+ height: 1in;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-010.xht
new file mode 100644
index 0000000000..9f2d3eefa4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-010.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-012.xht
new file mode 100644
index 0000000000..2f47dfa83b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: inline-block;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-013.xht
new file mode 100644
index 0000000000..cf87a3f3a4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-014.xht
new file mode 100644
index 0000000000..47114d7d66
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: inline-table;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ height: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-015.xht
new file mode 100644
index 0000000000..cb782a04e6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-right-width-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-right-width applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-right-width' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-right-style: solid;
+ border-right-width: 1in;
+ display: table-caption;
+ height: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-shorthands-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-001-ref.xht
new file mode 100644
index 0000000000..8d7fa80154
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-001-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 2em;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be a green bar below.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-shorthands-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-001.xht
new file mode 100644
index 0000000000..9fc94370cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-001.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: border-color shorthand (basic)</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/color/001.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="match" href="border-shorthands-001-ref.xht" />
+
+ <style type="text/css">
+ div { color: red; border: solid 1em; }
+ div { border-color: green; }
+ </style>
+ </head>
+ <body>
+ <p>There should be a green bar below.</p>
+ <div class="test"></div>
+
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-shorthands-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-002.xht
new file mode 100644
index 0000000000..45320df88c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-002.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: border-color shorthand (basic)</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/color/002.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="match" href="border-shorthands-001-ref.xht" />
+
+ <style type="text/css">
+ .test { border: solid 1em; }
+ div { color: green; border-color: red; }
+ </style>
+ </head>
+ <body>
+ <p>There should be a green bar below.</p>
+ <div class="test"></div>
+
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003-ref.xht
new file mode 100644
index 0000000000..cd2515b520
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 1em;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be a green bar below.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003.xht
new file mode 100644
index 0000000000..c88673000f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: border-color shorthand (basic)</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/color/003.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
+ <link rel="match" href="border-shorthands-003-ref.xht" />
+
+ <style type="text/css">
+ .test { border-top: solid 1em; }
+ div { color: green; border-color: red; }
+ </style>
+ </head>
+ <body>
+ <p>There should be a green bar below.</p>
+ <div class="test"></div>
+
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-001.xht
new file mode 100644
index 0000000000..ce6d23f09e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-001.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set using a single value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set using a single value correctly renders the specified value for all sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with dashed borders.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-002.xht
new file mode 100644
index 0000000000..705588a945
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-002.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set using two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set using two values correctly renders the specified value for the appropriate sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed dotted;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with dashed top and bottom borders and dotted left and right borders.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-003.xht
new file mode 100644
index 0000000000..eaf8096019
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-003.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set using three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set using three values correctly renders the specified value for the appropriate sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed dotted double;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with a dashed top border, left and right borders that are dotted and a double line for the bottom border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-004.xht
new file mode 100644
index 0000000000..2fc8885644
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-004.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set using four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set using four values correctly renders the specified value for the appropriate sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed dotted double solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with a dashed top border, a dotted right border, a double line bottom border and a single line left border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-005.xht
new file mode 100644
index 0000000000..827c19a18e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set to 'inherit', inheriting one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set to 'inherit' correctly inherits the single value specified on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-style: dashed;
+ border-width: 0;
+ }
+ div
+ {
+ border-style: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with dashed borders.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-006.xht
new file mode 100644
index 0000000000..854059f659
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-006.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set to 'inherit' inheriting two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set to 'inherit' correctly inherits the two values specified on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-style: dashed dotted;
+ border-width: 0;
+ }
+ div
+ {
+ border-style: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with dashed top and bottom borders and dotted left and right borders.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-007.xht
new file mode 100644
index 0000000000..6bfc450f78
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-007.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set to 'inherit', inheriting three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set to 'inherit' correctly inherits the three values specified on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-style: dashed dotted double;
+ border-width: 0;
+ }
+ div
+ {
+ border-style: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with a dashed top border, left and right borders that are dotted and a double line for the bottom border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-008.xht
new file mode 100644
index 0000000000..83f979c342
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-008.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set to 'inherit', inheriting four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set to 'inherit' correctly inherits the four values specified on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-style: dashed dotted double solid;
+ border-width: 0;
+ }
+ div
+ {
+ border-style: inherit;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with a dashed top border, a dotted right border, a double line bottom border and a single line left border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-009.xht
new file mode 100644
index 0000000000..faa412a005
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-009.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set using a single value</title>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set using a single value correctly renders the specified value for all sides of the element." />
+ <style type="text/css">
+ div
+ {
+ width: 153px;
+ height: 153px;
+ margin: 10px;
+ border-style: groove;
+ border-width: 20px;
+ border-color: black;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with groove borders.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-010.xht
new file mode 100644
index 0000000000..d172298f6f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style shorthand property set using a single value</title>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property set using a single value correctly renders the specified value for all sides of the element." />
+ <style type="text/css">
+ div
+ {
+ width: 153px;
+ height: 153px;
+ margin: 10px;
+ border-style: groove;
+ border-width: 20px;
+ border-color: black;
+ border-radius: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box with groove borders.</p>
+ <div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-001.xht
new file mode 100644
index 0000000000..f46f5c6e64
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-002.xht
new file mode 100644
index 0000000000..612ddff1d6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-003.xht
new file mode 100644
index 0000000000..bf67a6b1eb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-004.xht
new file mode 100644
index 0000000000..7c40b612b8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-005.xht
new file mode 100644
index 0000000000..575cdeee79
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-006.xht
new file mode 100644
index 0000000000..794d4feb5f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-007.xht
new file mode 100644
index 0000000000..f0451437ba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-style: dashed;
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-008.xht
new file mode 100644
index 0000000000..4a438e481c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-008.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-009.xht
new file mode 100644
index 0000000000..8dddc5bbae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-009.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-style: dashed;
+ display: block;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-010.xht
new file mode 100644
index 0000000000..ae65a72ab1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed;
+ display: list-item;
+ height: 1in;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box and a marker bullet on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-012.xht
new file mode 100644
index 0000000000..1037268ae4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-012.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed;
+ display: inline-block;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-013.xht
new file mode 100644
index 0000000000..a728be9401
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed;
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a single dashed lined box.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-014.xht
new file mode 100644
index 0000000000..0485a806af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ div
+ {
+ border-style: dashed;
+ border-collapse: collapse;
+ display: inline-table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a single dashed lined box.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-015.xht
new file mode 100644
index 0000000000..a73df81dac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-015.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-style' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-style: dashed;
+ display: table-caption;
+ height: 1in;
+ width: 1in;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed lined box.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-016.xht
new file mode 100644
index 0000000000..e098bfcca8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-016.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to table-row</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ tr
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <tbody>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-017.xht
new file mode 100644
index 0000000000..0a6ac697c7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-017.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to element with display table-row</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including elements with display table-row. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ #test
+ {
+ border-color: red;
+ border-style: hidden;
+ display: table-row;
+ }
+
+ .cell
+ {
+ display: table-cell;
+ height: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="cell"></div><div class="cell"></div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-018.xht
new file mode 100644
index 0000000000..d84d187627
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-018.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to table-column-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ colgroup
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+
+ <table>
+
+ <colgroup><col></col><col></col></colgroup>
+
+ <tbody>
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-019.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-019.xht
new file mode 100644
index 0000000000..3c60c91fb0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-019.xht
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to element with display table-column-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+
+ <meta content="'border-style: hidden' must apply to all elements, including elements with display table-column-group. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ #test
+ {
+ border-color: red;
+ border-style: hidden;
+ display: table-column-group;
+ }
+
+ .col {display: table-column;}
+
+ .row
+ {
+ display: table-row;
+ }
+
+ .cell
+ {
+ display: table-cell;
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <div id="table">
+
+ <div id="test"><div class="col"></div><div class="col"></div></div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-020.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-020.xht
new file mode 100644
index 0000000000..6af0e6d95c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-020.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to table-column</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ col
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <col></col><col></col>
+
+ <tbody>
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-021.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-021.xht
new file mode 100644
index 0000000000..cead7f7626
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-021.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to element with display table-column</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+
+ <meta content="'border-style: hidden' must apply to all elements, including elements with display table-column. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ .test
+ {
+ border-color: red;
+ border-style: hidden;
+ display: table-column;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+
+ .cell
+ {
+ display: table-cell;
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <div id="table">
+
+ <div class="test"></div><div class="test"></div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-022.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-022.xht
new file mode 100644
index 0000000000..3429750a07
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-022.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to table-row-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ tbody
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ td
+ {
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <tbody>
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-023.xht
new file mode 100644
index 0000000000..f8c87e7ad8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-023.xht
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to element with display table-row-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including elements with display table-row-group. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ #test
+ {
+ border-color: red;
+ border-style: hidden;
+ display: table-row-group;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+
+ .cell
+ {
+ display: table-cell;
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-024.xht
new file mode 100644
index 0000000000..3d46c0dabc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-024.xht
@@ -0,0 +1,62 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to table-footer-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ tfoot
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ tfoot td
+ {
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <tfoot>
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </tfoot>
+
+ <tbody>
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-025.xht
new file mode 100644
index 0000000000..d2f21c3c6c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-025.xht
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to element with display table-footer-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including elements with display table-footer-group. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ #test
+ {
+ border-color: red;
+ border-style: hidden;
+ display: table-footer-group;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+
+ .cell
+ {
+ display: table-cell;
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-026.xht
new file mode 100644
index 0000000000..5295c13a5d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-026.xht
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to table-header-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+
+ <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ table
+ {
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ thead
+ {
+ border-color: red;
+ border-style: hidden;
+ }
+
+ thead td
+ {
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <table>
+
+ <thead>
+ <tr>
+ <td></td><td></td>
+ </tr>
+
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </thead>
+
+ <tbody>
+ <tr>
+ <td></td><td></td>
+ </tr>
+ </tbody>
+
+ </table>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-027.xht
new file mode 100644
index 0000000000..0f8692d038
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-applies-to-027.xht
@@ -0,0 +1,64 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: border-style: hidden applied to element with display table-header-group</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-conflict-style-101-ref.xht" />
+ <meta content="'border-style: hidden' must apply to all elements, including elements with display table-header-group. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 200px;
+ }
+
+ #test
+ {
+ border-color: red;
+ border-style: hidden;
+ display: table-header-group;
+ }
+
+ .row
+ {
+ display: table-row;
+ }
+
+ .cell
+ {
+ display: table-cell;
+ height: 100px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>There should be <strong>no red</strong>, not even thin red lines.</p>
+
+ <div id="table">
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-initial-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-initial-001.xht
new file mode 100644
index 0000000000..4ac676927c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-initial-001.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style initial set to 'none'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="Verify that 'border-color' and 'border-width' do not display a border since 'border-style' is initially 'none'." />
+ <style type="text/css">
+ div
+ {
+ border-color: red;
+ border-width: 10px;
+ height: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-001.xht
new file mode 100644
index 0000000000..cafcfac9e1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-001.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style 'groove' color rendering</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'groove' 'border-style' uses the color defined for rendering the groove border." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: groove;
+ border-top-width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the box is a shade or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-002.xht
new file mode 100644
index 0000000000..f3959d6725
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-002.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style 'ridge' color rendering</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'ridge' 'border-style' uses the color defined for rendering the ridge border." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: ridge;
+ border-top-width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the box is a shade or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-003.xht
new file mode 100644
index 0000000000..962d3a6a63
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-003.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style 'inset' color rendering</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'inset' 'border-style' uses the color defined for rendering the inset border." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: inset;
+ border-top-width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the box is a shade or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-004.xht
new file mode 100644
index 0000000000..023e83aa37
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-rendering-004.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style 'outset' color rendering</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'outset' 'border-style' uses the color defined for rendering the outset border." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: outset;
+ border-top-width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the box is a shade or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-001.xht
new file mode 100644
index 0000000000..e6229dca3c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-001.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style set using one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="Applying a single value to the border-style property applies the value to all sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-width: 5px;
+ border-style: dotted;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the border is the same dotted style on all edges.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-002.xht
new file mode 100644
index 0000000000..4b137961eb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-002.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style set using two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="Applying two values to the border-style property applies the first value to the top and bottom and the second to the left and right." />
+ <style type="text/css">
+ div
+ {
+ border-width: 10px;
+ border-style: dotted double;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top and bottom borders are dotted and the left and right are a double line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-003.xht
new file mode 100644
index 0000000000..c1763d8ed3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-003.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style set using three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="Applying three values to the border-style property applies the first value to the top the second value to the left and right and the third value to the bottom." />
+ <style type="text/css">
+ div
+ {
+ border-width: 10px;
+ border-style: dotted double dashed;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top border is dotted, the left and right borders are a double line, and the bottom border is dashed.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-004.xht
new file mode 100644
index 0000000000..0794f93c36
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-style-shorthand-004.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-style set using four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="Applying four values to the border-style property applies the values top, right, bottom, left, respectively." />
+ <style type="text/css">
+ div
+ {
+ border-width: 10px;
+ border-style: dotted double dashed solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top border is dotted, the right border is a double line, the bottom border is dashed and the left border is solid.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-001.xht
new file mode 100644
index 0000000000..26591d2789
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-001.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top' shorthand property sets 'border-width' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: 1in;
+ border-top-style: solid;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-002.xht
new file mode 100644
index 0000000000..2aa25e8d2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-002.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-style' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: dashed;
+ border-top-width: 5px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-003.xht
new file mode 100644
index 0000000000..c66e14fef1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-003.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-color' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: blue;
+ border-top-style: solid;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-004.xht
new file mode 100644
index 0000000000..42e62cc10f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-004.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-width' and 'border-style' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: 5px dashed;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-005-ref.xht
new file mode 100644
index 0000000000..ef63f4db91
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-005-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled blue square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-005.xht
new file mode 100644
index 0000000000..52fcf8ac0f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-top-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-width' and 'border-color' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: 1in blue;
+ border-top-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-006.xht
new file mode 100644
index 0000000000..3ae3278d66
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-006.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-style' and 'border-width' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: solid 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-007.xht
new file mode 100644
index 0000000000..ac0f656cf8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-007.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-style' and 'border-color' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: dashed blue;
+ border-width: 5px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-008.xht
new file mode 100644
index 0000000000..6a37fcac0b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-008.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-top-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-color' and 'border-width' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: blue 1in;
+ border-top-style: solid;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled blue square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-009.xht
new file mode 100644
index 0000000000..4242759bf8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-009.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-color' and 'border-style' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: blue dashed;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-010.xht
new file mode 100644
index 0000000000..2b80b6a210
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-010.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-width border-style border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-width', 'border-style' and 'border-color' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: 5px dashed blue;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-011.xht
new file mode 100644
index 0000000000..885d667414
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-011.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-width border-color border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-width', 'border-color' and 'border-style' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: 5px blue dashed;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-012.xht
new file mode 100644
index 0000000000..c65d971eef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-012.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-style border-width border-color</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-style', 'border-width' and 'border-color' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: dashed 5px blue;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-013.xht
new file mode 100644
index 0000000000..8227ca79a7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-013.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-style border-color border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-style', 'border-color' and 'border-width' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: dashed blue 5px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-014.xht
new file mode 100644
index 0000000000..328a9acb8c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-014.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-color border-width border-style</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-color', 'border-width' and 'border-style' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: blue 5px dashed;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-015.xht
new file mode 100644
index 0000000000..7c1be643ff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-015.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to border-color border-style border-width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property sets the 'border-color', 'border-style' and 'border-width' for the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top: blue 5px dashed;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed blue line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-016.xht
new file mode 100644
index 0000000000..2c55be31cf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-016.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to inherit, inheriting a single value for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-top: solid;
+ padding-top: 10px;
+ }
+ div div
+ {
+ border-top: inherit;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two lines.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-017.xht
new file mode 100644
index 0000000000..8e5b53a2f4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-017.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to inherit, inheriting two values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-top: dashed blue;
+ padding-top: 10px;
+ }
+ div div
+ {
+ border-top: inherit;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are two dashed blue lines.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-018-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-018-ref.xht
new file mode 100644
index 0000000000..1a750c8f5e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-018-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: blue;
+ height: 96px;
+ margin-bottom: 10px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there are 2 large blue rectangles.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-018.xht
new file mode 100644
index 0000000000..004eb29e24
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-018.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top set to inherit, inheriting three values for a shorthand property</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-top-018-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' shorthand property properly accepts 'inherit' as a value and uses its parent's border setting." />
+ <style type="text/css">
+ #div1
+ {
+ border-top: 1in solid blue;
+ padding-top: 10px;
+ }
+ div div
+ {
+ border-top: inherit;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there are 2 large blue rectangles.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-001.xht
new file mode 100644
index 0000000000..e0b5d96d4b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-002.xht
new file mode 100644
index 0000000000..fb26510e71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-003.xht
new file mode 100644
index 0000000000..a8b4775872
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-004.xht
new file mode 100644
index 0000000000..5e6c693e11
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-005.xht
new file mode 100644
index 0000000000..8cd91c58fe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-006.xht
new file mode 100644
index 0000000000..4c2cca6645
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-column;
+ width: 1in;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 2in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-007.xht
new file mode 100644
index 0000000000..860c4fa178
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-top: solid green 3px;
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-008.xht
new file mode 100644
index 0000000000..0baaf19cba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-top: solid green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-009.xht
new file mode 100644
index 0000000000..04c3110b4e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-009.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-top: solid green 3px;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-010.xht
new file mode 100644
index 0000000000..cd693d1177
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-top: solid green;
+ display: list-item;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line and a marker bullet on its left-hand side. (Note the marker bullet does not need to be aligned vertically to any specific position.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-012.xht
new file mode 100644
index 0000000000..db9ea7a28d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-top: solid green 3px;
+ display: inline-block;
+ vertical-align: top;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-013.xht
new file mode 100644
index 0000000000..b70e17ce48
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-014.xht
new file mode 100644
index 0000000000..4d6a63839d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: inline-table;
+ table-layout: fixed;
+ vertical-align: top;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="test">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-015.xht
new file mode 100644
index 0000000000..954a219d71
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-top: solid green 3px;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-001.xht
new file mode 100644
index 0000000000..e6c57d190f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with five digits which is invalid and is equivalent to minimum minus one value for six digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #00000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-002.xht
new file mode 100644
index 0000000000..a0586e2303
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with the minimum value, #000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #000000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #000000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-003.xht
new file mode 100644
index 0000000000..ed88dab192
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with the minimum plus one value, #010101</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #010101 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #010101;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #010101;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-004.xht
new file mode 100644
index 0000000000..1820e18d51
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a nominal value #999999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-004-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #999999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #999999;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #999999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-005.xht
new file mode 100644
index 0000000000..a4b1cc954a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with the maximum minus one value of #fefefe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #fefefe renders the correct color for the border." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #fefefe;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #fefefe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-006.xht
new file mode 100644
index 0000000000..20211f87c1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with the maximum value of #ffffff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #ffffff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #ffffff;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #ffffff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-007.xht
new file mode 100644
index 0000000000..09144da5d5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-007.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with the maximum plus one value of #1000000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #1000000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #1000000;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-008.xht
new file mode 100644
index 0000000000..5276a60a68
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-008.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with the maximum plus one value of #fgfgfg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #fgfgfg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #fgfgfg;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-009.xht
new file mode 100644
index 0000000000..648ca02442
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-009.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a red set to minimum plus one value, #010000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #010000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #010000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #010000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-010.xht
new file mode 100644
index 0000000000..06fbe25343
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-010.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a red set to a nominal value, #990000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #990000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #990000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #990000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-011.xht
new file mode 100644
index 0000000000..837515754c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-011.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a red set to maximum minus one value, #fe0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #fe0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #fe0000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #fe0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-012.xht
new file mode 100644
index 0000000000..32c361745e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a red set to the maximum value, #ff0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #ff0000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #ff0000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #ff0000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-013.xht
new file mode 100644
index 0000000000..c7cd936db3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-013.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a red set to the maximum plus one value, #fg0000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #fg0000 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #fg0000;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-014.xht
new file mode 100644
index 0000000000..a0564b695a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a green set to minimum plus one value, #000100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-014-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #000100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #000100;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-015.xht
new file mode 100644
index 0000000000..f58d07b3af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a green set to a nominal value, #009900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-015-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #009900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #009900;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #009900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-016.xht
new file mode 100644
index 0000000000..44faf8054a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-016.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a green set to maximum minus one value, #00fe00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #00fe00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00fe00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00fe00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-017.xht
new file mode 100644
index 0000000000..d3432b22dd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a green set to the maximum value, #00ff00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #00ff00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00ff00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00ff00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-018.xht
new file mode 100644
index 0000000000..74b580fc80
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-018.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a green set to the maximum plus one value, #00fg00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #00fg00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00fg00;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-019.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-019.xht
new file mode 100644
index 0000000000..32f13db98d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-019.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a blue set to minimum plus one value, #000001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #000001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #000001;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-020.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-020.xht
new file mode 100644
index 0000000000..a94c07437b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-020.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a blue set to a nominal value, #000099</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #000099 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #000099;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000099;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-021.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-021.xht
new file mode 100644
index 0000000000..cd69045349
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-021.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a blue set to maximum minus one value, #0000fe</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #0000fe renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #0000fe;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0000fe;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-022.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-022.xht
new file mode 100644
index 0000000000..ad05d5ed86
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-022.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a blue set to the maximum value, #0000ff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #0000ff renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #0000ff;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0000ff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-023.xht
new file mode 100644
index 0000000000..3d4f1f38dd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-023.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with six digits with a blue set to the maximum plus one value, #0000fg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #0000fg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #0000fg;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-024.xht
new file mode 100644
index 0000000000..1785a0e098
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-024.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with 2 digits which is invalid and is equivalent to minimum minus one value for 3 digit hex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-025.xht
new file mode 100644
index 0000000000..bf57265d28
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with the minimum possible value #000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #000 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #000;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #000;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-026.xht
new file mode 100644
index 0000000000..3328cdfcbb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-026.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with the minimum plus one value, #111</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-026-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #111 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #111;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #111;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-027.xht
new file mode 100644
index 0000000000..3c1e3ef1c5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-027.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a nominal value #999</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-027-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #999 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #999;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #999;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-028.xht
new file mode 100644
index 0000000000..f5a401490d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with the maximum minus one value of #eee</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-028-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #eee renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #eee;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #eee;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-029.xht
new file mode 100644
index 0000000000..82c77779d3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with the maximum value of #fff</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #fff renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #fff;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #fff;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-030.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-030.xht
new file mode 100644
index 0000000000..260ba20f0c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-030.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with the maximum plus one value of #1000</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-transparent-or-black-square-black.xht"/>
+ <link rel="match" href="../reference/ref-transparent-or-black-square-transparent.xht"/>
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #1000 is a transparent dark red square." />
+ <style type="text/css">
+ div.test
+ {
+ border: 5px solid blue;
+ height: 1in;
+ width: 1in;
+ }
+ div.test div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #1000;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black or transparent square surrounded by a blue border.</p>
+ <div class="test"><div></div></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-031.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-031.xht
new file mode 100644
index 0000000000..7473b23a61
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-031.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with the maximum plus one value of #ggg</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #ggg falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #ggg;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-032.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-032.xht
new file mode 100644
index 0000000000..be58b93222
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-032.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a red set to minimum plus one value, #100</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-032-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #100 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #100;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #100;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-033.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-033.xht
new file mode 100644
index 0000000000..4769d075b5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-033.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a red set to a nominal value, #900</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-010-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #900 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #900;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #900;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-034.xht
new file mode 100644
index 0000000000..f7a6214c4e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a red set to maximum minus one value, #e00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-034-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #e00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #e00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #e00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-035.xht
new file mode 100644
index 0000000000..906a8fecc4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-035.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a red set to the maximum value, #f00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #f00 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #f00;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #f00;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-036.xht
new file mode 100644
index 0000000000..d5e1636a48
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-036.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a red set to the maximum plus one value, #g00</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #g00 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #g00;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-037.xht
new file mode 100644
index 0000000000..72e4cf8e81
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-037.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a green set to minimum plus one value, #010</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-037-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #010 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #010;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #010;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-038.xht
new file mode 100644
index 0000000000..be42ca45f6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-038.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a green set to a nominal value, #090</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-038-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #090 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #090;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #090;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-039.xht
new file mode 100644
index 0000000000..85ffdd2ad6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a green set to maximum minus one value, #0e0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-039-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #0e0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #0e0;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0e0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-040.xht
new file mode 100644
index 0000000000..75c8eedbef
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a green set to the maximum value, #0f0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #0f0 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #0f0;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #0f0;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-041.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-041.xht
new file mode 100644
index 0000000000..7747250d40
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-041.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a green set to the maximum plus one value, #0g0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #0g0 falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #0g0;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-042.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-042.xht
new file mode 100644
index 0000000000..d8427077ff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-042.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a blue set to minimum plus one value, #001</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-042-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #001 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #001;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #001;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-043.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-043.xht
new file mode 100644
index 0000000000..e880ebe923
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-043.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a blue set to a nominal value, #009</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-020-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #009 renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #009;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #009;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-044.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-044.xht
new file mode 100644
index 0000000000..e4777694d8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-044.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a blue set to maximum minus one value, #00e</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-044-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #00e renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00e;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00e;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-045.xht
new file mode 100644
index 0000000000..22781787d0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a blue set to the maximum value, #00f</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to #00f renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00f;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: #00f;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-046.xht
new file mode 100644
index 0000000000..6cbb483aab
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-046.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to hex with three digits with a blue set to the maximum plus one value, #00g</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to #00g falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: #00g;
+ height: 0;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-047.xht
new file mode 100644
index 0000000000..b8c46a7c39
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with the minimum minus one value, rgb(-1%, -1%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(-1%, -1%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-1%, -1%, -1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-048.xht
new file mode 100644
index 0000000000..97fac87bcf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-048.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with the minimum value, rgb(0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-049.xht
new file mode 100644
index 0000000000..b2504d2f14
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-049.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with the minimum plus one value, rgb(1%, 1%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-049-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(1%, 1%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(1%, 1%, 1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1%, 1%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-050.xht
new file mode 100644
index 0000000000..864b6131f6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with the minimum value and minus sign, rgb(-0%, -0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(-0%, -0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-0%, -0%, -0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-051.xht
new file mode 100644
index 0000000000..ed5b7e59cf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with the minimum value and plus sign, rgb(+0%, +0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+0%, +0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+0%, +0%, +0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-052.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-052.xht
new file mode 100644
index 0000000000..c762d23b09
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-052.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with a nominal value, rgb(40%, 40%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(40%, 40%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(40%, 40%, 40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-053.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-053.xht
new file mode 100644
index 0000000000..df03a90f13
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-053.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with a nominal value and a plus sign, rgb(+40%, +40%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-052-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(+40%, +40%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+40%, +40%, +40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 40%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-054.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-054.xht
new file mode 100644
index 0000000000..26fabdbf1c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-054.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-054-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(99%, 99%, 99%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(99%, 99%, 99%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(99%, 99%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-055.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-055.xht
new file mode 100644
index 0000000000..2e7d05c681
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-055.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with a maximum value, rgb(100%, 100%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(100%, 100%, 100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(100%, 100%, 100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-056.xht
new file mode 100644
index 0000000000..346f51e84a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+100%, +100%, +100%) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+100%, +100%, +100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-057.xht
new file mode 100644
index 0000000000..b4ddb791b8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-057.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(101%, 101%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(101%, 101%, 101%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 100%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-058.xht
new file mode 100644
index 0000000000..2a7a298844
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with the minimum minus one value, rgb(-1, -1, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(-1, -1, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-1, -1, -1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-059.xht
new file mode 100644
index 0000000000..76244e57cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-059.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with the minimum value, rgb(0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-060.xht
new file mode 100644
index 0000000000..bfb3102972
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-060.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with the minimum plus one value, rgb(1, 1, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(1, 1, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(1, 1, 1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1, 1, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-061.xht
new file mode 100644
index 0000000000..40dd776384
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with the minimum value and minus sign, rgb(-0, -0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(-0, -0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-0, -0, -0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-062.xht
new file mode 100644
index 0000000000..95994d2a70
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with the minimum value and plus sign, rgb(+0, +0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+0, +0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+0, +0, +0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-063.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-063.xht
new file mode 100644
index 0000000000..c64dcdd633
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-063.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with a nominal value, rgb(128, 128, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(128, 128, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(128, 128, 128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-064.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-064.xht
new file mode 100644
index 0000000000..815ea1b166
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-064.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with a nominal value and a plus sign, rgb(+128, +128, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-063-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+128, +128, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+128, +128, +128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 128, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-065.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-065.xht
new file mode 100644
index 0000000000..1678fe4bc1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-065.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with a maximum minus one value, rgb(254, 254, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(254, 254, 254) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(254, 254, 254);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(254, 254, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-066.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-066.xht
new file mode 100644
index 0000000000..dbd5d20780
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-066.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with a maximum value, rgb(255, 255, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(255, 255, 255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(255, 255, 255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-067.xht
new file mode 100644
index 0000000000..c1d7132065
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with a maximum value and a plus sign, rgb(+255, +255, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+255, +255, +255) renders the correct color." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+255, +255, +255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-068.xht
new file mode 100644
index 0000000000..e156363fce
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-068.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with a maximum plus one value, rgb(256, 256, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-006-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(256, 256, 256) truncates to a valid value." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(256, 256, 256);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 255, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-069.xht
new file mode 100644
index 0000000000..16b97eb603
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to the minimum minus one value, rgb(-1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(-1%, 0%, 0%) falls back to the initial value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-1%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-070.xht
new file mode 100644
index 0000000000..89af64ed46
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-070.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-070-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(1%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(1%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-071.xht
new file mode 100644
index 0000000000..7702654314
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-071.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to the minimum value and minus sign, rgb(-0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(-0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-0%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-072.xht
new file mode 100644
index 0000000000..5980426786
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to the minimum value and plus sign, rgb(+0%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+0%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+0%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-073.xht
new file mode 100644
index 0000000000..2cad35940d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to a nominal value, rgb(40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(40%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-074.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-074.xht
new file mode 100644
index 0000000000..1930873282
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-074.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+40%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-073-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(+40%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+40%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(40%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-075.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-075.xht
new file mode 100644
index 0000000000..fe12a2630f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-075.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-075-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(99%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(99%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(99%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-076.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-076.xht
new file mode 100644
index 0000000000..7bcb581630
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-076.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to a maximum value, rgb(100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(100%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-077.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-077.xht
new file mode 100644
index 0000000000..c0efd26700
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-077.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to a maximum value with a plus sign, rgb(+100%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+100%, 0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+100%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-078.xht
new file mode 100644
index 0000000000..9e6751218e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with red set to a maximum plus one value, rgb(101%, 0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(101%, 0%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(101%, 0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(100%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-079.xht
new file mode 100644
index 0000000000..13e29bb0f3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-079.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to the minimum minus one value, rgb(-1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-1, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-080.xht
new file mode 100644
index 0000000000..d623aa5cbb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to the minimum plus one value, rgb(1, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(1, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(1, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(1, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-081.xht
new file mode 100644
index 0000000000..4fa97584f8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-081.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to the minimum value with a minus sign, rgb(-0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(-0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(-0, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-082.xht
new file mode 100644
index 0000000000..9e31b55dda
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-082.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to the minimum value with a plus sign, rgb(+0, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+0, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+0, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-083.xht
new file mode 100644
index 0000000000..ef43650712
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to a nominal value, rgb(128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(128, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-084.xht
new file mode 100644
index 0000000000..0a0ebf0605
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to a nominal value with a plus sign, rgb(+128, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-083-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+128, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+128, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(128, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-085.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-085.xht
new file mode 100644
index 0000000000..a9946411c0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-085.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to a maximum minus one value, rgb(254, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-011-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(254, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(254, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(254, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-086.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-086.xht
new file mode 100644
index 0000000000..8ccb35d35e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-086.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to a maximum value, rgb(255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(255, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-087.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-087.xht
new file mode 100644
index 0000000000..64212bda34
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-087.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to a maximum value with a plus sign, rgb(+255, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(+255, 0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(+255, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-088.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-088.xht
new file mode 100644
index 0000000000..d8d06a41ca
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-088.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with red set to a maximum plus one value, rgb(256, 0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(256, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(256, 0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(255, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-089.xht
new file mode 100644
index 0000000000..78e7a186ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-089.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to the minimum minus one value, rgb(0%, -1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, -1%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, -1%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-090.xht
new file mode 100644
index 0000000000..fe013a42cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-090.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-090-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 1%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 1%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 1%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-091.xht
new file mode 100644
index 0000000000..b590c99bfe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-091.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to the minimum value and minus sign, rgb(0%, -0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, -0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, -0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-092.xht
new file mode 100644
index 0000000000..2b065a1421
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-092.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to the minimum value and plus sign, rgb(0%, +0%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, +0%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, +0%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-093.xht
new file mode 100644
index 0000000000..62793e3588
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-093.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to a nominal value, rgb(0%, 40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 40%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-094.xht
new file mode 100644
index 0000000000..abdaab867a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-094.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +40%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-093-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, +40%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, +40%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 40%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-095.xht
new file mode 100644
index 0000000000..3e506b7f4f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-095.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-095-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 99%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 99%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 99%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-096.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-096.xht
new file mode 100644
index 0000000000..d404742575
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-096.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to a maximum value, rgb(0%, 100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 100%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-097.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-097.xht
new file mode 100644
index 0000000000..c9522e10c3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-097.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to a maximum value with a plus sign, rgb(0%, +100%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, +100%, 0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, +100%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-098.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-098.xht
new file mode 100644
index 0000000000..6e338aa63b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-098.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with green set to a maximum plus one value, rgb(0%, 101%, 0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 101%, 0%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 101%, 0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 100%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-099.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-099.xht
new file mode 100644
index 0000000000..0b293b1786
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-099.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to the minimum minus one value, rgb(0, -1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(-1, 0, 0) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, -1, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-100.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-100.xht
new file mode 100644
index 0000000000..15a5c0db3b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-100.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to the minimum plus one value, rgb(0, 1, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-100-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 1, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 1, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 1, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-101.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-101.xht
new file mode 100644
index 0000000000..3c177a1eff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-101.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to the minimum value with a minus sign, rgb(0, -0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, -0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, -0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-102.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-102.xht
new file mode 100644
index 0000000000..d47febcc06
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-102.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to the minimum value with a plus sign, rgb(0, +0, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, +0, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, +0, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-103.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-103.xht
new file mode 100644
index 0000000000..0c5ca240b5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-103.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to a nominal value, rgb(0, 128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 128, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-104.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-104.xht
new file mode 100644
index 0000000000..eece759417
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-104.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to a nominal value with a plus sign, rgb(0, +128, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-103-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, +128, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, +128, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 128, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-105.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-105.xht
new file mode 100644
index 0000000000..15d8940946
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-105.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to a maximum minus one value, rgb(0, 254, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-016-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 254, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 254, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 254, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-106.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-106.xht
new file mode 100644
index 0000000000..a5ecaab7d6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-106.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to a maximum value, rgb(0, 255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 255, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-107.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-107.xht
new file mode 100644
index 0000000000..06997f0fc5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-107.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to a maximum value with a plus sign, rgb(0, +255, 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, +255, 0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, +255, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-108.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-108.xht
new file mode 100644
index 0000000000..cc32b636cf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-108.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with green set to a maximum plus one value, rgb(0, 256 0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-017-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 256, 0) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 256, 0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 255, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-109.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-109.xht
new file mode 100644
index 0000000000..1652b30d6c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-109.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to the minimum minus one value, rgb(0%, 0%, -1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, -1%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, -1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-110.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-110.xht
new file mode 100644
index 0000000000..e9b0dc220a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-110.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-110-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, 1%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, 1%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 1%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-111.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-111.xht
new file mode 100644
index 0000000000..a0dcfe07b7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-111.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to the minimum value and minus sign, rgb(0%, 0%, -0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, -0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, -0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-112.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-112.xht
new file mode 100644
index 0000000000..5270285044
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-112.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to the minimum value and plus sign, rgb(0%, 0%, +0%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, +0%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, +0%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 0%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-113.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-113.xht
new file mode 100644
index 0000000000..fe70f535d5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-113.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, 40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, 40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-114.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-114.xht
new file mode 100644
index 0000000000..4983c20b9e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-114.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +40%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-05-17 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-113-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, +40%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, +40%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 40%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-115.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-115.xht
new file mode 100644
index 0000000000..a81edd4a19
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-115.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-08-2013 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-115-ref.xht"/>
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, 99%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, 99%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 99%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-116.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-116.xht
new file mode 100644
index 0000000000..056b3d948f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-116.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, 100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, 100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-117.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-117.xht
new file mode 100644
index 0000000000..64a0a73a81
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-117.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to a maximum value with a plus sign, rgb(0%, 0%, +100%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, +100%) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, +100%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-118.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-118.xht
new file mode 100644
index 0000000000..ac5a7c6d68
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-118.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using percentages with blue set to a maximum plus one value, rgb(0%, 0%, 101%)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0%, 0%, 101%) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0%, 0%, 101%);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0%, 0%, 100%);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-119.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-119.xht
new file mode 100644
index 0000000000..301c61535d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-119.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to the minimum minus one value, rgb(0, 0, -1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, -1) truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, -1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-120.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-120.xht
new file mode 100644
index 0000000000..a39c1f0563
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-120.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to the minimum plus one value, rgb(0, 0, 1)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-019-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, 1) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, 1);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 1);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-121.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-121.xht
new file mode 100644
index 0000000000..6777c26c02
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-121.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to the minimum value with a minus sign, rgb(0, 0, -0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, -0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, -0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-122.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-122.xht
new file mode 100644
index 0000000000..fb58975cac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-122.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to the minimum value with a plus sign, rgb(0, 0, +0)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, +0) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, +0);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 0);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-123.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-123.xht
new file mode 100644
index 0000000000..0bc975a10c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-123.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to a nominal value, rgb(0, 0, 128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, 128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, 128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-124.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-124.xht
new file mode 100644
index 0000000000..904193d044
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-124.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to a nominal value with a plus sign, rgb(0, 0, +128)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-21 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-123-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, +128) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, +128);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 128);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-125.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-125.xht
new file mode 100644
index 0000000000..a3d4dcd144
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-125.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to a maximum minus one value, rgb(0, 0, 254)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-021-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, 254) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, 254);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 254);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-126.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-126.xht
new file mode 100644
index 0000000000..a4ce60bac7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-126.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to a maximum value, rgb(0, 0, 255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, 255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, 255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-127.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-127.xht
new file mode 100644
index 0000000000..e2962c0b04
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-127.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to a maximum value with a plus sign, rgb(0, 0, +255)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, +255) renders the correct color." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, +255);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-128.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-128.xht
new file mode 100644
index 0000000000..5c6506c989
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-128.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to rgb() using integers with blue set to a maximum plus one value, rgb(0, 0, 256)</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-022-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-color' set to rgb(0, 0, 256) properly truncates to a valid value." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: rgb(0, 0, 256);
+ height: 0;
+ }
+ #reference
+ {
+ background-color: rgb(0, 0, 255);
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-129.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-129.xht
new file mode 100644
index 0000000000..d83c31d03c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-129.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to aqua</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-129-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to aqua causes the border-top-color of the box to be aqua." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: aqua;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: aqua;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-130.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-130.xht
new file mode 100644
index 0000000000..467b4117ba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-130.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to black</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to black causes the border-top-color of the box to be black." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: black;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-131.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-131.xht
new file mode 100644
index 0000000000..fd43bab627
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-131.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to blue</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-131-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to blue causes the border-top-color of the box to be blue." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: blue;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: blue;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-132.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-132.xht
new file mode 100644
index 0000000000..dabc5cc564
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-132.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to fuchsia</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-132-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to fuchsia causes the border-top-color of the box to be fuchsia." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: fuchsia;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: fuchsia;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-133.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-133.xht
new file mode 100644
index 0000000000..3ede926a92
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-133.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to gray</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-133-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to gray causes the border-top-color of the box to be gray." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: gray;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: gray;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-134.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-134.xht
new file mode 100644
index 0000000000..32586f2eff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-134.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to green</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-134-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to green causes the background of the box to be green." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: green;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: green;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-135.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-135.xht
new file mode 100644
index 0000000000..44b64f6346
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-135.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to lime</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-135-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to lime causes the border-top-color of the box to be lime." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: lime;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: lime;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-136.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-136.xht
new file mode 100644
index 0000000000..5e03740f46
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-136.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to maroon</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-136-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to maroon causes the border-top-color of the box to be maroon." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: maroon;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: maroon;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-137.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-137.xht
new file mode 100644
index 0000000000..175ca69e95
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-137.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to navy</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-137-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to navy causes the border-top-color of the box to be navy." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: navy;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: navy;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-138.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-138.xht
new file mode 100644
index 0000000000..853b02e354
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-138.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to olive</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-138-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to olive causes the border-top-color of the box to be olive." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: olive;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: olive;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-139.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-139.xht
new file mode 100644
index 0000000000..b78baedf5a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-139.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to orange</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-139-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to orange causes the border-top-color of the box to be orange." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: orange;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: orange;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-140.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-140.xht
new file mode 100644
index 0000000000..d738cfc446
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-140.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to purple</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-140-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to purple causes the border-top-color of the box to be purple." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: purple;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: purple;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-141.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-141.xht
new file mode 100644
index 0000000000..6b9d0339de
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-141.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to red</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-141-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to red causes the border-top-color of the box to be red." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: red;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: red;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-142.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-142.xht
new file mode 100644
index 0000000000..ba90093fd9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-142.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to silver</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-142-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to silver causes the border-top-color of the box to be silver." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: silver;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: silver;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-143.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-143.xht
new file mode 100644
index 0000000000..a6b9a3901f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-143.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to teal</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-143-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to teal causes the border-top-color of the box to be teal." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: teal;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: teal;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-144.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-144.xht
new file mode 100644
index 0000000000..589c6c4667
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-144.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to white</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-144-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to white causes the border-top-color of the box to be white." />
+ <style type="text/css">
+ body
+ {
+ background-color: black;
+ }
+ p
+ {
+ color: white;
+ }
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: white;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: white;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-145.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-145.xht
new file mode 100644
index 0000000000..04f2aea55c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-145.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to yellow</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-color-145-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to yellow causes the border-top-color of the box to be yellow." />
+ <style type="text/css">
+ div
+ {
+ height: 1in;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ border-top-color: yellow;
+ height: 0;
+ }
+ #reference
+ {
+ background-color: yellow;
+ margin-top: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the boxes below are the same color.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-174.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-174.xht
new file mode 100644
index 0000000000..fa51cad841
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-174.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to transparent</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to transparent properly renders a border with no visible color." />
+ <style type="text/css">
+ #wrapper
+ {
+ background-color: green;
+ width: 100px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 100px;
+ border-top-color: red;
+ border-top-color: transparent;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-175.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-175.xht
new file mode 100644
index 0000000000..61bc99e16a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-175.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-05-27 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-color' set to inherit causes the 'border-top-color' of the element to be the same as the 'border-top-color' designated on the parent element." />
+ <style type="text/css">
+ body
+ {
+ border-top-color: green;
+ }
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 100px;
+ border-top-color: red;
+ border-top-color: inherit;
+ height: 0;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-001.xht
new file mode 100644
index 0000000000..1baa664f42
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-001.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-002.xht
new file mode 100644
index 0000000000..438ddfa73a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-002.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-003.xht
new file mode 100644
index 0000000000..4fa1619c69
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-003.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-004.xht
new file mode 100644
index 0000000000..6d6f28ab6b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-004.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-005.xht
new file mode 100644
index 0000000000..b31cab2c16
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-006.xht
new file mode 100644
index 0000000000..72901342b0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-006.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-column;
+ width: 1in;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 2in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-007.xht
new file mode 100644
index 0000000000..502b5c5ad5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-008.xht
new file mode 100644
index 0000000000..38ddf9085c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-008.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-color: green;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-009.xht
new file mode 100644
index 0000000000..6c0a8cb977
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-009.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-010.xht
new file mode 100644
index 0000000000..22a58ea039
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: solid;
+ display: list-item;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line and a marker bullet on its left-hand side. (Note the marker bullet does not need to be aligned vertically to any specific position.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-012.xht
new file mode 100644
index 0000000000..1fa27005d5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-012.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: inline-block;
+ vertical-align: top;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-013.xht
new file mode 100644
index 0000000000..dc6c81ea37
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-014.xht
new file mode 100644
index 0000000000..5d097f7f80
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: inline-table;
+ table-layout: fixed;
+ vertical-align: top;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-015.xht
new file mode 100644
index 0000000000..d8a728ab3b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-color-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-color applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-05 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties" />
+ <link rel="match" href="border-bottom-applies-to-001-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-color' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: green;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal green line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-001.xht
new file mode 100644
index 0000000000..885ae7a034
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-001.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'none'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-top-style' property set to 'none' does not render any border for an element." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: none;
+ border-top-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-002.xht
new file mode 100644
index 0000000000..164d479fd9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-002.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'hidden'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="../reference/ref-nothing-below.xht" />
+
+ <meta name="assert" content="The 'border-top-style' property set to 'hidden' computes to 'none' and does not render any border for non-table elements." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-style: hidden;
+ border-top-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is nothing below.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-003.xht
new file mode 100644
index 0000000000..f1e133620a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-003.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'dotted'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'dotted' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: dotted;
+ border-top-width: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-004.xht
new file mode 100644
index 0000000000..41986bfa73
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-004.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'dashed'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'dashed' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: dashed;
+ border-top-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dashed line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-005.xht
new file mode 100644
index 0000000000..454e8f6371
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-005.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'solid'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <link rel="match" href="border-bottom-style-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-style' set to 'solid' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 3px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a solid black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-006.xht
new file mode 100644
index 0000000000..3173fa6c84
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-006.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'double'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'double' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: double;
+ border-top-width: 9px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a double line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-007.xht
new file mode 100644
index 0000000000..698487d111
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-007.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'groove'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'groove' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: groove;
+ border-top-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-008.xht
new file mode 100644
index 0000000000..6505547622
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'ridge'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'ridge' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-color: green;
+ border-top-style: ridge;
+ border-top-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-009.xht
new file mode 100644
index 0000000000..da1e6e31b2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-009.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'inset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'inset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: inset;
+ border-top-color: green;
+ border-top-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-010.xht
new file mode 100644
index 0000000000..5d8b7a8d1a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-010.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'outset'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' set to 'outset' renders the proper line style for the border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: outset;
+ border-top-color: green;
+ border-top-width: 12px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the line below is solid green or shades of green.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-011.xht
new file mode 100644
index 0000000000..d3eed4943c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-011.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style set to 'inherit'</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property set to 'inherit' properly applies the value from the parent's 'border-top-style' property value." />
+ <style type="text/css">
+ body
+ {
+ border-top-style: dotted;
+ border-top-width: 0;
+ }
+ div
+ {
+ border-top-style: inherit;
+ border-top-color: green;
+ border-top-width: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a dotted line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-001.xht
new file mode 100644
index 0000000000..60e3f7b6a9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-002.xht
new file mode 100644
index 0000000000..7513f76363
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-003.xht
new file mode 100644
index 0000000000..990c25a089
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-004.xht
new file mode 100644
index 0000000000..9bea71522f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-005.xht
new file mode 100644
index 0000000000..8d4f8e5120
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-006.xht
new file mode 100644
index 0000000000..28f03018b5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-007.xht
new file mode 100644
index 0000000000..6bce2b295e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-top-style: dashed;
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-008.xht
new file mode 100644
index 0000000000..5ad847fe46
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-008.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: dashed;
+ display: inline;
+ font-size: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-009.xht
new file mode 100644
index 0000000000..82d7ec9917
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-009.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: dashed;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-010.xht
new file mode 100644
index 0000000000..954477dd7f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-010.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: dashed;
+ display: list-item;
+ margin-left: 50px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line and a marker bullet on its left-hand side. (Note the marker bullet does not need to be aligned vertically to any specific position.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-012.xht
new file mode 100644
index 0000000000..92f4790987
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-012.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: dashed;
+ display: inline-block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-013.xht
new file mode 100644
index 0000000000..fea05d0e5c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-top-style: dashed;
+ display: table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-014.xht
new file mode 100644
index 0000000000..8df5a72242
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-top-style: dashed;
+ display: inline-table;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-015.xht
new file mode 100644
index 0000000000..ad321d1c61
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-style-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-style applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-style" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'border-top-style' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: dashed;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short horizontal dashed line.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-001-ref.xht
new file mode 100644
index 0000000000..00ce63c626
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-001-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {border-bottom: black solid medium;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a wide horizontal black line.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-001.xht
new file mode 100644
index 0000000000..6cc8fe1849
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-001.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a minimum minus one (negative) value, -1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-001-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in pixels and resets to the initial value." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -1px;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide horizontal black line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-002.xht
new file mode 100644
index 0000000000..c047d4456b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-002.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a minimum value, 0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in pixels that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0px;
+ border-top-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-003.xht
new file mode 100644
index 0000000000..158d36cd02
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a minimum plus one value, 1px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in pixels that sets the width of the top border." />
+ <style type="text/css">
+ #wrapper
+ {
+ background: red;
+ height: 1px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1px;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide and thin horizontal black line and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-004.xht
new file mode 100644
index 0000000000..109610dee8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-004.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a minimum value with a minus sign, -0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in pixels that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0px;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-005.xht
new file mode 100644
index 0000000000..ae191f7290
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-005.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a minimum value with a plus sign, +0px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in pixels that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0px;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-006.xht
new file mode 100644
index 0000000000..2722da7a5e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a nominal value, 96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in pixels that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 96px;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-007.xht
new file mode 100644
index 0000000000..8f7175fc2f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using pixels with a nominal value with a plus sign, +96px</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="96dpi" />
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in pixels that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +96px;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-012-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-012-ref.xht
new file mode 100644
index 0000000000..5b8bf2a0b1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-012-ref.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ span {border-top: black solid medium;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+
+ <div><span>Filler Text Filler Text Filler Text</span> <span>Filler Text Filler Text Filler Text</span></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-012.xht
new file mode 100644
index 0000000000..d177de1502
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-012.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a minimum minus one (negative) value, -1pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in points and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1pt;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-013.xht
new file mode 100644
index 0000000000..e6d534c5c1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-013.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a minimum value, 0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in points that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0pt;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-014.xht
new file mode 100644
index 0000000000..a8ba57f618
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a minimum plus one value, 1pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in points that sets the width of the top border." />
+ <style type="text/css">
+ #wrapper
+ {
+ background: red;
+ height: 1pt;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1pt;
+ height: 0;
+ }
+ p
+ {
+ height: 40px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide horizontal black line and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-015.xht
new file mode 100644
index 0000000000..f07fa5289e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-015.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a minimum value with a minus sign, -0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in points that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0pt;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-016.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-016.xht
new file mode 100644
index 0000000000..5cd607d791
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-016.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a minimum value with a plus sign, +0pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in points that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0pt;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-017.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-017.xht
new file mode 100644
index 0000000000..1cc81279d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-017.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a nominal value, 72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in points that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 72pt;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-018.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-018.xht
new file mode 100644
index 0000000000..c4b1a9f2a5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-018.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using points with a nominal value with a plus sign, +72pt</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in points that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +72pt;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-023.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-023.xht
new file mode 100644
index 0000000000..7576bc0113
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-023.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a minimum minus one (negative) value, -1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in picas and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1pc;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-024.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-024.xht
new file mode 100644
index 0000000000..2a2f338fdd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-024.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a minimum value, 0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in picas that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0pc;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-025.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-025.xht
new file mode 100644
index 0000000000..8640c00db1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-025.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a minimum plus one value, 1pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-025-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in picas that sets the width of the top border." />
+ <style type="text/css">
+ #div1
+ {
+ background: red;
+ height: 1pc;
+ }
+ div div
+ {
+ border-top-style: solid;
+ border-top-width: 1pc;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+ <div id="div1">
+ <div></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-026.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-026.xht
new file mode 100644
index 0000000000..9961cf06a1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-026.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a minimum value with a minus sign, -0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in picas that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0pc;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-027.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-027.xht
new file mode 100644
index 0000000000..51ea2aa1f9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-027.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a minimum value with a plus sign, +0pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in picas that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0pc;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-028.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-028.xht
new file mode 100644
index 0000000000..164b29f24d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-028.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a nominal value, 6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in picas that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 6pc;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-029.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-029.xht
new file mode 100644
index 0000000000..04a68e82c9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-029.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using picas with a nominal value with a plus sign, +6pc</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in picas that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +6pc;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-034.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-034.xht
new file mode 100644
index 0000000000..6afc210e3a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-034.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a minimum minus one (negative) value, -1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in centimeters and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1cm;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-035.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-035.xht
new file mode 100644
index 0000000000..22d6f88f9f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-035.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a minimum value, 0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in centimeters that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0cm;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-036.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-036.xht
new file mode 100644
index 0000000000..a1f6f989ec
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-036.xht
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a minimum plus one value, 1cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in centimeters that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ width: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ height: 37px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ height: 38px;
+ }
+ .test1, .test2
+ {
+ border-top-style: solid;
+ border-top-width: 1cm;
+ height: 0;
+ }
+ .test1
+ {
+ border-top-color: green;
+ }
+ .test2
+ {
+ border-top-color: red;
+ }
+ #parent
+ {
+ background: red;
+ height: 75px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green box rectangle and <strong>no red</strong>.</p>
+ <div id="parent">
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-037.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-037.xht
new file mode 100644
index 0000000000..45f93b0437
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-037.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a minimum value with a minus sign, -0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in centimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0cm;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-038.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-038.xht
new file mode 100644
index 0000000000..73da8659d1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-038.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a minimum value with a plus sign, +0cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in centimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0cm;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-039.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-039.xht
new file mode 100644
index 0000000000..5517d11ac8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-039.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a nominal value, 2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in centimeters that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 2.54cm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-040.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-040.xht
new file mode 100644
index 0000000000..7a31c3ff83
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-040.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using centimeters with a nominal value with a plus sign, +2.54cm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in centimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +2.54cm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-045.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-045.xht
new file mode 100644
index 0000000000..7b74a3765d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-045.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a minimum minus one (negative) value, -1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in millimeters and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1mm;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-046.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-046.xht
new file mode 100644
index 0000000000..58fda27650
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-046.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a minimum value, 0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in millimeters that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0mm;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-047.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-047.xht
new file mode 100644
index 0000000000..2296736f2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-047.xht
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a minimum plus one value, 1mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-09-13 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in millimeters that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ width: 50px;
+ }
+ .ref1, .ref2
+ {
+ position: absolute;
+ }
+ .ref1
+ {
+ background: red;
+ height: 3px;
+ z-index: -1;
+ }
+ .ref2
+ {
+ background: green;
+ height: 4px;
+ }
+ .test1, .test2
+ {
+ border-top-style: solid;
+ border-top-width: 1mm;
+ height: 0;
+ }
+ .test1
+ {
+ border-top-color: green;
+ }
+ .test2
+ {
+ border-top-color: red;
+ }
+ #parent
+ {
+ background: red;
+ height: 7px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a short green line and <strong>no red</strong>.</p>
+ <div id="parent">
+ <div class="ref1"></div>
+ <div class="test1"></div>
+ <div class="ref2"></div>
+ <div class="test2"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-048.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-048.xht
new file mode 100644
index 0000000000..85f1cb6f29
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-048.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a minimum value with a minus sign, -0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in millimeters that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0mm;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-049.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-049.xht
new file mode 100644
index 0000000000..5b874c9b00
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-049.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a minimum value with a plus sign, +0mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in millimeters that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0mm;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-050.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-050.xht
new file mode 100644
index 0000000000..f5e4da2aad
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-050.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a nominal value, 25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in millimeters that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 25.4mm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-051.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-051.xht
new file mode 100644
index 0000000000..9a47c31afe
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-051.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using millimeters with a nominal value with a plus sign, +25.4mm</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in millimeters that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +25.4mm;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-056.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-056.xht
new file mode 100644
index 0000000000..0c1350e24a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-056.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a minimum minus one (negative) value, -1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in inches and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1in;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-057.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-057.xht
new file mode 100644
index 0000000000..eb28cd026e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-057.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a minimum value, 0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in inches that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0in;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-058.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-058.xht
new file mode 100644
index 0000000000..86ecc12008
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-058.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a minimum plus one value, 1in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-058-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in inches that sets the width of the top border." />
+ <style type="text/css">
+ #wrapper
+ {
+ background: red;
+ height: 1in;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide filled black rectangle and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-059.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-059.xht
new file mode 100644
index 0000000000..eb9e327c1d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-059.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a minimum value with a minus sign, -0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in inches that that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0in;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-060.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-060.xht
new file mode 100644
index 0000000000..8992a73014
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-060.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a minimum value with a plus sign, +0in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in inches that that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0in;
+ border-top-color: red;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-061.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-061.xht
new file mode 100644
index 0000000000..8fbec41cf1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-061.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a nominal value, 3in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in inches that sets the width of the top border." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 3in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 3in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-062.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-062.xht
new file mode 100644
index 0000000000..b0b8362a4a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-062.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using inches with a nominal value with a plus sign, +3in</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-061-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in inches that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 3in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +3in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-067.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-067.xht
new file mode 100644
index 0000000000..f375f52a7f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-067.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a minimum minus one (negative) value, -1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in 'em' units and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1em;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-068.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-068.xht
new file mode 100644
index 0000000000..b18b7a6cf8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-068.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a minimum value, 0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in 'em' units that sets the width of the top border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0em;
+ border-top-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-069.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-069.xht
new file mode 100644
index 0000000000..467a007bbd
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-069.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a minimum plus one value, 1em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-069-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in 'em' units that sets the width of the top border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ }
+ #wrapper
+ {
+ background: red;
+ height: 1em;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1em;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-070.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-070.xht
new file mode 100644
index 0000000000..c95c21b184
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-070.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a minimum value with a minus sign, -0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in 'em' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0em;
+ border-top-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-071.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-071.xht
new file mode 100644
index 0000000000..ba054b8e5d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-071.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a minimum value with a plus sign, +0em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in 'em' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0em;
+ border-top-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-072.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-072.xht
new file mode 100644
index 0000000000..775723c093
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-072.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a nominal value, 6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in 'em' units that sets the width of the top border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 120px;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 6em;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-073.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-073.xht
new file mode 100644
index 0000000000..36c44298ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-073.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'em' units with a nominal value with a plus sign, +6em</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-072-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in 'em' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 120px;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +6em;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-078.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-078.xht
new file mode 100644
index 0000000000..fadd6aef64
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-078.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a minimum minus one (negative) value, -1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-012-ref.xht" />
+
+ <meta name="flags" content="invalid" />
+ <meta name="assert" content="The 'border-top-width' property does not support a negative length value in 'ex' units and resets to the initial value." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ }
+ #span1
+ {
+ border-top-width: -1ex;
+ }
+ #span2
+ {
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
+ <div>
+ <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-079.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-079.xht
new file mode 100644
index 0000000000..325957d230
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-079.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a minimum value, 0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in 'ex' units that sets the width of the top border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0ex;
+ border-top-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-080.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-080.xht
new file mode 100644
index 0000000000..3259487ea0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-080.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a minimum plus one value, 1ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-025-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in 'ex' units that sets the width of the top border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ font: 20px/1 Ahem;
+ }
+ #wrapper
+ {
+ background: red;
+ height: 1ex;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1ex;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p>
+ <div id="wrapper">
+ <div id="test"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-081.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-081.xht
new file mode 100644
index 0000000000..326d840983
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-081.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a minimum value with a minus sign, -0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in 'ex' units that that has a minus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0ex;
+ border-top-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-082.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-082.xht
new file mode 100644
index 0000000000..e90fa01cc1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-082.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a minimum value with a plus sign, +0ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value in 'ex' units that that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0ex;
+ border-top-color: red;
+ font: 20px/1 Ahem;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-083.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-083.xht
new file mode 100644
index 0000000000..81d803a430
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-083.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a nominal value, 6ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in 'ex' units that sets the width of the top border." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 6ex;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-084.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-084.xht
new file mode 100644
index 0000000000..25eecee5c1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-084.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width using 'ex' units with a nominal value with a plus sign, +6ex</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-bottom-width-006-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-top-width' property supports a nominal length value in 'ex' units that has a plus sign before it." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ display: inline-block;
+ font: 20px/1 Ahem;
+ width: 1in;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 5px;
+ }
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: +6ex;
+ height: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-089.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-089.xht
new file mode 100644
index 0000000000..efebf986a1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-089.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to negative zero with no units, -0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value with no units that has a minus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: -0;
+ border-top-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-090.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-090.xht
new file mode 100644
index 0000000000..b7f48a02f6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-090.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to zero with no units, 0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value with no units." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 0;
+ border-top-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-091.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-091.xht
new file mode 100644
index 0000000000..c08bc263cf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-091.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to positive zero with no units, +0</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a minimum length value with no units that has a plus sign before it." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: +0;
+ border-top-color: red;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-092.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-092.xht
new file mode 100644
index 0000000000..f9ba011f97
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-092.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to thin</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property supports a value of thin." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: thin;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a thin line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-093.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-093.xht
new file mode 100644
index 0000000000..aafb5aa050
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-093.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to medium</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property supports a value of medium." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: medium;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-094.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-094.xht
new file mode 100644
index 0000000000..c619d97af8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-094.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to thick</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property supports a value of thick." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: thick;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a line.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-095-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-095-ref.xht
new file mode 100644
index 0000000000..28004ecf43
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-095-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ body {padding-top: 116px;}
+
+ div
+ {
+ background-color: black;
+ height: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled black square.</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-095.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-095.xht
new file mode 100644
index 0000000000..7083354fa4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-095.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width set to inherit</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-top-width-095-ref.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property supports a value of inherit and gets its computed value from its parent." />
+ <style type="text/css">
+ body
+ {
+ border-top-color: transparent;
+ border-top-style: solid;
+ border-top-width: 1in;
+ padding-top: 20px;
+ }
+ div
+ {
+ border-top-color: black;
+ border-top-style: solid;
+ border-top-width: inherit;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-001.xht
new file mode 100644
index 0000000000..f2a6518a18
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-001.xht
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-002.xht
new file mode 100644
index 0000000000..02c5c3a243
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-003.xht
new file mode 100644
index 0000000000..c37174cd40
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+
+ <div id="test">
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-004.xht
new file mode 100644
index 0000000000..a176ec969a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-005.xht
new file mode 100644
index 0000000000..82694ed2d9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .column
+ {
+ display: table-column;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"><div class="column"></div><div class="column"></div></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-006.xht
new file mode 100644
index 0000000000..b2b0ca905f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-column;
+ width: 1in;
+ }
+
+ .column
+ {
+ display: table-column;
+ }
+
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ table-layout: fixed;
+ width: 2in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div id="test"></div><div class="column"></div>
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-007.xht
new file mode 100644
index 0000000000..9fb6d28b36
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-008.xht
new file mode 100644
index 0000000000..ee7705c15e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-008.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of inline." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: inline;
+ font-size: 1in;
+ }
+ p
+ {
+ margin-bottom: 1.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black rectangle.</p>
+ <div>&nbsp;&nbsp;&nbsp;&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-009.xht
new file mode 100644
index 0000000000..4851537fa5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-009.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: block;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-010.xht
new file mode 100644
index 0000000000..d77ab78f70
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-010.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-top-width' The 'property' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: list-item;
+ margin-left: 2em;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square and a marker bullet slightly below and on its left-hand side.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-012.xht
new file mode 100644
index 0000000000..f28ad49b3f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: inline-block;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant"></span>
+ <span class="block-descendant"></span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-013.xht
new file mode 100644
index 0000000000..4321228b75
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-014.xht
new file mode 100644
index 0000000000..2623c38d16
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-06 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: inline-table;
+ table-layout: fixed;
+ width: 1in;
+ }
+ .row
+ {
+ display: table-row;
+ }
+ .cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+
+ <div id="table">
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+
+ <div class="row">
+ <div class="cell"></div><div class="cell"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-015.xht
new file mode 100644
index 0000000000..18b03d705e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-top-width-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-top-width applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
+
+ <meta name="assert" content="The 'border-top-width' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-top-style: solid;
+ border-top-width: 1in;
+ display: table-caption;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled black square.</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-001.xht
new file mode 100644
index 0000000000..a55ba5d6c8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set using one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-left-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' shorthand property set using one value correctly sets the border width for the appropriate sides of an element." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 0.5in;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-top: 5px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-002-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-002-ref.xht
new file mode 100644
index 0000000000..d129e37c80
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-002-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1in;
+ margin-bottom: 5px;
+ width: 0.5in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-002.xht
new file mode 100644
index 0000000000..0ca526c53d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-002.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set using two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-002-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' shorthand property set using two values correctly sets the border width for the appropriate sides of an element." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 0.5in 0.25in;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-top: 5px;
+ width: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-003-ref.xht
new file mode 100644
index 0000000000..31cee05975
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-bottom: 5px;
+ width: 0.5in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-003.xht
new file mode 100644
index 0000000000..2b6b2ceac5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-003.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set using three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-003-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' shorthand property set using three values correctly sets the border width for the appropriate sides of an element." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 0.5in 0.25in 0.75in;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-top: 5px;
+ width: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-004-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-004-ref.xht
new file mode 100644
index 0000000000..e3199705b9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-004-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-bottom: 5px;
+ width: 1.25in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-004.xht
new file mode 100644
index 0000000000..d95baa3329
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-004.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set using four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-004-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' shorthand property set using four values correctly sets the border width for the appropriate sides of an element." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 0.5in 0.25in 0.75in 1in;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-top: 5px;
+ width: 1.25in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-005-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-005-ref.xht
new file mode 100644
index 0000000000..3a531254ff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-005-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 48px;
+ margin-top: 64px;
+ width: 1in;
+ }
+
+ div + div {margin-top: 5px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-005.xht
new file mode 100644
index 0000000000..cf75d869c2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-005.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set to 'inherit', inheriting one value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-005-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property set to 'inherit' correctly inherits the one value specified on the parent element." />
+ <style type="text/css">
+ #parent
+ {
+ border-color: transparent;
+ border-style: solid;
+ border-width: 0.5in;
+ }
+ #test
+ {
+ border-style: solid;
+ border-width: inherit;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-top: 5px;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="parent">
+ <div id="test"></div>
+ <div id="reference"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-006-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-006-ref.xht
new file mode 100644
index 0000000000..8e7be73309
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-006-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1in;
+ margin-left: 24px;
+ margin-top: 64px;
+ width: 0.5in;
+ }
+
+ div + div {margin-top: 5px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-006.xht
new file mode 100644
index 0000000000..9881f08d69
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-006.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set to 'inherit', inheriting two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-006-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property set to 'inherit' correctly inherits the two values specified on the parent element." />
+ <style type="text/css">
+ #parent
+ {
+ border-color: transparent;
+ border-style: solid;
+ border-width: 0.5in 0.25in;
+ }
+ #test
+ {
+ border-style: solid;
+ border-width: inherit;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1in;
+ margin-top: 5px;
+ width: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="parent">
+ <div id="test"></div>
+ <div id="reference"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-007-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-007-ref.xht
new file mode 100644
index 0000000000..fac0947769
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-007-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-left: 24px;
+ margin-top: 64px;
+ width: 0.5in;
+ }
+
+ div + div
+ {
+ margin-bottom: 80px;
+ margin-top: 5px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-007.xht
new file mode 100644
index 0000000000..b1fec98e3a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-007.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set to 'inherit', inheriting three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-007-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property set to 'inherit' correctly inherits the three values specified on the parent element." />
+ <style type="text/css">
+ #parent
+ {
+ border-color: transparent;
+ border-style: solid;
+ border-width: 0.5in 0.25in 0.75in;
+ }
+ #test
+ {
+ border-style: solid;
+ border-width: inherit;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-top: 5px;
+ width: 0.5in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="parent">
+ <div id="test"></div>
+ <div id="reference"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-008-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-008-ref.xht
new file mode 100644
index 0000000000..eb0792e945
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-008-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-left: 1in;
+ margin-top: 64px;
+ width: 1.25in;
+ }
+
+ div + div
+ {
+ margin-bottom: 80px;
+ margin-top: 5px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+
+ <div></div>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-008.xht
new file mode 100644
index 0000000000..f82e185b5a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-008.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width shorthand property set to 'inherit', inheriting four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-008-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property set to 'inherit' correctly inherits the four values specified on the parent element." />
+ <style type="text/css">
+ #parent
+ {
+ border-color: transparent;
+ border-style: solid;
+ border-width: 0.5in 0.25in 0.75in 1in;
+ }
+ #test
+ {
+ border-style: solid;
+ border-width: inherit;
+ width: 0;
+ }
+ #reference
+ {
+ background-color: black;
+ height: 1.25in;
+ margin-top: 5px;
+ width: 1.25in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the 2 filled black rectangles have the <strong>same size</strong>.</p>
+ <div id="parent">
+ <div id="test"></div>
+ <div id="reference"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-009-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-009-ref.xht
new file mode 100644
index 0000000000..f889d592b0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-009-ref.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ p {color: green;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if this sentence has <strong>no border</strong>.</p>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-009.xht
new file mode 100644
index 0000000000..91180bb8cb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-009.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: CSS Parsing: Negative Border Widths</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-21 -->
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/003.xml" type="application/xhtml+xml"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
+ <link rel="match" href="border-width-009-ref.xht" />
+
+ <meta name="flags" content="invalid"/>
+ <style type="text/css">
+ p { color: green; border-color: red; border-width: 0; border-width: -10px; border-style: solid; display: block; }
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if this sentence has <strong>no border</strong>.
+ </p>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-010-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-010-ref.xht
new file mode 100644
index 0000000000..7cb24dda85
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-010-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {border: green solid 8px;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <div>Test passes if this sentence has a <strong>green border</strong>.</div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-010.xht
new file mode 100644
index 0000000000..96aff75d59
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-010.xht
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: CSS Parsing: Negative Border Widths</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-21 -->
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/004.xml" type="application/xhtml+xml"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
+ <link rel="match" href="border-width-010-ref.xht" />
+
+ <meta name="flags" content="invalid"/>
+ <style type="text/css">
+ .test { border-color: green; border-width: 8px; border-style: solid; border: red solid -1px; display: block; }
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ Test passes if this sentence has a <strong>green border</strong>.
+ </div>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-011.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-011.xht
new file mode 100644
index 0000000000..ae8d514ab3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-011.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: border-width: inherit</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/width/001.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties"/>
+ <link rel="help" href="https://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.6.2.1"/>
+ <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2768"/>
+ <link rel="match" href="../reference/ref-this-text-should-be-green.xht" />
+
+ <style type="text/css">
+ /* this results in a specified value of 2em and a computed value of 0 as border-style is none */
+ body { border-width: 2em; }
+ /* this then inherits from the above border-width, and checks the computed value is inherited */
+ p { border-width: inherit; border-style: solid; border-color: red; color: green; }
+ </style>
+ </head>
+ <body>
+ <p>This text should be green.</p>
+
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-012.xht
new file mode 100644
index 0000000000..18d0b648f4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-012.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: Border-width: inherit - border-style: hidden</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="help" title="Section 8.5.1 Border width" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta content="The border-width computed value is '0' if the border style is 'none' or 'hidden'." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #parent
+ {
+ border-color: red;
+ border-style: hidden;
+ border-width: 50px;
+ }
+
+ #child
+ {
+ border-color: red;
+ border-style: solid;
+ border-width: inherit;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is <strong>no red</strong>.</p>
+
+ <div id="parent">
+ <div id="child"></div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-013.xht
new file mode 100644
index 0000000000..026733c1f2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-013.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: Border-width - length specified with a percentage unit</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="help" title="Section 8.5.1 Border width" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta content="invalid" name="flags" />
+ <meta content="A length value specified with a percentage unit does not apply to 'border-width'." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ #parent
+ {
+ height: 300px;
+ width: 400px;
+ }
+
+ #child
+ {
+ border-color: red;
+ border-style: solid;
+ border-width: 0px;
+ border-width: 8%;
+ width: 200px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is <strong>no red</strong>.</p>
+
+ <div id="parent">
+ <div id="child"></div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-014-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-014-ref.xht
new file mode 100644
index 0000000000..022f75498f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-014-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 32px;
+ margin: 48px 32px 32px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a thick green bar across the page.</p>
+
+ <div></div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-014.xht
new file mode 100644
index 0000000000..4f44d8452b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-014.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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Test: Border-width: inherit - border-style inherit</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="help" title="Section 8.5.1 Border width" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-014-ref.xht" />
+
+
+ <style type="text/css"><![CDATA[
+ #grand-parent
+ {
+ border-color: transparent;
+ border-style: solid;
+ border-width: 1em;
+ }
+
+ #parent
+ {
+ border-color: transparent;
+ border-style: inherit;
+ border-width: inherit;
+ }
+
+ #child
+ {
+ border-color: green;
+ border-style: inherit;
+ border-width: inherit;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a thick green bar across the page.</p>
+
+ <div id="grand-parent">
+ <div id="parent">
+ <div id="child"></div>
+ </div>
+ </div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-001.xht
new file mode 100644
index 0000000000..78137cba2b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-row-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-row-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-row-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-002.xht
new file mode 100644
index 0000000000..a23872b7ab
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-header-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-header-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-header-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ margin: 1in;
+ table-layout: fixed;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-003.xht
new file mode 100644
index 0000000000..e1044a6c92
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-footer-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-footer-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-footer-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-004.xht
new file mode 100644
index 0000000000..467efe9831
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-004.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-row</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-row." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-row;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="test">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-005.xht
new file mode 100644
index 0000000000..ea1e144c87
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-005.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-column-group</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-column-group." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-column-group;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-006.xht
new file mode 100644
index 0000000000..31a586f405
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-006.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-column</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-column." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-column;
+ }
+ #table
+ {
+ border-collapse: collapse;
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-007.xht
new file mode 100644
index 0000000000..54e5a64545
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-007.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-cell</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-cell." />
+ <style type="text/css">
+ #table
+ {
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008-ref.xht
new file mode 100644
index 0000000000..1910878bfb
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ border: black solid 90px;
+ height: 90px;
+ margin-top: 45px;
+ width: 90px;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008.xht
new file mode 100644
index 0000000000..d310ebb65c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-008.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display inline</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-applies-to-008-ref.xht" />
+
+ <meta name="flags" content="ahem" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of inline." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-width: 90px;
+ display: inline;
+ font: 90px/1 Ahem;
+ }
+ p
+ {
+ margin-bottom: 135px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+ <div>&nbsp;</div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009-ref.xht
new file mode 100644
index 0000000000..71eb2ac6b9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009-ref.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div
+ {
+ border: black solid 1in;
+ height: 1in;
+ width: 1in;
+ }
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+
+ <div></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009.xht
new file mode 100644
index 0000000000..79b79bf11b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-009.xht
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-applies-to-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of block." />
+ <style type="text/css">
+ span
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: block;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+ <div>
+ <span></span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-010.xht
new file mode 100644
index 0000000000..1c9816cdee
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-010.xht
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display list-item</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of list-item." />
+ <style type="text/css">
+ div
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: list-item;
+ height: 1in;
+ margin-left: 2em;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a marker bullet on the left-hand side of large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-012.xht
new file mode 100644
index 0000000000..cc5dcc4a60
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-012.xht
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display inline-block</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-08 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-applies-to-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of inline-block." />
+ <style type="text/css">
+ span#inline-block
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: inline-block;
+ width: 1in;
+ }
+
+ span.block-descendant
+ {
+ color: white;
+ display: block;
+ height: 0.5in;
+ }
+
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+
+ <div>
+ <span id="inline-block">
+ <span class="block-descendant">a</span>
+ <span class="block-descendant">b</span>
+ </span>
+ </div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-013.xht
new file mode 100644
index 0000000000..5922796416
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-013.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table." />
+ <style type="text/css">
+ #table
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-014.xht
new file mode 100644
index 0000000000..d791bcb7f8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-014.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display inline-table</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of inline-table." />
+ <style type="text/css">
+ #table
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: inline-table;
+ height: 1in;
+ margin: 1in;
+ table-layout: fixed;
+ width: 1in;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 1in;
+ width: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a box below with four sides that are the same width. (Note: this will make a large square surrounding a smaller white square.)</p>
+ <div id="table">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-015.xht
new file mode 100644
index 0000000000..432bc8e562
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-applies-to-015.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width applied to element with display table-caption</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-25 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-width" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-applies-to-009-ref.xht" />
+
+ <meta name="assert" content="The 'border-width' property applies to elements with a display of table-caption." />
+ <style type="text/css">
+ #test
+ {
+ border-style: solid;
+ border-width: 1in;
+ display: table-caption;
+ height: 1in;
+ width: 1in;
+ }
+ #table
+ {
+ display: table;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #cell
+ {
+ display: table-cell;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a large square with four black sides that have the same thickness. (Note: Such large square must be surrounding a smaller filled white square.)</p>
+ <div id="table">
+ <div id="test"></div>
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-comparison-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-comparison-001.xht
new file mode 100644
index 0000000000..93a5b1f84e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-comparison-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width - Relation of thin, medium, and thick</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <meta name="assert" content="A border-width set to thin is small than a border-width that is set to medium which is smaller than a border-width that is set to thick." />
+ <style type="text/css">
+ #thin
+ {
+ border-top: thin solid green;
+ height: 20px;
+ }
+ #medium
+ {
+ border-top: medium solid green;
+ height: 20px;
+ }
+ #thick
+ {
+ border-top: thick solid green;
+ height: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the three lines get thicker from top to bottom.</p>
+ <div id="thin"></div>
+ <div id="medium"></div>
+ <div id="thick"></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001-ref.xht
new file mode 100644
index 0000000000..f55b3409af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {line-height: 10px;}
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the border is the same on all edges.</p>
+
+ <div><img src="support/black15x15.png" width="100%" height="10" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="100%" height="10" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001.xht
new file mode 100644
index 0000000000..5da4dd9a72
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-001.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width set using a single value</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-shorthand-001-ref.xht" />
+
+ <meta name="assert" content="Applying a single value to the 'border-width' property applies the value to all sides of the element." />
+ <style type="text/css">
+ div
+ {
+ border-width: 10px;
+ border-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the border is the same on all edges.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002-ref.xht
new file mode 100644
index 0000000000..e26eb71a29
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {line-height: 3px;}
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the left and right borders match in width and are wider than the matching top and bottom borders.</p>
+
+ <div><img src="support/black15x15.png" width="100%" height="3" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="100%" height="3" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002.xht
new file mode 100644
index 0000000000..71998fb3b1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-002.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width set using two values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-shorthand-002-ref.xht" />
+
+ <meta name="assert" content="Applying two values to the border-width property applies the first value to the top and bottom and the second to the left and right." />
+ <style type="text/css">
+ div
+ {
+ border-width: 3px 10px;
+ border-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the left and right borders match in width and are wider than the matching top and bottom borders.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003-ref.xht
new file mode 100644
index 0000000000..b31bbaf4c8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {line-height: 3px;}
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the top border is thinner than all the other borders and the left and right is thinner than the bottom border.</p>
+
+ <div><img src="support/black15x15.png" width="100%" height="3" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="100%" height="30" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003.xht
new file mode 100644
index 0000000000..f779aa6e30
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-003.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width set using three values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-shorthand-003-ref.xht" />
+
+ <meta name="assert" content="Applying three values to the border-width property applies the first value to the top. The second value to the left and right and the third value to the bottom." />
+ <style type="text/css">
+ div
+ {
+ border-width: 3px 10px 30px;
+ border-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top border is thinner than all the other borders and the left and right is thinner than the bottom border.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004-ref.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004-ref.xht
new file mode 100644
index 0000000000..9659875fa3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004-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">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ div {line-height: 3px;}
+
+ img {vertical-align: top;}
+
+ img + img {float: right;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if the four borders are all different widths and they get wider starting from the top, to the right, to the bottom and to the left.</p>
+
+ <div><img src="support/black15x15.png" width="100%" height="3" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="50" height="96" alt="Image download support must be enabled" /><img src="support/black15x15.png" width="10" height="96" alt="Image download support must be enabled" /></div>
+
+ <div><img src="support/black15x15.png" width="100%" height="25" alt="Image download support must be enabled" /></div>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004.xht b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004.xht
new file mode 100644
index 0000000000..46952d3434
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/border-width-shorthand-004.xht
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Border-width set using four values</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
+ <link rel="match" href="border-width-shorthand-004-ref.xht" />
+
+ <meta name="assert" content="Applying four values to the border-width property applies the values top, right, bottom, left, respectively." />
+ <style type="text/css">
+ div
+ {
+ border-width: 3px 10px 25px 50px;
+ border-style: solid;
+ height: 1in;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the four borders are all different widths and they get wider starting from the top, to the right, to the bottom and to the left.</p>
+ <div></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/discrete-no-interpolation.html b/testing/web-platform/tests/css/CSS2/borders/discrete-no-interpolation.html
new file mode 100644
index 0000000000..0268b675f3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/discrete-no-interpolation.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<link rel=author href="mailto:jarhar@chromium.org">
+<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/interpolation-testcommon.js"></script>
+
+<body>
+<script>
+test_no_interpolation({
+ property: 'border-left-style',
+ from: 'initial',
+ to: 'dotted'
+});
+
+test_no_interpolation({
+ property: 'border-right-style',
+ from: 'initial',
+ to: 'dotted'
+});
+
+test_no_interpolation({
+ property: 'border-top-style',
+ from: 'initial',
+ to: 'dotted'
+});
+
+test_no_interpolation({
+ property: 'border-bottom-style',
+ from: 'initial',
+ to: 'dotted'
+});
+</script>
diff --git a/testing/web-platform/tests/css/CSS2/borders/double-border-width-001.xht b/testing/web-platform/tests/css/CSS2/borders/double-border-width-001.xht
new file mode 100644
index 0000000000..83974d9ac2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/double-border-width-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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Double lines border style does not change border width</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" />
+ <meta name="assert" content="The 'double' 'border-style' does not change the size of the border width. The sum of the two lines and the space need to equal the border width." />
+ <style type="text/css">
+ div
+ {
+ position: relative;
+ width: 1in;
+ }
+ #test
+ {
+ border-top-style: double;
+ border-top-width: 1in;
+ }
+ #reference
+ {
+ background: blue;
+ height: 1in;
+ left: 1.1in;
+ position: absolute;
+ top: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the top edge of the top-most black box is aligned with the top of the blue box and the bottom edge of the bottom-most black box is aligned with the bottom edge of the blue box.</p>
+ <div>
+ <div id="test"></div>
+ <div id="reference"></div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/groove-default.html b/testing/web-platform/tests/css/CSS2/borders/groove-default.html
new file mode 100644
index 0000000000..c9028b9a2f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/groove-default.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<title>CSS Test: Groove border with default color should actually show a groove border</title>
+<link rel="help" href="https://drafts.csswg.org/css2/box.html#border-style-properties">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488294">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="mismatch" href="groove-ridge-default-notref.html">
+<style>
+ div {
+ width: 100px;
+ height: 100px;
+ border: 10px groove;
+ }
+</style>
+<div></div>
diff --git a/testing/web-platform/tests/css/CSS2/borders/groove-ridge-default-notref.html b/testing/web-platform/tests/css/CSS2/borders/groove-ridge-default-notref.html
new file mode 100644
index 0000000000..5ead6432cc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/groove-ridge-default-notref.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<title>CSS Test Reference</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<style>
+ div {
+ width: 100px;
+ height: 100px;
+ border: 10px solid;
+ }
+</style>
+<div></div>
diff --git a/testing/web-platform/tests/css/CSS2/borders/ltr-borders-001.xht b/testing/web-platform/tests/css/CSS2/borders/ltr-borders-001.xht
new file mode 100644
index 0000000000..e2359d8afc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/ltr-borders-001.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">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Borders drawn in visual order even when direction set to left-to-right</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model" />
+ <meta name="flags" content="ahem image" />
+ <meta name="assert" content="Borders are drawn in visual order depending on the direction of content." />
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css">
+ div
+ {
+ margin-top: 10px;
+ width: 1.5in;
+ }
+ span
+ {
+ border-left: solid blue;
+ border-right: solid orange;
+ font: 1.5em/1em Ahem;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the shape of the boxes below match the same shape as the reference image. It is ok if the scale is different.</p>
+ <div>
+ <span>xx xx xx xx xx xx</span>
+ </div>
+ <div>
+ Reference:<br />
+ <img alt="Image download support must be enabled" src="support/ltr-borders-001.png" />
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/ridge-default.html b/testing/web-platform/tests/css/CSS2/borders/ridge-default.html
new file mode 100644
index 0000000000..4bd0bdf3ae
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/ridge-default.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<title>CSS Test: ridge border with default color should actually show a ridge border</title>
+<link rel="help" href="https://drafts.csswg.org/css2/box.html#border-style-properties">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488294">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="mismatch" href="groove-ridge-default-notref.html">
+<style>
+ div {
+ width: 100px;
+ height: 100px;
+ border: 10px ridge;
+ }
+</style>
+<div></div>
diff --git a/testing/web-platform/tests/css/CSS2/borders/rtl-borders-001.xht b/testing/web-platform/tests/css/CSS2/borders/rtl-borders-001.xht
new file mode 100644
index 0000000000..4894bf99f8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/rtl-borders-001.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Borders drawn in visual order even when direction set to right-to-left</title>
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model" />
+ <meta name="assert" content="Borders are drawn in visual order depending on the direction of content." />
+ <style type="text/css">
+ div
+ {
+ width: 0.9in;
+ }
+ span
+ {
+ border-left: solid blue;
+ border-right: solid orange;
+ direction: rtl;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if the first line of "Filler Text" has an orange border on its right, and the last line of "Filler Text" has a blue border on its left.</p>
+ <div>
+ <span>Filler Text Filler Text Filler Text</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/shand-border-000-ref.xht b/testing/web-platform/tests/css/CSS2/borders/shand-border-000-ref.xht
new file mode 100644
index 0000000000..6428931d24
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/shand-border-000-ref.xht
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS Reftest Reference</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+
+ <style type="text/css"><![CDATA[
+ p {border: green solid medium;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>This text should have a green border.</p>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/shand-border-000.xht b/testing/web-platform/tests/css/CSS2/borders/shand-border-000.xht
new file mode 100644
index 0000000000..6db5a72228
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/shand-border-000.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Shorthand Properties (border)</title>
+ <link rel="author" title="L. David Baron" href="https://dbaron.org/"/>
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
+ <link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand"/>
+ <link rel="match" href="shand-border-000-ref.xht" />
+
+ <style type="text/css">
+
+ body { background: white; }
+ span { color: black; }
+
+ p { color: red; }
+ p { border-color: red; }
+ p { border: medium solid; }
+ p { color: green; }
+
+ </style>
+ </head>
+ <body>
+
+ <p><span>This text should have a green border.</span></p>
+
+ </body>
+</html>
diff --git a/testing/web-platform/tests/css/CSS2/borders/shand-border-001.xht b/testing/web-platform/tests/css/CSS2/borders/shand-border-001.xht
new file mode 100644
index 0000000000..11bd85b5b0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/shand-border-001.xht
@@ -0,0 +1,74 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+
+ <title>CSS test: Shorthand Properties (border) - maximum of 3 border subproperties</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" title="8.5.4 Border shorthand properties" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand" title="1.4.3 Shorthand properties" />
+ <link rel="match" href="../reference/ref-if-there-is-no-red.xht" />
+
+ <meta content="invalid" name="flags" />
+ <meta content="The 'border' shorthand property, 'border-top' shorthand property and 'border-bottom' shorthand property accept a maximum of 3 border subproperties." name="assert" />
+
+ <style type="text/css"><![CDATA[
+ div#first-test {border: red solid 16px red;}
+
+ div#second-test {border-top: red solid 16px red;}
+
+ div#third-test {border-bottom: red solid 16px red;}
+
+ div#fourth-test {border: red 16px solid red;}
+
+ div#fifth-test {border-top: red 16px solid red;}
+
+ div#sixth-test {border-bottom: red 16px solid red;}
+
+ div#seventh-test {border: red solid thick red;}
+
+ div#eightth-test {border-top: red solid thick red;}
+
+ div#ninth-test {border-bottom: red solid thick red;}
+
+ div#tenth-test {border: red thick solid red;}
+
+ div#eleventh-test {border-top: red thick solid red;}
+
+ div#twelveth-test {border-bottom: red thick solid red;}
+ ]]></style>
+
+ </head>
+
+ <body>
+
+ <p>Test passes if there is <strong>no red</strong>.</p>
+
+ <div id="first-test"></div>
+
+ <div id="second-test"></div>
+
+ <div id="third-test"></div>
+
+ <div id="fourth-test"></div>
+
+ <div id="fifth-test"></div>
+
+ <div id="sixth-test"></div>
+
+ <div id="seventh-test"></div>
+
+ <div id="eightth-test"></div>
+
+ <div id="ninth-test"></div>
+
+ <div id="tenth-test"></div>
+
+ <div id="eleventh-test"></div>
+
+ <div id="twelveth-test"></div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/000001_color.png b/testing/web-platform/tests/css/CSS2/borders/support/000001_color.png
new file mode 100644
index 0000000000..44e8f5fc3f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/000001_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/000002_color.png b/testing/web-platform/tests/css/CSS2/borders/support/000002_color.png
new file mode 100644
index 0000000000..6825fc50d3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/000002_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/00007f_color.png b/testing/web-platform/tests/css/CSS2/borders/support/00007f_color.png
new file mode 100644
index 0000000000..e650990901
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/00007f_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/000080_color.png b/testing/web-platform/tests/css/CSS2/borders/support/000080_color.png
new file mode 100644
index 0000000000..a45e346be3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/000080_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/0000fc_color.png b/testing/web-platform/tests/css/CSS2/borders/support/0000fc_color.png
new file mode 100644
index 0000000000..91d607c63f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/0000fc_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/0000fe_color.png b/testing/web-platform/tests/css/CSS2/borders/support/0000fe_color.png
new file mode 100644
index 0000000000..85b46c91f3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/0000fe_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/000100_color.png b/testing/web-platform/tests/css/CSS2/borders/support/000100_color.png
new file mode 100644
index 0000000000..f588ea6a54
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/000100_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/000200_color.png b/testing/web-platform/tests/css/CSS2/borders/support/000200_color.png
new file mode 100644
index 0000000000..96780cea16
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/000200_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/000_color.png
new file mode 100644
index 0000000000..77ff0976b2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/001_color.png b/testing/web-platform/tests/css/CSS2/borders/support/001_color.png
new file mode 100644
index 0000000000..07142d0174
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/001_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/007f00_color.png b/testing/web-platform/tests/css/CSS2/borders/support/007f00_color.png
new file mode 100644
index 0000000000..795241a77b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/007f00_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/008000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/008000_color.png
new file mode 100644
index 0000000000..7d36483c20
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/008000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/009_color.png b/testing/web-platform/tests/css/CSS2/borders/support/009_color.png
new file mode 100644
index 0000000000..59c8c225b7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/009_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/00e_color.png b/testing/web-platform/tests/css/CSS2/borders/support/00e_color.png
new file mode 100644
index 0000000000..890627ef9f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/00e_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/00f_color.png b/testing/web-platform/tests/css/CSS2/borders/support/00f_color.png
new file mode 100644
index 0000000000..d86f444a9e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/00f_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/00fc00_color.png b/testing/web-platform/tests/css/CSS2/borders/support/00fc00_color.png
new file mode 100644
index 0000000000..45b2d4e491
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/00fc00_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/00fe00_color.png b/testing/web-platform/tests/css/CSS2/borders/support/00fe00_color.png
new file mode 100644
index 0000000000..d87dfad1a7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/00fe00_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/010000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/010000_color.png
new file mode 100644
index 0000000000..4fb66c452b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/010000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/010101_color.png b/testing/web-platform/tests/css/CSS2/borders/support/010101_color.png
new file mode 100644
index 0000000000..3d12cdf283
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/010101_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/010_color.png b/testing/web-platform/tests/css/CSS2/borders/support/010_color.png
new file mode 100644
index 0000000000..aa02c2fc07
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/010_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/020000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/020000_color.png
new file mode 100644
index 0000000000..b9081b2c52
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/020000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/020202_color.png b/testing/web-platform/tests/css/CSS2/borders/support/020202_color.png
new file mode 100644
index 0000000000..4609f7e32b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/020202_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/090_color.png b/testing/web-platform/tests/css/CSS2/borders/support/090_color.png
new file mode 100644
index 0000000000..08486ddd2e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/090_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/0e0_color.png b/testing/web-platform/tests/css/CSS2/borders/support/0e0_color.png
new file mode 100644
index 0000000000..9b3da18419
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/0e0_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/0f0_color.png b/testing/web-platform/tests/css/CSS2/borders/support/0f0_color.png
new file mode 100644
index 0000000000..b79feb73e9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/0f0_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/100_color.png b/testing/web-platform/tests/css/CSS2/borders/support/100_color.png
new file mode 100644
index 0000000000..3252b1203a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/100_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/111_color.png b/testing/web-platform/tests/css/CSS2/borders/support/111_color.png
new file mode 100644
index 0000000000..3f87769d3e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/111_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/1x1-green.png b/testing/web-platform/tests/css/CSS2/borders/support/1x1-green.png
new file mode 100644
index 0000000000..b98ca0ba0a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/1x1-green.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/1x1-lime.png b/testing/web-platform/tests/css/CSS2/borders/support/1x1-lime.png
new file mode 100644
index 0000000000..cb397fb090
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/1x1-lime.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/1x1-maroon.png b/testing/web-platform/tests/css/CSS2/borders/support/1x1-maroon.png
new file mode 100644
index 0000000000..3f86b07219
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/1x1-maroon.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/1x1-navy.png b/testing/web-platform/tests/css/CSS2/borders/support/1x1-navy.png
new file mode 100644
index 0000000000..9b9a03955b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/1x1-navy.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/1x1-red.png b/testing/web-platform/tests/css/CSS2/borders/support/1x1-red.png
new file mode 100644
index 0000000000..6bd73ac101
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/1x1-red.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/1x1-white.png b/testing/web-platform/tests/css/CSS2/borders/support/1x1-white.png
new file mode 100644
index 0000000000..dd43faec54
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/1x1-white.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/60x60-gg-rr.png b/testing/web-platform/tests/css/CSS2/borders/support/60x60-gg-rr.png
new file mode 100644
index 0000000000..84f5b2a4f1
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/60x60-gg-rr.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/60x60-green.png b/testing/web-platform/tests/css/CSS2/borders/support/60x60-green.png
new file mode 100644
index 0000000000..b3c8cf3eb4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/60x60-green.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/7f0000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/7f0000_color.png
new file mode 100644
index 0000000000..73c14d8efc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/7f0000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/7f7f7f_color.png b/testing/web-platform/tests/css/CSS2/borders/support/7f7f7f_color.png
new file mode 100644
index 0000000000..96b704d3bf
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/7f7f7f_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/800000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/800000_color.png
new file mode 100644
index 0000000000..5e366ce05a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/800000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/808080_color.png b/testing/web-platform/tests/css/CSS2/borders/support/808080_color.png
new file mode 100644
index 0000000000..86da9d7b5e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/808080_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/900_color.png b/testing/web-platform/tests/css/CSS2/borders/support/900_color.png
new file mode 100644
index 0000000000..7ebcd4d596
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/900_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/999_color.png b/testing/web-platform/tests/css/CSS2/borders/support/999_color.png
new file mode 100644
index 0000000000..a6732b17c9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/999_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/a-green.css b/testing/web-platform/tests/css/CSS2/borders/support/a-green.css
new file mode 100644
index 0000000000..b0dbb071d5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/a-green.css
@@ -0,0 +1 @@
+.a { color: green; }
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/aqua_color.png b/testing/web-platform/tests/css/CSS2/borders/support/aqua_color.png
new file mode 100644
index 0000000000..0a26c7d00d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/aqua_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/b-green.css b/testing/web-platform/tests/css/CSS2/borders/support/b-green.css
new file mode 100644
index 0000000000..a0473f5ca2
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/b-green.css
@@ -0,0 +1 @@
+.b { color: green; } \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/black15x15.png b/testing/web-platform/tests/css/CSS2/borders/support/black15x15.png
new file mode 100644
index 0000000000..b1bbef2cd5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/black15x15.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/blue15x15.png b/testing/web-platform/tests/css/CSS2/borders/support/blue15x15.png
new file mode 100644
index 0000000000..89de32fdb8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/blue15x15.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/c-red.css b/testing/web-platform/tests/css/CSS2/borders/support/c-red.css
new file mode 100644
index 0000000000..d4ba5c64e9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/c-red.css
@@ -0,0 +1 @@
+.c { color: red; } \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/cat.png b/testing/web-platform/tests/css/CSS2/borders/support/cat.png
new file mode 100644
index 0000000000..85dd732481
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/cat.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/diamond.png b/testing/web-platform/tests/css/CSS2/borders/support/diamond.png
new file mode 100644
index 0000000000..51112efc7c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/diamond.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/e00_color.png b/testing/web-platform/tests/css/CSS2/borders/support/e00_color.png
new file mode 100644
index 0000000000..099ac40636
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/e00_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/eee_color.png b/testing/web-platform/tests/css/CSS2/borders/support/eee_color.png
new file mode 100644
index 0000000000..0fee0d2701
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/eee_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/f00_color.png b/testing/web-platform/tests/css/CSS2/borders/support/f00_color.png
new file mode 100644
index 0000000000..e04c3e1b79
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/f00_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/fc0000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/fc0000_color.png
new file mode 100644
index 0000000000..08db9a3d40
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/fc0000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/fcfcfc_color.png b/testing/web-platform/tests/css/CSS2/borders/support/fcfcfc_color.png
new file mode 100644
index 0000000000..1f60f7f655
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/fcfcfc_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/fe0000_color.png b/testing/web-platform/tests/css/CSS2/borders/support/fe0000_color.png
new file mode 100644
index 0000000000..a37fde2585
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/fe0000_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/fefefe_color.png b/testing/web-platform/tests/css/CSS2/borders/support/fefefe_color.png
new file mode 100644
index 0000000000..aaf3e29683
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/fefefe_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/fff_color.png b/testing/web-platform/tests/css/CSS2/borders/support/fff_color.png
new file mode 100644
index 0000000000..dae1772055
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/fff_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/fuchsia_color.png b/testing/web-platform/tests/css/CSS2/borders/support/fuchsia_color.png
new file mode 100644
index 0000000000..65e6878bb4
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/fuchsia_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/green15x15.png b/testing/web-platform/tests/css/CSS2/borders/support/green15x15.png
new file mode 100644
index 0000000000..51741584a0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/green15x15.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/ltr-borders-001.png b/testing/web-platform/tests/css/CSS2/borders/support/ltr-borders-001.png
new file mode 100644
index 0000000000..83fbfc0d07
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/ltr-borders-001.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/maroon_color.png b/testing/web-platform/tests/css/CSS2/borders/support/maroon_color.png
new file mode 100644
index 0000000000..a85b5ae150
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/maroon_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/olive_color.png b/testing/web-platform/tests/css/CSS2/borders/support/olive_color.png
new file mode 100644
index 0000000000..ba0173f374
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/olive_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rgr-grg.png b/testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rgr-grg.png
new file mode 100644
index 0000000000..9b88fbd811
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rgr-grg.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rrg-rgg.png b/testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rrg-rgg.png
new file mode 100644
index 0000000000..fcf4f3fd7d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/pattern-grg-rrg-rgg.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/pattern-rgr-grg-rgr.png b/testing/web-platform/tests/css/CSS2/borders/support/pattern-rgr-grg-rgr.png
new file mode 100644
index 0000000000..d454e3a630
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/pattern-rgr-grg-rgr.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/pattern-tr.png b/testing/web-platform/tests/css/CSS2/borders/support/pattern-tr.png
new file mode 100644
index 0000000000..8b4b25364e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/pattern-tr.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/purple_color.png b/testing/web-platform/tests/css/CSS2/borders/support/purple_color.png
new file mode 100644
index 0000000000..cc5bf7e45a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/purple_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/ring.png b/testing/web-platform/tests/css/CSS2/borders/support/ring.png
new file mode 100644
index 0000000000..061bb94eba
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/ring.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/silver_color.png b/testing/web-platform/tests/css/CSS2/borders/support/silver_color.png
new file mode 100644
index 0000000000..ceb4e510f9
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/silver_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/square-purple.png b/testing/web-platform/tests/css/CSS2/borders/support/square-purple.png
new file mode 100644
index 0000000000..0f522d7872
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/square-purple.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/square-teal.png b/testing/web-platform/tests/css/CSS2/borders/support/square-teal.png
new file mode 100644
index 0000000000..e567f51b91
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/square-teal.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/square-white.png b/testing/web-platform/tests/css/CSS2/borders/support/square-white.png
new file mode 100644
index 0000000000..5853cbb238
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/square-white.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-aqua.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-aqua.png
new file mode 100644
index 0000000000..dd47e28665
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-aqua.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-blue.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-blue.png
new file mode 100644
index 0000000000..bf2759634d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-blue.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-green.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-green.png
new file mode 100644
index 0000000000..0aa79b0c86
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-green.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-lime.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-lime.png
new file mode 100644
index 0000000000..55fd7fdaed
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-lime.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-orange.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-orange.png
new file mode 100644
index 0000000000..d3cd498b52
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-orange.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-red.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-red.png
new file mode 100644
index 0000000000..1caf25c992
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-red.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-white.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-white.png
new file mode 100644
index 0000000000..1a7d4323d7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-white.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/swatch-yellow.png b/testing/web-platform/tests/css/CSS2/borders/support/swatch-yellow.png
new file mode 100644
index 0000000000..1591aa0e2e
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/swatch-yellow.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/teal_color.png b/testing/web-platform/tests/css/CSS2/borders/support/teal_color.png
new file mode 100644
index 0000000000..2fde04855d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/teal_color.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/test-bl.png b/testing/web-platform/tests/css/CSS2/borders/support/test-bl.png
new file mode 100644
index 0000000000..904e24e996
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/test-bl.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/test-br.png b/testing/web-platform/tests/css/CSS2/borders/support/test-br.png
new file mode 100644
index 0000000000..f413ff5c1a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/test-br.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/test-outer.png b/testing/web-platform/tests/css/CSS2/borders/support/test-outer.png
new file mode 100644
index 0000000000..82eeace7fc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/test-outer.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/test-tl.png b/testing/web-platform/tests/css/CSS2/borders/support/test-tl.png
new file mode 100644
index 0000000000..f6ac0ef7e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/test-tl.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/test-tr.png b/testing/web-platform/tests/css/CSS2/borders/support/test-tr.png
new file mode 100644
index 0000000000..59843ae54b
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/test-tr.png
Binary files differ
diff --git a/testing/web-platform/tests/css/CSS2/borders/support/yellow_color.png b/testing/web-platform/tests/css/CSS2/borders/support/yellow_color.png
new file mode 100644
index 0000000000..d0d02000d6
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/borders/support/yellow_color.png
Binary files differ