Summary: | Unprefix -webkit-mask and longhand forms | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> | ||||||||||||||||
Component: | CSS | Assignee: | Matt Woodrow <mattwoodrow> | ||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||
Severity: | Normal | CC: | changseok, clopez, dino, esprehn+autocc, ews-watchlist, fmalita, glenn, gyuyoung.kim, joepeck, koivisto, kondapallykalyan, krit, macpherson, menard, parvu, pdr, sabouhallawa, schenney, sergio, simon.fraser, webkit-bug-importer, youennf, zalan | ||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||
Version: | WebKit Local Build | ||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=229370 | ||||||||||||||||||
Bug Depends on: | 229899, 229900, 229903, 229915, 229917 | ||||||||||||||||||
Bug Blocks: | 95389, 217522 | ||||||||||||||||||
Attachments: |
|
Description
Sam Sneddon [:gsnedders]
2021-08-13 10:47:24 PDT
I have a patch for part of this. Created attachment 444576 [details]
Work in progress patch
Created attachment 445116 [details]
Patch
Created attachment 445152 [details]
Patch
Created attachment 445161 [details]
Patch
Created attachment 445242 [details]
Patch
Comment on attachment 445242 [details]
Patch
looks like you need to do some more rebasing
Comment on attachment 445242 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445242&action=review > Source/WebCore/css/CSSComputedStyleDeclaration.cpp:4458 > +size_t ComputedStyleExtractor::getLayerCount(CSSPropertyID property) > +{ > + ASSERT(property == CSSPropertyBackground || property == CSSPropertyMask); > + if (!styledElement()) > + return 0; I already see this code in trunk so I suppose it is not really part of this change? We don't start function names with 'get', this should be called layerCount/countLayers/countLayersForProperty or similar. There are functions in this file that don't follow the rule, that's not a reason to add new code like that. Also some of them are like that because they are exposed in CSSOM. > Source/WebCore/css/CSSComputedStyleDeclaration.cpp:4476 > +Ref<CSSValueList> ComputedStyleExtractor::getFillLayerPropertyShorthandValue(CSSPropertyID property, const StylePropertyShorthand& propertiesBeforeSlashSeparator, const StylePropertyShorthand& propertiesAfterSlashSeparator, CSSPropertyID lastLayerProperty) > +{ > + ASSERT(property == CSSPropertyBackground || property == CSSPropertyMask); > + size_t layerCount = getLayerCount(property); This too Created attachment 446401 [details]
Patch
Created attachment 446485 [details]
Patch
Committed r286795 (245035@main): <https://commits.webkit.org/245035@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446485 [details]. *** Bug 121432 has been marked as a duplicate of this bug. *** *** Bug 137294 has been marked as a duplicate of this bug. *** *** Bug 137292 has been marked as a duplicate of this bug. *** |