| Summary: | -webkit-mask-box-image:initial is not the initial value | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Oriol Brufau <obrufau> |
| Component: | CSS | Assignee: | Oriol Brufau <obrufau> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=248346 | ||
Pull request: https://github.com/WebKit/WebKit/pull/7452 Committed 257707@main (20eb361ea099): <https://commits.webkit.org/257707@main> Reviewed commits have been landed. Closing PR #7452 and removing active labels. |
-webkit-mask-box-image is stored in StyleRareNonInheritedData::maskBoxImage, which is initialized to: NinePieceImage(NinePieceImage::Type::Mask) However, -webkit-mask-box-image:initial sets it to NinePieceImage() This implies that with -webkit-mask-box-image:initial, - fill is false instead of true. - imageSlices contains Length(100,LengthType::Percent) instead of Length(0,LengthType::Fixed). - borderSlices contains Length(1,LengthType::Relative) instead of Length(0,LengthType::Auto).