diff options
author | bptato <nincsnevem662@gmail.com> | 2025-05-09 19:26:38 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-05-09 19:26:46 +0200 |
commit | 999e5b451bc5c194094e28382f54d4ffed226c8b (patch) | |
tree | cee23d01cafd2daf471dcc0262c180988b6d21fe | |
parent | 2d50eaa6f764c7181bb409cf74e8c8514a94f9da (diff) | |
download | chawan-999e5b451bc5c194094e28382f54d4ffed226c8b.tar.gz |
ua.css: disable margin on first p
-rw-r--r-- | res/ua.css | 2 | ||||
-rw-r--r-- | test/layout/hangul.expected | 1 | ||||
-rw-r--r-- | test/layout/position-absolute-with-relative-inline-parent-offset.color.expected | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/res/ua.css b/res/ua.css index 54d92392..7cc0cac6 100644 --- a/res/ua.css +++ b/res/ua.css @@ -108,7 +108,7 @@ b, strong { font-weight: bold } u, ins { text-decoration: underline } h1, h2, h3, h4, h5, h6 { margin: 1em 0; font-weight: bold } -body > :is(h1, h2, h3, h4, h5, h6):-cha-first-node { margin-top: 0 } +body > :is(p, h1, h2, h3, h4, h5, h6):-cha-first-node { margin-top: 0 } pre, xmp { margin: 1em 0; white-space: pre } diff --git a/test/layout/hangul.expected b/test/layout/hangul.expected index 2e10afce..e8dbf487 100644 --- a/test/layout/hangul.expected +++ b/test/layout/hangul.expected @@ -1,4 +1,3 @@ - The following two paragraphs should contain the same hangul letters. Decomposed form: diff --git a/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected b/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected index 8feac12e..2411eed2 100644 --- a/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected +++ b/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected @@ -1,4 +1,3 @@ - Note: per CSS, the absolute box's sizing is explicitly UB, apparently to accommodate for Gecko's broken rendering. We follow Blink. |