Allow zero on certain elem dimensions to match current browser behavior
Follows https://github.com/whatwg/html/pull/9374 for <table>, and the existing spec for <tr> and <col>.
diff --git a/html/rendering/dimension-attributes.html b/html/rendering/dimension-attributes.html
index f3dc8f8..1d94205 100644
--- a/html/rendering/dimension-attributes.html
+++ b/html/rendering/dimension-attributes.html
@@ -137,17 +137,10 @@
[ newElem("img"), "height", "height", true ],
[ newElem("td"), "width", "width", false ],
[ newElem("td"), "height", "height", false ],
- // https://github.com/whatwg/html/issues/4715 tracks the fact that for
- // <table width> and <table height> the "0 is valid" boolean should probably
- // be true.
[ newElem("table"), "width", "width", false ],
- [ newElem("table"), "height", "height", false ],
- // https://github.com/whatwg/html/issues/4716 tracks the fact that for the
- // <tr height> case that "0 is valid" boolean should probably be true.
- [ newElem("tr"), "height", "height", false ],
- // https://github.com/whatwg/html/issues/4717 tracks the fact that for the
- // <col width> case that "0 is valid" boolean should probably be true.
- [ newElem("col"), "width", "width", false ],
+ [ newElem("table"), "height", "height", true ],
+ [ newElem("tr"), "height", "height", true ],
+ [ newElem("col"), "width", "width", true ],
[ newElem("embed"), "hspace", "marginLeft", true ],
[ newElem("embed"), "hspace", "marginRight", true ],
[ newElem("embed"), "vspace", "marginTop", true ],