diff --git a/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-001.html b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-001.html new file mode 100644 index 000000000000..659b1ee417e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-001.html @@ -0,0 +1,273 @@ +< +! +DOCTYPE +html +> +< +link +rel += +" +author +" +title += +" +David +Grogan +" +href += +" +mailto +: +dgrogan +chromium +. +org +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +www +. +w3 +. +org +/ +TR +/ +CSS22 +/ +tables +. +html +# +collapsing +- +borders +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +drafts +. +csswg +. +org +/ +css +- +tables +- +3 +/ +# +border +- +conflict +- +resolution +- +algorithm +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +github +. +com +/ +w3c +/ +csswg +- +drafts +/ +issues +/ +606 +" +> +< +link +rel += +" +match +" +href += +" +subpixel +- +collapsed +- +borders +- +ref +. +html +" +> +< +meta +name += +" +flags +" +content += +" +" +/ +> +< +meta +name += +" +assert +" +content += +" +When +collapsed +border +tables +have +border +widths +larger +than +cells +' +the +table +border +wins +. +" +/ +> +< +style +> +table +{ +border +: +5px +solid +green +; +border +- +collapse +: +collapse +; +} +td +{ +width +: +50px +; +height +: +50px +; +border +: +4 +. +95px +solid +red +; +} +< +/ +style +> +< +p +> +There +should +be +a +square +with +a +green +border +not +a +red +border +. +< +/ +p +> +< +table +> +< +tr +> +< +td +> +< +/ +td +> +< +/ +tr +> +< +/ +table +> diff --git a/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-002.html b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-002.html new file mode 100644 index 000000000000..acc6f0f1459d --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-002.html @@ -0,0 +1,284 @@ +< +! +DOCTYPE +html +> +< +link +rel += +" +author +" +title += +" +David +Grogan +" +href += +" +mailto +: +dgrogan +chromium +. +org +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +www +. +w3 +. +org +/ +TR +/ +CSS22 +/ +tables +. +html +# +collapsing +- +borders +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +drafts +. +csswg +. +org +/ +css +- +tables +- +3 +/ +# +border +- +conflict +- +resolution +- +algorithm +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +github +. +com +/ +w3c +/ +csswg +- +drafts +/ +issues +/ +606 +" +> +< +link +rel += +" +match +" +href += +" +subpixel +- +collapsed +- +borders +- +ref +. +html +" +> +< +meta +name += +" +flags +" +content += +" +" +/ +> +< +meta +name += +" +assert +" +content += +" +When +collapsed +border +tables +have +border +widths +larger +than +cells +' +the +table +border +wins +even +when +the +cell +border +is +merely +0 +. +01 +pixels +narrower +" +/ +> +< +style +> +table +{ +border +: +5px +solid +green +; +border +- +collapse +: +collapse +; +} +td +{ +width +: +50px +; +height +: +50px +; +border +: +4 +. +99px +solid +red +; +} +< +/ +style +> +< +p +> +There +should +be +a +square +with +a +green +border +not +a +red +border +. +< +/ +p +> +< +table +> +< +tr +> +< +td +> +< +/ +td +> +< +/ +tr +> +< +/ +table +> diff --git a/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-003-ref.html b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-003-ref.html new file mode 100644 index 000000000000..6da4e213a5d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-003-ref.html @@ -0,0 +1,88 @@ +< +! +DOCTYPE +html +> +< +style +> +table +{ +border +: +5 +. +95px +solid +green +; +border +- +collapse +: +collapse +; +} +td +{ +width +: +50px +; +height +: +50px +; +border +: +1px +solid +red +; +} +< +/ +style +> +< +p +> +There +should +be +a +square +with +a +green +border +not +a +red +border +. +< +/ +p +> +< +table +> +< +tr +> +< +td +> +< +/ +td +> +< +/ +tr +> +< +/ +table +> diff --git a/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-003.html b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-003.html new file mode 100644 index 000000000000..5ef2cc43a301 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-003.html @@ -0,0 +1,290 @@ +< +! +DOCTYPE +html +> +< +link +rel += +" +author +" +title += +" +David +Grogan +" +href += +" +mailto +: +dgrogan +chromium +. +org +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +www +. +w3 +. +org +/ +TR +/ +CSS22 +/ +tables +. +html +# +collapsing +- +borders +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +drafts +. +csswg +. +org +/ +css +- +tables +- +3 +/ +# +border +- +conflict +- +resolution +- +algorithm +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +github +. +com +/ +w3c +/ +csswg +- +drafts +/ +issues +/ +606 +" +> +< +link +rel += +" +match +" +href += +" +subpixel +- +collapsed +- +borders +- +003 +- +ref +. +html +" +> +< +meta +name += +" +flags +" +content += +" +" +/ +> +< +meta +name += +" +assert +" +content += +" +When +collapsed +border +tables +have +border +widths +larger +than +cells +' +the +table +border +wins +even +when +the +floored +table +border +is +the +same +size +as +the +cell +' +s +. +" +/ +> +< +style +> +table +{ +border +: +5 +. +95px +solid +green +; +border +- +collapse +: +collapse +; +} +td +{ +width +: +50px +; +height +: +50px +; +border +: +5px +solid +red +; +} +< +/ +style +> +< +p +> +There +should +be +a +square +with +a +green +border +not +a +red +border +. +< +/ +p +> +< +table +> +< +tr +> +< +td +> +< +/ +td +> +< +/ +tr +> +< +/ +table +> diff --git a/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-ref.html b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-ref.html new file mode 100644 index 000000000000..3028c8c81b9b --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/subpixel-collapsed-borders-ref.html @@ -0,0 +1,86 @@ +< +! +DOCTYPE +html +> +< +style +> +table +{ +border +: +5px +solid +green +; +border +- +collapse +: +collapse +; +} +td +{ +width +: +50px +; +height +: +50px +; +border +: +1px +solid +red +; +} +< +/ +style +> +< +p +> +There +should +be +a +square +with +a +green +border +not +a +red +border +. +< +/ +p +> +< +table +> +< +tr +> +< +td +> +< +/ +td +> +< +/ +tr +> +< +/ +table +>