imported/w3c/web-platform-tests/css/css-contain/contain-size-select-001.html imported/w3c/web-platform-tests/css/css-contain/contain-size-select-002.html are failing. The comment above the test expectations is: # 1. The height driven by the imaginary box (strut) does not match the minimum height value set in the RenderTheme (e.g. see RenderThemeMac::adjustMenuListButtonStyle). # 2. We ignore the background-color property value (supposed to be white on white to renderer "blank" content). For 1: https://searchfox.org/wubkat/rev/05871f6631c8518ecc69dccec80d850e6ad3fad8/Source/WebCore/rendering/RenderThemeMac.mm#1692-1703
<rdar://problem/98096620>
Created attachment 461429 [details] Patch
Created attachment 461431 [details] Patch
These tests still fail on macOS.
(In reply to Aditya Keerthi from comment #4) > These tests still fail on macOS. I was misled by your comment on https://bugs.webkit.org/show_bug.cgi?id=243466 :)
Pull request: https://github.com/WebKit/WebKit/pull/3080
Created attachment 461461 [details] Patch
Created attachment 461464 [details] Patch
Comment on attachment 461464 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=461464&action=review > Source/WebCore/rendering/RenderMenuList.cpp:250 > + if (!shouldApplySizeContainment()) { I personally disagree with this change, see https://github.com/WebKit/WebKit/pull/3080#issuecomment-1207729203
Committed 253218@main (5a258b32387e): <https://commits.webkit.org/253218@main> Reviewed commits have been landed. Closing PR #3080 and removing active labels.