[csswg-drafts] [css-sizing] Nobody follows the spec about cyclic percentages in min sizing properties (#10969)

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

== [css-sizing] Nobody follows the spec about cyclic percentages in min sizing properties ==
https://drafts.csswg.org/css-sizing-3/#min-percentage-contribution

> For the [min size properties](https://drafts.csswg.org/css-sizing-3/#min-size-properties), as well as for [margins](https://drafts.csswg.org/css-box-4/#margin) and [paddings](https://drafts.csswg.org/css-box-4/#padding) (and [gutters](https://drafts.csswg.org/css-align-3/#gutter)), a [cyclic percentage](https://drafts.csswg.org/css-sizing-3/#cyclic-percentage-size) is resolved against zero for determining [intrinsic size contributions](https://drafts.csswg.org/css-sizing-3/#intrinsic-size-contribution).

That's a lie, nobody does this for the min size properties, and WebKit doesn't do it either for margins.

```html
| Spec | Gecko | Blink | WebKit |
| - | - | - | - |
|  | ![](https://github.com/user-attachments/assets/640a3216-2b50-4dcf-8120-ad681b8990f8) | ![](https://github.com/user-attachments/assets/db7c738c-3d7e-4160-b369-a3d33b619711) | ![](https://github.com/user-attachments/assets/be44175e-4dae-489f-a18f-2fb9e5abac39) |

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


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

Received on Friday, 27 September 2024 22:05:57 UTC