[Webkit-unassigned] [Bug 246338] [css-contain-intrinsic-size] Apply the value of css contain-intrinsic-size to <select>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 11:28:31 PDT 2022


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

--- Comment #2 from cathiechen <cathiechen at igalia.com> ---
The case 1 fails because `border: solid;` changes `part` from `MenulistPart` to `MenulistButtonPart` in `RenderTheme::adjustStyle`.
Then it goes different path:

```
    case MenulistPart:
        return adjustMenuListStyle(style, element);
    case MenulistButtonPart:
        return adjustMenuListButtonStyle(style, element);
```
After style adjust, the appearance is different.

It seems WebKit is using `RenderStyle::borderAndBackgroundEqual` to decide which appearance. I'm not sure if we should touch this part.

-- 
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/20221020/1ea7b8af/attachment.htm>


More information about the webkit-unassigned mailing list