diff --git a/testing/web-platform/tests/css/css-rhythm/zero-outer-size-rounded-up-to-block-step-size.html b/testing/web-platform/tests/css/css-rhythm/zero-outer-size-rounded-up-to-block-step-size.html new file mode 100644 index 000000000000..2d77b767f52d --- /dev/null +++ b/testing/web-platform/tests/css/css-rhythm/zero-outer-size-rounded-up-to-block-step-size.html @@ -0,0 +1,232 @@ +< +! +DOCTYPE +html +> +< +html +> +< +head +> +< +link +rel += +" +author +" +title += +" +Sammy +Gill +" +href += +" +mailto +: +sammy +. +gill +apple +. +com +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +drafts +. +csswg +. +org +/ +css +- +rhythm +/ +# +block +- +step +- +size +" +> +< +link +rel += +" +match +" +href += +" +. +. +/ +reference +/ +ref +- +filled +- +green +- +100px +- +square +- +only +. +html +" +> +< +meta +name += +" +assert +" +content += +" +Box +with +an +outer +size +of +0 +is +rounded +up +to +the +specified +block +- +step +- +size +" +> +< +style +> +. +container +{ +display +: +flow +- +root +; +width +: +100px +; +background +- +color +: +green +; +} +. +block +- +step +{ +display +: +block +; +block +- +step +- +size +: +100px +; +} +< +/ +style +> +< +/ +head +> +< +body +> +< +p +> +Test +passes +if +there +is +a +filled +green +square +. +< +/ +p +> +< +div +class += +" +container +" +> +< +div +class += +" +block +- +step +" +> +< +/ +div +> +< +/ +div +> +< +/ +body +> +< +/ +html +>