Bug 139118

Summary: SVG attribute should not allow css comment in its value
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, mmaxfield, rniwa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase that css comment in attribute is not allowed none

Description Said Abou-Hallawa 2014-11-30 19:23:10 PST
Created attachment 242301 [details]
Testcase that css comment in attribute is not allowed

Open the attached file. The whole page should be displayed in black.

NOTE: The attached file is an imported Mozilla svg test.
Comment 1 Radar WebKit Bug Importer 2014-12-01 10:40:52 PST
<rdar://problem/19103247>
Comment 2 Ahmad Saleem 2022-07-14 09:39:05 PDT
I am unable to reproduce this bug in Safari 15.5 on macOS 12.4 using attached test case and the expected result is noted where whole webpage is black, which is consistent across all other browsers (Chrome Canary 105 and Firefox Nightly 104). Thanks!
Comment 3 Ryosuke Niwa 2022-07-14 11:53:38 PDT
Thanks for testing!