summaryrefslogtreecommitdiff
path: root/works
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-03-24 21:01:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-03-24 21:01:15 +0000
commitfb48fff4efa5af22d3d91585fcd088db466861e4 (patch)
treea049438d1a7147c87684f48fbc6e6648d03d2b25 /works
parent63f0c07a5a5f823f201f885d6b68c14e7d278663 (diff)
downloadnetsurf-test-fb48fff4efa5af22d3d91585fcd088db466861e4.tar.gz
netsurf-test-fb48fff4efa5af22d3d91585fcd088db466861e4.tar.bz2
Add testcase for tables nested inside floats
svn path=/trunk/netsurftest/; revision=3217
Diffstat (limited to 'works')
-rw-r--r--works/float-nested-table.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/works/float-nested-table.html b/works/float-nested-table.html
new file mode 100644
index 0000000..40ca6d3
--- /dev/null
+++ b/works/float-nested-table.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+ <title>Floated table with auto margins</title>
+ <style type="text/css"> table { margin: auto; }</style>
+ </head>
+<body>
+ <p> This page should not cause NetSurf to crash </p>
+ <table>
+ <tr>
+ <td>
+ <table align="right">
+ <tr>
+ <td>
+ <table align="right">
+ <tr>
+ <td>Some text</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+</body>
+</html>