aboutsummaryrefslogtreecommitdiff
path: root/test/html/render/text-align-center.ref.html
diff options
context:
space:
mode:
authorCameron Paul <cpaul37@gmail.com>2025-06-15 10:46:36 -0500
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-06-16 20:16:33 +0200
commit5fcd2063ee3b17ef6d6909f33ee0bf6d3bb02fa6 (patch)
treee6c40da0fb032f494088301d48f3cd9df645efe6 /test/html/render/text-align-center.ref.html
parent3b0fbaaa03c55b0a0a97f041e1e7d7dfe9f3e0e2 (diff)
Add HTML test for text-align: center
See: https://github.com/dillo-browser/dillo/issues/410
Diffstat (limited to 'test/html/render/text-align-center.ref.html')
-rw-r--r--test/html/render/text-align-center.ref.html27
1 files changed, 27 insertions, 0 deletions
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>