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
border-image-* returns the initial keyword instead of the initial value when setting border-image shorthand #6652
border-image-* returns the initial keyword instead of the initial value when setting border-image shorthand #6652
Conversation
EWS run on previous version of this PR (hash f5b4d1d) |
f5b4d1d
to
59295d1
Compare
EWS run on previous version of this PR (hash 59295d1)
|
EWS run on previous version of this PR (hash 59295d1)
|
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.
Informal LGTM.
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 think you forgot to upload the new version of the patch
Itβs coming, still testing it. |
59295d1
to
c3854b1
Compare
EWS run on current version of this PR (hash c3854b1)
|
EWS run on previous version of this PR (hash c3854b1)
|
I do not understand these compilation errors that we are seeing on multiple platforms. It says the types
|
#6592 just moved the headers into CSSPropertyParserHelpers.cpp |
Pretty sure it merged in my change and now the #includes are a bit different. |
c3854b1
to
a2d03e8
Compare
EWS run on current version of this PR (hash a2d03e8)
|
@@ -30,6 +30,8 @@ | |||
#include "config.h" | |||
#include "CSSPropertyParser.h" | |||
|
|||
#include "CSSBorderImageSliceValue.h" | |||
#include "CSSBorderImageWidthValue.h" |
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.
consumeBorderImageComponents
is in CSSPropertyParserHelpers.cpp already, so you could move consumeBorderImage
too and then no need to include the headers in both places.
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βd hate to delay landing this small change further for that, but I guess I could do it. At the time I started this change the file already included those headers.
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.
Not blocking on this
a2d03e8
to
03e94a8
Compare
β¦ue when setting border-image shorthand https://bugs.webkit.org/show_bug.cgi?id=244657 rdar://problem/99420050 Reviewed by Sam Weinig. * LayoutTests/fast/borders/border-image-legacy.html: Expect initial values instead of the keyword "initial" for specified style. * LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/border-image-shorthand.sub-expected.txt: Expect PASS. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/border-image-shorthand.sub-expected.txt: Ditto. * Source/WebCore/css/StyleProperties.cpp: (WebCore::StyleProperties::borderImagePropertyValue const): Change the code that checks for implicit values to not require use of the initial keyword. * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::CSSPropertyParser::consumeBorderImage): Set initial values using the actual values rather than the initial keyword. Canonical link: https://commits.webkit.org/257119@main
03e94a8
to
c0c6ad1
Compare
Committed 257119@main (c0c6ad1): https://commits.webkit.org/257119@main Reviewed commits have been landed. Closing PR #6652 and removing active labels. |
c0c6ad1
a2d03e8
π§ͺ api-gtkπ§ͺ mac-wk1π§ͺ mac-AS-debug-wk2