<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>139118</bug_id>
          
          <creation_ts>2014-11-30 19:23:10 -0800</creation_ts>
          <short_desc>SVG attribute should not allow css comment in its value</short_desc>
          <delta_ts>2022-07-14 11:53:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1051391</commentid>
    <comment_count>0</comment_count>
      <attachid>242301</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-11-30 19:23:10 -0800</bug_when>
    <thetext>Created attachment 242301
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051478</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-01 10:40:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/19103247&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883642</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-14 09:39:05 -0700</bug_when>
    <thetext>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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883698</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-14 11:53:38 -0700</bug_when>
    <thetext>Thanks for testing!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>242301</attachid>
            <date>2014-11-30 19:23:10 -0800</date>
            <delta_ts>2014-11-30 19:23:10 -0800</delta_ts>
            <desc>Testcase that css comment in attribute is not allowed</desc>
            <filename>cssComment-in-attribute-01-expected.svg</filename>
            <type>image/svg+xml</type>
            <size>170</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDx0aXRsZT5SZWZlcmVu
Y2UgdGhhdCBjc3MgY29tbWVudCBpbiBhdHRyaWJ1dGUgaXMgbm90IGFsbG93ZWQ8L3RpdGxlPgog
IDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>