-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[Button Layout] buttons should not have align-items: flex-start by default
#42166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Button Layout] buttons should not have align-items: flex-start by default
#42166
Conversation
|
EWS run on previous version of this PR (hash 5e862fe) Details |
nt1m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this too: https://searchfox.org/wubkat/rev/662cdccd8338a60684dac2fc6e14d26305e5db8a/Source/WebCore/css/html.css#1127 ?
The select children can't really be laid out as a flex items as it stands, so that rule does nothing.
5e862fe to
47f05c1
Compare
|
EWS run on previous version of this PR (hash 47f05c1) Details |
47f05c1 to
8a510f0
Compare
|
EWS run on previous version of this PR (hash 8a510f0) Details |
|
Oh, the select test is still failing because: https://searchfox.org/wubkat/rev/662cdccd8338a60684dac2fc6e14d26305e5db8a/Source/WebCore/css/html.css#1119,1134 Might be worth just landing button here, and then removing both flex-start and center from select in a separate commit. |
8a510f0 to
dda65ff
Compare
|
EWS run on previous version of this PR (hash dda65ff) Details |
dda65ff to
a987525
Compare
|
EWS run on previous version of this PR (hash a987525) Details |
a987525 to
f553e7e
Compare
|
EWS run on current version of this PR (hash f553e7e) Details |
…y default https://bugs.webkit.org/show_bug.cgi?id=289441 rdar://146615626 Reviewed by Tim Nguyen. This patch aligns WebKit with Gecko / Firefox and Blink / Chromium. Merge: https://chromium-review.googlesource.com/c/chromium/src/+/6013405 This patch removes unneeded `align-items: flex-start`, since it is leftover from our implementation of `button` as flex containers in 228400@main. * Source/WebCore/css/html.css: (input:is([type="button"], [type="submit"], [type="reset"]), input[type="file"]::file-selector-button, button): * LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex-expected.txt: Rebaselined * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex-expected.txt: Removed. Canonical link: https://commits.webkit.org/291883@main
f553e7e to
d12e448
Compare
|
Committed 291883@main (d12e448): https://commits.webkit.org/291883@main Reviewed commits have been landed. Closing PR #42166 and removing active labels. |
🛠 jsc-armv7
d12e448
f553e7e
🧪 api-mac🧪 mac-AS-debug-wk2