[Webkit-unassigned] [Bug 226729] [css-flexbox] Tables inside flexbox do not account for their borders correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 10 22:46:53 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226729

--- Comment #3 from Felipe Erias <felipeerias at igalia.com> ---
Updated the title because this turned out to be a more general problem.

When a table's height or width is set though an attribute of the <table> tag, that value will include borders and padding. When it is set through CSS, that will depend on the value of the table's "box-sizing" property.

With the last patch, RenderTable will check for the presence of those attributes in the <table> tag as well as the value of "box-sizing" before deciding how to handle the table's border and padding.

This fixes:
  imported/w3c/web-platform-tests/css/css-flexbox/table-as-item-inflexible-in-row-2.html

I suspect that table-as-item-inflexible-in-column-2.html also fails for a similar reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210611/6ee118f2/attachment.htm>


More information about the webkit-unassigned mailing list