From 582d27413faef25d9abd4f1f6dfc18f5e9b8cc5c Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sun, 24 Aug 2025 18:26:05 +0200 Subject: Add html test for form elements with display:none --- test/html/render/form-display-none.html | 45 +++++++++++++++++++++++++++++ test/html/render/form-display-none.ref.html | 17 +++++++++++ 2 files changed, 62 insertions(+) create mode 100644 test/html/render/form-display-none.html create mode 100644 test/html/render/form-display-none.ref.html (limited to 'test/html/render') diff --git a/test/html/render/form-display-none.html b/test/html/render/form-display-none.html new file mode 100644 index 00000000..fec9c96c --- /dev/null +++ b/test/html/render/form-display-none.html @@ -0,0 +1,45 @@ + + + + Test form inputs with display:none + + + +
+

There are some elements below, but you shouldn't see any. Disable CSS to + see them.

+ +
+
+ + + + + + + + + + + +
+
+
+

The ones below are outside the form

+ +
+ + diff --git a/test/html/render/form-display-none.ref.html b/test/html/render/form-display-none.ref.html new file mode 100644 index 00000000..a8e43c1b --- /dev/null +++ b/test/html/render/form-display-none.ref.html @@ -0,0 +1,17 @@ + + + + Test form inputs with display:none + + + +
+

There are some elements below, but you shouldn't see any. Disable CSS to + see them.

+
+

The ones below are outside the form

+
+ + -- cgit v1.2.3