[fxtf-drafts] [filter-effects-1] Filter primitives do not always form a tree structure (#376)

jarek-foksa has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [filter-effects-1] Filter primitives do not always form a tree structure ==
[Section 9.3](https://drafts.fxtf.org/filter-effects-1/#FilterPrimitiveTree) states that every filter structure can be represented as a tree. From my testing this statement seems to be wrong as it is possible to organize the primitives so that they form a more generic graph rather than a tree. For example:

<filter id="test-filter">
  <feFlood result="red-flood" flood-color="red" flood-opacity="0.5" />
  <feFlood result="green-flood" flood-color="green" flood-opacity="0.5" />
  <feMerge result="red-greeen-flood">
    <feMergeNode in="red-flood"/>
    <feMergeNode in="green-flood"/>
    <feMergeNode in="red-green-flood"/>
    <feMergeNode in="green-flood"/>

<img width="300" alt="Screen Shot 2019-09-23 at 20 01 01" src="https://user-images.githubusercontent.com/193371/65451067-bc4cd000-de3e-11e9-9dce-2caa376b68ad.png">

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/376 using your GitHub account

Received on Monday, 23 September 2019 18:50:38 UTC