[Webkit-unassigned] [Bug 220733] [css-grid] max-height percentages are wrongly resolved for replaced grid items

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 21 00:25:37 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=220733

--- Comment #3 from Manuel Rego Casasnovas <rego at igalia.com> ---
Comment on attachment 417951
  --> https://bugs.webkit.org/attachment.cgi?id=417951
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=417951&action=review

> Source/WebCore/ChangeLog:11
> +        https://github.com/web-platform-tests/wpt/pull/26136

So there are different tests that we're interested here, maybe we should rewrite this somehow. I'm not sure if we need so many links.

> Source/WebCore/ChangeLog:13
> +        Reviewed by NOBODY (OOPS!).

Nit: This should be the line after the bug link and not here.

> Source/WebCore/ChangeLog:14
> +

It's good to explain the changes in the ChangeLog, even when we have link to the Chromium commit, it's nice to explain here again what the patch is doing and why it's fixing the issue.

> Source/WebCore/ChangeLog:15
> +        Test: imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-img-item-percent-max-height-001.html

Is this patch only fixing this test, or also the other ones linked before?

> Source/WebCore/rendering/RenderBox.cpp:3187
> +        if (!document().inQuirksMode())

This is specifically checking something about quirks mode, is this a behavior change or is already covered by some existent quirks mode test.

> LayoutTests/imported/w3c/ChangeLog:7
> +

You can mention here, that you're importing this tests from WPT.

Nit: They should be added to the corresponding w3c-import.log file.

> LayoutTests/imported/w3c/ChangeLog:9
> +        * web-platform-tests/css/css-grid/grid-items/grid-img-item-percent-max-height-001.html: Added.

Why only this test? There are a bunch more on the links in the ChangeLog.

Is this fix only for grid, or it also affects flexbox? If so we might need a flexbox test too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210121/3274c441/attachment-0001.htm>


More information about the webkit-unassigned mailing list