diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-07 12:25:44 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-07 17:13:40 +0200 |
commit | d156863f8b4a08d0487b22f2ab9ac2d5809539ed (patch) | |
tree | 4776120402c4c4f541c2f9b42ecf9ad5f62555b2 | |
parent | d6e9b4ee89a4ea45eaccf65af03474e0066638ff (diff) |
Add GitHub infinite loop HTML render test
-rw-r--r-- | test/html/Makefile.am | 2 | ||||
-rw-r--r-- | test/html/render/github-infinite-loop.html | 14 | ||||
-rw-r--r-- | test/html/render/github-infinite-loop.ref.html | 14 |
3 files changed, 30 insertions, 0 deletions
diff --git a/test/html/Makefile.am b/test/html/Makefile.am index 80cbcef9..3cac57c6 100644 --- a/test/html/Makefile.am +++ b/test/html/Makefile.am @@ -14,6 +14,7 @@ TESTS = \ render/b-div.html \ render/div-100-percent-with-padding.html \ render/float-img-justify.html \ + render/github-infinite-loop.html \ render/hackernews.html \ render/img-aspect-ratio.html \ render/main-style.html \ @@ -42,6 +43,7 @@ TESTS = \ XFAIL_TESTS = \ render/div-100-percent-with-padding.html \ render/float-img-justify.html \ + render/github-infinite-loop.html \ render/img-aspect-ratio.html \ render/margin-auto.html \ render/max-width-html.html \ diff --git a/test/html/render/github-infinite-loop.html b/test/html/render/github-infinite-loop.html new file mode 100644 index 00000000..62ca64be --- /dev/null +++ b/test/html/render/github-infinite-loop.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>GitHub infinite layout loop</title> + </head> + <body> + <div style="display:inline-block"> + <form style="float:left"> + <input type="hidden"/> + <button type="submit" style="white-space:nowrap; float:left">Hello</button> + </form> + </div> + </body> +</html> diff --git a/test/html/render/github-infinite-loop.ref.html b/test/html/render/github-infinite-loop.ref.html new file mode 100644 index 00000000..cc6bb4e9 --- /dev/null +++ b/test/html/render/github-infinite-loop.ref.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>GitHub infinite layout loop</title> + </head> + <body> + <div style="display:inline-block"> + <form style="float:left"> + <input type="hidden"/> + <button type="submit" style="white-space:nowrap">Hello</button> + </form> + </div> + </body> +</html> |