<?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>126976</bug_id>
          
          <creation_ts>2014-01-14 04:02:53 -0800</creation_ts>
          <short_desc>REGRESSION (r160908): Forward referencing with -webkit-filter doesn&apos;t work anymore</short_desc>
          <delta_ts>2022-08-20 14:29:43 -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>CSS</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>
          <dependson>120685</dependson>
          <blocked>68469</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">krit</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>dino</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>967752</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-01-14 04:02:53 -0800</bug_when>
    <thetext>&lt;style&gt;
div {
	width: 200px;
	height: 200px;
	-webkit-filter: url(#f);
}
&lt;/style&gt;

&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;svg width=&quot;200&quot; height=&quot;200&quot;&gt;
	&lt;filter id=&quot;f&quot;&gt;
	&lt;feFlood flood-color=&quot;green&quot;/&gt;
	&lt;/filter&gt;
&lt;/svg&gt;

Doesn&apos;t work, adding the SVG element at the beginning works.

&lt;svg width=&quot;200&quot; height=&quot;200&quot;&gt;
	&lt;filter id=&quot;f&quot;&gt;
	&lt;feFlood flood-color=&quot;green&quot;/&gt;
	&lt;/filter&gt;
&lt;/svg&gt;
&lt;div&gt;&lt;/div&gt;
...

I don&apos;t know the regression window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967791</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-01-14 06:06:14 -0800</bug_when>
    <thetext>The problem occurs somewhere between r160907 and r160984.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968259</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-01-15 03:27:50 -0800</bug_when>
    <thetext>I checked and build https://trac.webkit.org/changeset/160908 . It is the lazy render tree creation that causes the regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>984206</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-02-24 23:47:36 -0800</bug_when>
    <thetext>Thanks Antti! I didn&apos;t check if it works again yet. What fixed it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>984207</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-02-24 23:47:50 -0800</bug_when>
    <thetext>&lt;rdar://problem/16157970&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>984208</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-02-24 23:50:56 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; Thanks Antti! I didn&apos;t check if it works again yet. What fixed it?

Oh, sorry. Misread the message for bug 126976. Btw. I tried the synchronization of render tree just for filters (as you told me) but it didn&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892679</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-20 11:54:02 -0700</bug_when>
    <thetext>I changed the test case from Comment 0 into JSFiddle:

Link - https://jsfiddle.net/nkj4x298/show

*** Safari 15.6.1 on macOS 12.5.1 ***

Green bar does not show but when I scroll there is a text and then small patch of green below the text patch and text patch is space to green patch width.

*** Safari Technology Preview 151 ***

Green bar does show but after little time also when I scroll there is a text and then small patch of green below the text patch and text patch is space to green patch width. Although starting few characters of text is now overlapped by green bar.

*** Chrome Canary 106 ***

Green bar does show but after little time also when I scroll there is a text and then small patch of green below the text patch and text patch is space to green patch width. Although starting few characters of text is now overlapped by green bar.

*** Firefox Nightly 105 ***

Green bar does show but after little time also when I scroll there is a text and then small patch of green below the text patch and text patch is space to green patch width. Although starting few characters of text is now overlapped by green bar.

__________

I would say that it is fixed in Safari Technology Preview 151 at least but only small issue is slight delay in rendering of &quot;green&quot; bar.

I will leave it for others to conclude whether it can be considered as &quot;RESOLVED CONFIGURATION CHANGED&quot; or not. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892697</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-08-20 14:29:43 -0700</bug_when>
    <thetext>Curious what finally fixed this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>