Skip to content

Commit 21bc807

Browse files
wisniewskitmoz-wptsync-bot
authored andcommitted
fix the web platform test for dom/xslt/large-cdata.html to zero out the margin-top of the h2 element, like its reference rendering does, to keep unrelated default browser styles from interfering with the test
Differential Revision: https://phabricator.services.mozilla.com/D208288 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1867155 gecko-commit: 9c8bc4deaf054031ae95a9ed0b729dfc98aa3fdd gecko-reviewers: emilio
1 parent ec0bc19 commit 21bc807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/xslt/resources/xml2html.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
55
<xsl:template match="/">
66
<html>
77
<body>
8-
<h2>My CD Collection</h2>
8+
<h2 style="margin-top:0">My CD Collection</h2>
99
<table border="1">
1010
<tr bgcolor="#9acd32">
1111
<th>Title</th>

0 commit comments

Comments
 (0)