W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

[csswg-drafts] [CSS2] Current definition of margin collapsing isn't interoperable. (#5571)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Oct 2020 20:21:20 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-713157016-1601583678-sysbot+gh@w3.org>
bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

== [CSS2] Current definition of margin collapsing isn't interoperable. ==

This is somewhat a meta issue which was found while investigating behaviour for `aspect-ratio`. We (Blink) haven't had any reports of users hitting these inconsistencies between implementations so this is largely an "academic" issue and not immediately important.

While investigating I created this testcase:

The inconsistencies are around collapsing through margins, and when things are considered adjoining. Some implementations will "double-count" a margin in certain cases (which seems bad).

This indicates that the current definition isn't sufficient (or consistent) for building an interoperable implementation.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 October 2020 20:21:21 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC