| Summary: | Return 'none' as the computed style for mask when there are no images | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> | ||||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | darin, dino, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, macpherson, menard, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Matt Woodrow
2022-02-07 15:16:16 PST
Created attachment 451161 [details]
Patch
Created attachment 451193 [details]
Patch
Created attachment 451210 [details]
Patch
Committed r289377 (246965@main): <https://commits.webkit.org/246965@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 451210 [details]. Comment on attachment 451210 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451210&action=review > Source/WebCore/css/CSSComputedStyleDeclaration.h:99 > - Ref<CSSValueList> getFillLayerPropertyShorthandValue(CSSPropertyID, const StylePropertyShorthand& propertiesBeforeSlashSeparator, const StylePropertyShorthand& propertiesAfterSlashSeparator, CSSPropertyID lastLayerProperty); > - Ref<CSSValueList> getBackgroundShorthandValue(); > - Ref<CSSValueList> getMaskShorthandValue(); > + RefPtr<CSSValue> getFillLayerPropertyShorthandValue(CSSPropertyID, const StylePropertyShorthand& propertiesBeforeSlashSeparator, const StylePropertyShorthand& propertiesAfterSlashSeparator, CSSPropertyID lastLayerProperty); > + RefPtr<CSSValue> getBackgroundShorthandValue(); > + RefPtr<CSSValue> getMaskShorthandValue(); Why the change from Ref to RefPtr? These can’t return nullptr, can they? (In reply to Darin Adler from comment #5) > Why the change from Ref to RefPtr? These can’t return nullptr, can they? Ah indeed, this is a remnant from an earlier revision of the patch, I could have left these as Ref. |