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
Allow font-variant east-asian shorthand in any position #4945
Allow font-variant east-asian shorthand in any position #4945
Conversation
EWS run on previous version of this PR (hash f324eff) |
f324eff
to
efb7837
Compare
EWS run on previous version of this PR (hash efb7837) |
efb7837
to
c12e3b1
Compare
EWS run on previous version of this PR (hash c12e3b1) |
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.
I'm wondering if font-variant-east-asian: full-width garbage
or font-variant-east-asian: full-width none
is correctly handled here. We've had a similar bug with the list-style
shorthand, where it supported list-style: none garbage
because it didn't do a proper range end check.
c12e3b1
to
8d4b6dd
Compare
EWS run on previous version of this PR (hash 8d4b6dd) |
8d4b6dd
to
2123600
Compare
EWS run on current version of this PR (hash 2123600) |
https://bugs.webkit.org/show_bug.cgi?id=245972 Reviewed by Darin Adler. The property font-variant-east-asian can be used in any position in the font-variant shorthand ; it should not check that the range is finished. https://drafts.csswg.org/css-fonts-4/#font-variant-prop * LayoutTests/fast/text/font-variant-shorthand-expected.txt: * LayoutTests/fast/text/font-variant-shorthand.html: Add tests which fail before this change. * LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-variant-east-asian-invalid-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-variant-east-asian-invalid.html: Imported from WPT. * LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-variant-valid-expected.txt: * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::consumeFontVariantEastAsian): Canonical link: https://commits.webkit.org/255134@main
2123600
to
fd7b349
Compare
Committed 255134@main (fd7b349): https://commits.webkit.org/255134@main Reviewed commits have been landed. Closing PR #4945 and removing active labels. |
fd7b349
2123600
π π§ͺ winπ mac-debugπ§ͺ ios-wk2π mac-AS-debugπ§ͺ api-macπ§ͺ api-gtkπ§ͺ mac-wk1π§ͺ mac-wk2π§ͺ mac-AS-debug-wk2π§ͺ mac-wk2-stress