[Webkit-unassigned] [Bug 244310] New: CSS pretty printing fails on invalid url token

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 24 15:18:11 PDT 2022


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

            Bug ID: 244310
           Summary: CSS pretty printing fails on invalid url token
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

expedia.com contains an inline stylesheet including what the pretty-printer converts to (the clearly not pretty printed!):

.uitk-badge-notification-count-mask {
            display: inline-flex;
            -webkit-mask-image: url('data:image/svg+xml;utf8,

        <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
            <path d="M 0,0  L 90,0 L 90,5 Q 91,9 95,10 L 100,10 L 100,100 L 0,100 z"/>
        </svg>
        ');mask-image:url('data:image/svg+xml;utf8,

        <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
            <path d="M 0,0  L 90,0 L 90,5 Q 91,9 95,10 L 100,10 L 100,100 L 0,100 z"/>
        </svg>
        ');mask-mode:alpha;-webkit-mask-position:top right;mask-position:top right}.uitk-badge-notification-dot-mask{display:inline-flex;-webkit-mask-image:url('data:image/svg+xml;utf8,

        <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
            <path d="M 0,0  L 91.5,0 A 6.25 6.25 0 0 0 100,8.5 L 100,10 L 100,100 L 0,100 z"/>
        </svg>
        ');mask-image:url('data:image/svg+xml;utf8,

        <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
            <path d="M 0,0  L 91.5,0 A 6.25 6.25 0 0 0 100,8.5 L 100,10 L 100,100 L 0,100 z"/>
        </svg>
        ');mask-mode:alpha;-webkit-mask-position:top right;mask-position:top right}

This is especially bad because it never actually recovers, so after this we just have a massive lump of CSS.

-- 
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/20220824/a453509e/attachment.htm>


More information about the webkit-unassigned mailing list