[csswg-drafts] [css-align] Baseline of table with no rows (#10136)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] Baseline of table with no rows ==
https://drafts.csswg.org/css-align/#baseline-export

> The first/last [baseline set](https://drafts.csswg.org/css-align/#baseline-set) of a table box is the first/last baseline set of its first/last row.

What if the table has no row? Gecko/Blink/WebKit agree that it has no baseline. Therefore it's synthesized from the bottom of the margin box of the table (as per https://drafts.csswg.org/css-inline-3/#baseline-tables).

```html
<!DOCTYPE html>
a<div style="display: inline-table; border: 10px solid; margin: 10px; width: 50px; height: 50px"></div>
```

![](https://github.com/w3c/csswg-drafts/assets/7477678/a810e6a2-f34a-4017-b758-77a68a8e033f)



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10136 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 25 March 2024 21:19:16 UTC