<?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>131085</bug_id>
          
          <creation_ts>2014-04-01 16:59:22 -0700</creation_ts>
          <short_desc>SVG-filtered anonymous renderers not updated when filter is loaded</short_desc>
          <delta_ts>2022-10-21 14:34:36 -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>NEW</bug_status>
          <resolution></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="Jon Honeycutt">jhoneycutt</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>dino</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>996533</commentid>
    <comment_count>0</comment_count>
      <attachid>228341</attachid>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2014-04-01 16:59:22 -0700</bug_when>
    <thetext>Created attachment 228341
Layout test

If an anonymous render object is filtered with an SVG filter, and that filter appears in the document after the element (or if it loads sometime later), the renderer will not be updated/repaint when the filter loads.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>996535</commentid>
    <comment_count>1</comment_count>
      <attachid>228342</attachid>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2014-04-01 17:00:12 -0700</bug_when>
    <thetext>Created attachment 228342
Layout test reference</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>996551</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2014-04-01 17:48:45 -0700</bug_when>
    <thetext>FilterEffectRenderer::buildReferenceFilter() does not handle the case that renderer-&gt;element() is false when the filter does not already exist in the document.

I tried fixing this in two ways:

1) Using a non-null ancestor Element for anonymous objects. This doesn&apos;t work because the object may not yet exist in the RenderTree when this code is reached, so it has no ancestors.

2) Because we only use the renderer from the stored Element in RenderSVGResourceContainer::registerResource(), I tried changing SVGDocumentExtensions to store a set of RenderElements rather than Elements. This led to issues when building the list of pending resources for Elements that do not yet have associated renderers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>996634</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2014-04-02 01:38:26 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; FilterEffectRenderer::buildReferenceFilter() does not handle the case that renderer-&gt;element() is false 

That is, when renderer-&gt;element() is null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001989</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-04-18 13:00:03 -0700</bug_when>
    <thetext>&lt;rdar://problem/16661954&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001996</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2014-04-18 13:07:52 -0700</bug_when>
    <thetext>*** Bug 129757 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907426</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-10-21 14:34:36 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari Technology Preview 156 using &quot;Layout test&quot; and first letter &quot;F&quot; is blurred while it is not the case with Chrome Canary 109 and Firefox Nightly 108. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>228341</attachid>
            <date>2014-04-01 16:59:22 -0700</date>
            <delta_ts>2014-04-01 16:59:22 -0700</delta_ts>
            <desc>Layout test</desc>
            <filename>first-letter.html</filename>
            <type>text/html</type>
            <size>1243</size>
            <attacher name="Jon Honeycutt">jhoneycutt</attacher>
            
              <data encoding="base64">PGhlYWQ+CiAgICA8c3R5bGU+CiAgICAgICAgI3RvcCB7IGhlaWdodDogMHB4OyB9CiAgICAgICAg
ZGl2OmZpcnN0LWxldHRlciB7IC13ZWJraXQtZmlsdGVyOiB1cmwoI2JsdXJGaXJzdExldHRlcik7
IH0KICAgIDwvc3R5bGU+CjwvaGVhZD4KCjxkaXYgaWQ9InRvcCI+PC9kaXY+Cgo8ZGl2PkZpcnN0
IGxldHRlciBibHVyLjwvZGl2PgoKPHNjcmlwdD4KICAgIGlmICh3aW5kb3cudGVzdFJ1bm5lcikK
ICAgICAgICB3aW5kb3cudGVzdFJ1bm5lci53YWl0VW50aWxEb25lKCk7CgogICAgd2luZG93LnNl
dFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgdmFyIGRpdiA9IGRvY3VtZW50LmdldEVsZW1l
bnRCeUlkKCJ0b3AiKTsKICAgICAgICB2YXIgc3ZnTlMgPSAiaHR0cDovL3d3dy53My5vcmcvMjAw
MC9zdmciOwoKICAgICAgICB2YXIgc3ZnID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudE5TKHN2Z05T
LCAic3ZnIik7CiAgICAgICAgc3ZnLnNldEF0dHJpYnV0ZSgieG1sbnMiLCBzdmdOUyk7CiAgICAg
ICAgc3ZnLnNldEF0dHJpYnV0ZSgidmVyc2lvbiIsICIxLjEiKTsKICAgICAgICBzdmcuc2V0QXR0
cmlidXRlKCJ3aWR0aCIsICIwIik7CiAgICAgICAgc3ZnLnNldEF0dHJpYnV0ZSgiaGVpZ2h0Iiwg
IjAiKTsKCiAgICAgICAgdmFyIGZpbHRlckRlZnMgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50TlMo
c3ZnTlMsICJkZWZzIik7CgogICAgICAgIHZhciBmaWx0ZXIgPSBkb2N1bWVudC5jcmVhdGVFbGVt
ZW50TlMoc3ZnTlMsICJmaWx0ZXIiKTsKICAgICAgICBmaWx0ZXIuc2V0QXR0cmlidXRlKCJpZCIs
ICJibHVyRmlyc3RMZXR0ZXIiKTsKCiAgICAgICAgdmFyIGJsdXIgPSBkb2N1bWVudC5jcmVhdGVF
bGVtZW50TlMoc3ZnTlMsICJmZUdhdXNzaWFuQmx1ciIpOwogICAgICAgIGJsdXIuc2V0QXR0cmli
dXRlTlMobnVsbCwgImluIiwgIlNvdXJjZUdyYXBoaWMiKTsKICAgICAgICBibHVyLnNldEF0dHJp
YnV0ZU5TKG51bGwsICJzdGREZXZpYXRpb24iLCAiMSIpOwoKICAgICAgICBmaWx0ZXIuYXBwZW5k
Q2hpbGQoYmx1cik7CiAgICAgICAgZmlsdGVyRGVmcy5hcHBlbmRDaGlsZChmaWx0ZXIpOwogICAg
ICAgIHN2Zy5hcHBlbmRDaGlsZChmaWx0ZXJEZWZzKTsKICAgICAgICBkaXYuYXBwZW5kQ2hpbGQo
c3ZnKTsKCiAgICAgICAgaWYgKHdpbmRvdy50ZXN0UnVubmVyKQogICAgICAgICAgICB3aW5kb3cu
dGVzdFJ1bm5lci5ub3RpZnlEb25lKCk7CiAgICB9LCAwKTsKPC9zY3JpcHQ+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>228342</attachid>
            <date>2014-04-01 17:00:12 -0700</date>
            <delta_ts>2014-04-01 17:00:12 -0700</delta_ts>
            <desc>Layout test reference</desc>
            <filename>first-letter-expected.html</filename>
            <type>text/html</type>
            <size>460</size>
            <attacher name="Jon Honeycutt">jhoneycutt</attacher>
            
              <data encoding="base64">PGhlYWQ+CiAgICA8c3R5bGU+CiAgICAgICAgI3RvcCB7IGhlaWdodDogMHB4OyB9CiAgICAgICAg
I2JsdXIgeyAtd2Via2l0LWZpbHRlcjogdXJsKCNibHVyRmlyc3RMZXR0ZXIpOyB9CiAgICA8L3N0
eWxlPgo8L2hlYWQ+Cgo8ZGl2IGlkPSJ0b3AiPgogICAgPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53
My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjAiIGhlaWdodD0iMCI+CiAgICAg
ICAgPGRlZnM+CiAgICAgICAgICAgIDxmaWx0ZXIgaWQ9ImJsdXJGaXJzdExldHRlciI+CiAgICAg
ICAgICAgICAgICA8ZmVHYXVzc2lhbkJsdXIgaW49IlNvdXJjZUdyYXBoaWMiIHN0ZERldmlhdGlv
bj0iMSIvPgogICAgICAgICAgICA8L2ZpbHRlcj4KICAgICAgICA8L2RlZnM+CiAgICA8L3N2Zz4K
PC9kaXY+Cgo8ZGl2PjxzcGFuIGlkPSJibHVyIj5GPC9zcGFuPmlyc3QgbGV0dGVyIGJsdXIuPC9k
aXY+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>