Skip to content

Commit

Permalink
fix the web platform test for dom/xslt/large-cdata.html to zero out t…
Browse files Browse the repository at this point in the history
…he 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
  • Loading branch information
wisniewskit authored and moz-wptsync-bot committed Apr 24, 2024
1 parent ec0bc19 commit 21bc807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/xslt/resources/xml2html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>My CD Collection</h2>
<h2 style="margin-top:0">My CD Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Title</th>
Expand Down

0 comments on commit 21bc807

Please sign in to comment.