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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15360</bug_id>
          
          <creation_ts>2011-12-29 16:14:24 +0000</creation_ts>
          <short_desc>The spec should define whether &lt;base&gt; affects the SVG &apos;fill&apos; attribute of value url(xxx).</short_desc>
          <delta_ts>2012-07-18 18:41:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>MacOS X</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-style-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>csf178</cc>
    
    <cc>dh20156</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62133</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-12-29 16:14:24 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#the-style-attribute
Complete: http://www.whatwg.org/c#the-style-attribute

Comment:
The spec should define whether &lt;base&gt; affects the SVG &apos;fill&apos; attribute of
value url(xxx).

Posted from: 58.100.161.178
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62136</commentid>
    <comment_count>1</comment_count>
    <who name="Charlie Du">dh20156</who>
    <bug_when>2011-12-29 16:32:03 +0000</bug_when>
    <thetext>There is a case indicates that the value of  a SVG fill attribute does not follow the &lt;base&gt; href:

&lt;base href=&quot;http://www.w3cgroup.com&quot;&gt;
&lt;svg version=&quot;1.1&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
    &lt;defs&gt;
        &lt;radialGradient id=&quot;myGradient&quot; fx=&quot;0.5&quot; fy=&quot;0.5&quot;&gt;
            &lt;stop offset=&quot;0&quot; stop-color=&quot;red&quot; stop-opacity=&quot;1&quot;/&gt;
            &lt;stop offset=&quot;1&quot; stop-color=&quot;blue&quot; stop-opacity=&quot;0&quot;/&gt;
        &lt;/radialGradient&gt;
    &lt;/defs&gt;
    &lt;circle cx=&quot;100&quot; cy=&quot;100&quot; r=&quot;35&quot; fill=&quot;url(#myGradient)&quot; stroke=&quot;none&quot;/&gt;
&lt;/svg&gt;

It could be duplicated on Mac OS X 10.6.8 / Safari 5.1.2

http://www.jslab.org.cn/?tag=inconsistentBetweenFillAndBase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62137</commentid>
    <comment_count>2</comment_count>
    <who name="Kang-Hao (Kenny) Lu">kennyluck</who>
    <bug_when>2011-12-29 17:03:26 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; It could be duplicated on Mac OS X 10.6.8 / Safari 5.1.2

On the other hand, Chromium nightly and Firefox nightly do honor &lt;base&gt; here
and render this example as a black circle, which was described as &quot;abnormal&quot; by
the original reporter.

Also, I couldn&apos;t find the section where how &lt;base&gt; affects examples like &lt;div
style=&quot;background: url(xxx)&quot;&gt; is defined in the spec. ([CSSATTR] doesn&apos;t seem
to mention this either.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62151</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-30 11:24:37 +0000</bug_when>
    <thetext>That is up to the SVG and CSS specifications to define. And they should take it into account. &lt;base&gt; simply sets the base URL for the document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62152</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-30 11:25:08 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: &lt;http://dev.w3.org/html5/decision-policy/decision-policy.html&gt;.

Status: Rejected
Change Description: no spec change
Rationale: Out of scope.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>