diff options
Diffstat (limited to 'test/html/render')
-rw-r--r-- | test/html/render/text-align-center.html | 21 | ||||
-rw-r--r-- | test/html/render/text-align-center.ref.html | 27 |
2 files changed, 48 insertions, 0 deletions
diff --git a/test/html/render/text-align-center.html b/test/html/render/text-align-center.html new file mode 100644 index 00000000..2924df51 --- /dev/null +++ b/test/html/render/text-align-center.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test text-align: center</title> + <style> + .outer { + background-color:coral; + width: 400px; + } + .inner { + background-color:aquamarine; + text-align: center; + width: 100px; + } + </style> + </head> + <body> + <div class="outer"> + <div class="inner">center</div> + </div> +</html> diff --git a/test/html/render/text-align-center.ref.html b/test/html/render/text-align-center.ref.html new file mode 100644 index 00000000..f0048d42 --- /dev/null +++ b/test/html/render/text-align-center.ref.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test text-align: center</title> + <style> + table, tr, td { + border-spacing: 0; + margin: 0; + padding: 0; + } + .outer { + background-color:coral; + width: 400px; + } + .inner { + background-color:aquamarine; + text-align: center; + width: 100px; + } + </style> + </head> + <body> + <table class="outer"> + <tr><td class="inner">center</td><td></td></tr> + </table> + </body> +</html> |