diff options
author | Cameron Paul <cpaul37@gmail.com> | 2025-06-17 13:36:32 -0500 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-07-07 23:05:28 +0200 |
commit | 50121125a0a79658c456ba88816a63e5b836a6ab (patch) | |
tree | 9d19202f318fb136e413cad3cacf1676f7b519c6 /test/html/render/text-align-center.html | |
parent | e3cedc586990f246ad8679a8a91bbfe88a8ac902 (diff) |
Fix text-align
Inline elements are now aligned based on the text-align value of
their containing element instead of their own text-align value.
Block level elements are no longer affected by the text-align
property.
Fixes: https://github.com/dillo-browser/dillo/issues/410
Diffstat (limited to 'test/html/render/text-align-center.html')
-rw-r--r-- | test/html/render/text-align-center.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/html/render/text-align-center.html b/test/html/render/text-align-center.html index 99440dbf..0254a730 100644 --- a/test/html/render/text-align-center.html +++ b/test/html/render/text-align-center.html @@ -58,18 +58,18 @@ <div class="center">simple centered text</div> <div class="outer1"> - <div class="inner1">nested div with inner center</div> + <div class="inner1">nested div with internal center</div> </div> <div class="outer2"> - <div class="inner2">nested div with outer center</div> + <div class="inner2">nested div with external center</div> </div> <div class="outer3"> - <span class="inner3">nested span with inner center</span> + <span class="inner3">nested span with internal center</span> </div> <div class="outer4"> - <span class="inner4">nested span with outer center</span> + <span class="inner4">nested span with external center</span> </div> </html> |