style: Parse the legacy border attribute per the legacy HTML specification.

Additionally, this patch cleans up some miscellaneous formatting issues
and refactors files in `layout/css/` somewhat to eliminate needless
levels of indirection. It also fixes our handling of presentational
hints that only apply if border is nonzero.
This commit is contained in:
Patrick Walton 2014-12-07 22:54:56 -08:00
parent e0e14c60d6
commit 10f1ed5e31
19 changed files with 350 additions and 127 deletions

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<body>
<table style="border: solid black 10px"><tr><td>:-)</td></tr></table>
<table style="border: solid black 1px"><tr><td>:-)</td></tr></table>
<table style="border: none"><tr><td>:-)</td></tr></table>
</body>
</html>