[Webkit-unassigned] [Bug 249079] New: -webkit-mask-box-image:initial is not the initial value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 10 14:47:04 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249079

            Bug ID: 249079
           Summary: -webkit-mask-box-image:initial is not the initial
                    value
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: obrufau at igalia.com

-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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221210/c65306fd/attachment.htm>


More information about the webkit-unassigned mailing list