diff --git a/testing/web-platform/tests/quirks/line-height-in-list-item.tentative.html b/testing/web-platform/tests/quirks/line-height-in-list-item.tentative.html new file mode 100644 index 0000000000000..d7c2ec9b5f1e6 --- /dev/null +++ b/testing/web-platform/tests/quirks/line-height-in-list-item.tentative.html @@ -0,0 +1,211 @@ +< +link +rel += +" +author +" +title += +" +Morten +Stenshorne +" +href += +" +mstensho +chromium +. +org +" +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +quirks +. +spec +. +whatwg +. +org +/ +# +the +- +line +- +height +- +calculation +- +quirk +" +> +< +link +rel += +" +match +" +href += +" +reference +/ +green +- +100px +- +square +- +no +- +red +. +html +" +> +< +meta +name += +" +assert +" +content += +" +List +items +force +strict +line +height +; +see +https +: +/ +/ +github +. +com +/ +whatwg +/ +quirks +/ +issues +/ +38 +" +> +< +p +> +There +should +be +a +filled +green +square +below +and +no +red +. +< +/ +p +> +< +div +style += +" +width +: +100px +; +height +: +100px +; +background +: +red +; +" +> +< +li +style += +" +line +- +height +: +50px +; +color +: +green +; +background +: +green +; +" +> +< +br +> +< +div +style += +" +display +: +inline +- +block +; +width +: +1px +; +height +: +1px +; +" +> +< +/ +div +> +< +/ +li +> +< +/ +div +> diff --git a/testing/web-platform/tests/quirks/reference/green-100px-square-no-red.html b/testing/web-platform/tests/quirks/reference/green-100px-square-no-red.html new file mode 100644 index 0000000000000..5105bbab892b7 --- /dev/null +++ b/testing/web-platform/tests/quirks/reference/green-100px-square-no-red.html @@ -0,0 +1,64 @@ +< +link +rel += +" +author +" +title += +" +Morten +Stenshorne +" +href += +" +mstensho +chromium +. +org +" +> +< +p +> +There +should +be +a +filled +green +square +below +and +no +red +. +< +/ +p +> +< +div +style += +" +width +: +100px +; +height +: +100px +; +background +: +green +; +" +> +< +/ +div +>