Bug 126976 - REGRESSION (r160908): Forward referencing with -webkit-filter doesn't work anymore
Summary: REGRESSION (r160908): Forward referencing with -webkit-filter doesn't work an...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on: 120685
Blocks: 68469
  Show dependency treegraph
 
Reported: 2014-01-14 04:02 PST by Dirk Schulze
Modified: 2014-03-02 10:28 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2014-01-14 04:02:53 PST
<style>
div {
	width: 200px;
	height: 200px;
	-webkit-filter: url(#f);
}
</style>

<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<svg width="200" height="200">
	<filter id="f">
	<feFlood flood-color="green"/>
	</filter>
</svg>

Doesn't work, adding the SVG element at the beginning works.

<svg width="200" height="200">
	<filter id="f">
	<feFlood flood-color="green"/>
	</filter>
</svg>
<div></div>
...

I don't know the regression window.
Comment 1 Dirk Schulze 2014-01-14 06:06:14 PST
The problem occurs somewhere between r160907 and r160984.
Comment 2 Dirk Schulze 2014-01-15 03:27:50 PST
I checked and build https://trac.webkit.org/changeset/160908 . It is the lazy render tree creation that causes the regression.
Comment 3 Dirk Schulze 2014-02-24 23:47:36 PST
Thanks Antti! I didn't check if it works again yet. What fixed it?
Comment 4 Radar WebKit Bug Importer 2014-02-24 23:47:50 PST
<rdar://problem/16157970>
Comment 5 Dirk Schulze 2014-02-24 23:50:56 PST
(In reply to comment #3)
> Thanks Antti! I didn'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't work.