about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--res/ua.css2
-rw-r--r--test/layout/hangul.expected1
-rw-r--r--test/layout/position-absolute-with-relative-inline-parent-offset.color.expected1
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.