diff options
author | glennw <glennw@users.noreply.github.com> | 2014-09-13 18:55:56 +1000 |
---|---|---|
committer | glennw <glennw@users.noreply.github.com> | 2014-09-13 18:55:56 +1000 |
commit | fb54c1eb08839f43a15df30cf241c21b03c4beeb (patch) | |
tree | babbea012e33d63d029ba135cddb750baa0c33f0 /tests/ref/float_table_a.html | |
parent | 25f263b7516e7accc569b5a045ff9bf23c56f8a7 (diff) | |
parent | 0e60c878f6ffc11d2ec564d19a8fce8a24d214f2 (diff) | |
download | servo-fb54c1eb08839f43a15df30cf241c21b03c4beeb.tar.gz servo-fb54c1eb08839f43a15df30cf241c21b03c4beeb.zip |
Merge pull request #3305 from glennw/float-table
Add support for tables that are floated.
Diffstat (limited to 'tests/ref/float_table_a.html')
-rw-r--r-- | tests/ref/float_table_a.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/ref/float_table_a.html b/tests/ref/float_table_a.html new file mode 100644 index 00000000000..7c3517563eb --- /dev/null +++ b/tests/ref/float_table_a.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <meta charset="UTF-8"> + <style type="text/css"> + @font-face { + font-family: 'ahem'; + src: url(fonts/ahem/ahem.ttf); + } + body { + margin: 0; + } + table { + font-family: 'ahem'; + font-size: 100px; + color: red; + float: right; + line-height: 1; + } + td { + padding: 0; + } + </style> + </head> + <body> + <table> + <tbody> + <tr> + <td>X</td> + </tr> + </tbody> + </table> + </body> +</html> |