Skip to content

Commit

Permalink
Add Hacker News table test
Browse files Browse the repository at this point in the history
  • Loading branch information
rodarima committed Mar 17, 2024
1 parent 62a9224 commit ad791d8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/html/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TESTS = \
render/b-div.html \
render/div-100-percent-with-padding.html \
render/float-img-justify.html \
render/hackernews.html \
render/img-aspect-ratio.html \
render/margin-auto.html \
render/max-width-body.html \
Expand All @@ -29,6 +30,7 @@ TESTS = \
XFAIL_TESTS = \
render/div-100-percent-with-padding.html \
render/float-img-justify.html \
render/hackernews.html \
render/img-aspect-ratio.html \
render/margin-auto.html \
render/max-width-html.html \
Expand Down
15 changes: 15 additions & 0 deletions test/html/render/hackernews.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Hacker News table test</title>
</head>
<body style="margin: 0px; width:600px">
<table width="50%" cellspacing=0 bgcolor="#f6f6ef">
<tr>
<td bgcolor="#ff6600">
Hello world.
</td>
</tr>
</table>
</body>
</html>
15 changes: 15 additions & 0 deletions test/html/render/hackernews.ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Hacker News table test</title>
</head>
<body style="margin: 0px">
<table style="width: 300px" border=0 cellspacing=0 bgcolor="#f6f6ef">
<tr>
<td bgcolor="#ff6600" border=0 cellspacing=0>
Hello world.
</td>
</tr>
</table>
</body>
</html>

0 comments on commit ad791d8

Please sign in to comment.