From 7901b52fa94f6e990808b0d6e9318f59f0e0434f Mon Sep 17 00:00:00 2001 From: Cameron Paul Date: Mon, 2 Jun 2025 14:14:28 -0500 Subject: Add margin rounding HTML test See: https://github.com/dillo-browser/dillo/issues/407 --- test/html/Makefile.am | 2 ++ test/html/render/margin-rounding.html | 33 +++++++++++++++++++++++++++++++ test/html/render/margin-rounding.ref.html | 32 ++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 test/html/render/margin-rounding.html create mode 100644 test/html/render/margin-rounding.ref.html diff --git a/test/html/Makefile.am b/test/html/Makefile.am index 044d5437..a1fd76e7 100644 --- a/test/html/Makefile.am +++ b/test/html/Makefile.am @@ -23,6 +23,7 @@ TESTS = \ render/img-aspect-ratio-mix.html \ render/img-aspect-ratio-relative-inside-fixed.html \ render/img-aspect-ratio.html \ + render/margin-rounding.html \ render/main-style.html \ render/margin-auto.html \ render/max-width-body.html \ @@ -50,6 +51,7 @@ TESTS = \ XFAIL_TESTS = \ render/div-100-percent-with-padding.html \ render/float-img-justify.html \ + render/margin-rounding.html \ render/margin-auto.html \ render/max-width-html.html \ render/min-width-html.html \ diff --git a/test/html/render/margin-rounding.html b/test/html/render/margin-rounding.html new file mode 100644 index 00000000..2bd5de0e --- /dev/null +++ b/test/html/render/margin-rounding.html @@ -0,0 +1,33 @@ + + + + Test margin rounding + + + +
+
+
+
+ + diff --git a/test/html/render/margin-rounding.ref.html b/test/html/render/margin-rounding.ref.html new file mode 100644 index 00000000..fbc9419b --- /dev/null +++ b/test/html/render/margin-rounding.ref.html @@ -0,0 +1,32 @@ + + + + Test margin rounding + + + +
+
+
+
+ + -- cgit v1.2.3