diff options
author | Cameron Paul <cpaul37@gmail.com> | 2025-06-02 14:14:28 -0500 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-06-16 19:31:04 +0200 |
commit | 7901b52fa94f6e990808b0d6e9318f59f0e0434f (patch) | |
tree | c3c0e176d13811a88ec78af95fc50e3715d9029d /test/html/render/margin-rounding.html | |
parent | bd0c912a80a72f2c9a1701e510e53d3e2771247c (diff) |
Add margin rounding HTML test
See: https://github.com/dillo-browser/dillo/issues/407
Diffstat (limited to 'test/html/render/margin-rounding.html')
-rw-r--r-- | test/html/render/margin-rounding.html | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test margin rounding</title> + <style type="text/css"> + .container { + width: 205px; + } + + .left, .right { + width: 100px; + height: 100px; + background-color: orchid; + } + + .left { + float: left; + margin-right: 2.5px; + } + + .right { + float: right; + margin-left: 2.5px; + } + </style> + </head> + <body> + <div class="container"> + <div class="left"></div> + <div class="right"></div> + </div> + </body> +</html> |