WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
244310
CSS pretty printing fails on invalid url token
https://bugs.webkit.org/show_bug.cgi?id=244310
Summary
CSS pretty printing fails on invalid url token
Sam Sneddon [:gsnedders]
Reported
2022-08-24 15:18:11 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-08-25 10:44:47 PDT
<
rdar://problem/99145487
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug