You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If root is a table wrapper box: [...]
7. Paint the borders of all of the table elements of root. If the borders are separated, do so in tree order; if connected, do so as specified in [css-tables-3].
All browsers agree that the collapsed table borders (blue) are painted in front of the div's borders (magenta), even though the table is an ancestor and thus comes first in tree order.
Gecko, Servo
Blink, WebKit
Note this is just if the table has collapsed borders, in the separated borders mode, magenta is painted in front.
https://drafts.csswg.org/css-position-4/#paint-a-stacking-context
https://drafts.csswg.org/css-position-4/#paint-a-blocks-decorations
All browsers agree that the collapsed table borders (blue) are painted in front of the div's borders (magenta), even though the table is an ancestor and thus comes first in tree order.
Note this is just if the table has collapsed borders, in the separated borders mode, magenta is painted in front.
In Servo I added an extra step between steps 6 and 7 of https://drafts.csswg.org/css-position-4/#paint-a-stacking-context to paint collapsed table borders. But I'm now realizing this approach isn't good either:
Testcase with nested collapsed table borders:
Even though the inner table comes later in tree order, it's painted behind...
The text was updated successfully, but these errors were encountered: