Chrome 80 css grid large descendants cause grid to grow

前端 未结 3 669
失恋的感觉
失恋的感觉 2020-12-12 02:13

When a grid has a fixed width and height, and a descendent of the grid has a width or height that is larger than that of the grid, the descendent forces the grid to \'grow\'

3条回答
  •  情深已故
    2020-12-12 02:55

    eThe reason for this is the implementation of a CSS Grid spec change regarding the contribution of grid tracks spanning both finitely and infinitely sized tracks. I've raised an issue about this as well.

    Gladly the Chromium development team agreed that this change is not web compatible and causing too much breakage. It is already reverted on M80, M81 and M82 branches, and is going to be delivered with the reverted behaviour (pre-80-behaviour) this week in respin 116 (80.0.3987.116).

    Edit: As of now, the new Chrome version is out and fixes these problems.

    Edit 2: Because the Chromium team was the only browser team that actually implemented the aformentioned spec change, and they decided to revert it, the developer that implemented the changes raised an issue@CSSWG. Link yourself to that if you wanna see where this is going.

提交回复
热议问题