W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > June 2017

Re: [fxtf-drafts] [filter-effects] <feFuncX> `type` attribute doesn't have a default

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Sat, 10 Jun 2017 16:13:57 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-307574686-1497111236-sysbot+gh@w3.org>
It seems to be identity on Safari, Chrome, Firefox and Edge.

https://codepen.io/anon/pen/BZKyOq
```xml
<svg width=500 height=500>
  <defs>
    <linearGradient id="grad">
      <stop offset="0%" stop-color="#ff0000"/>
      <stop offset="16.67%" stop-color="#ffa500"/>
      <stop offset="33.33%" stop-color="#ffff00"/>
      <stop offset="50%" stop-color="#008000"/>
      <stop offset="66.67%" stop-color="#0000ff"/>
      <stop offset="83.33%" stop-color="#4b0082"/>
      <stop offset="100%" stop-color="#ee82ee"/>
    </linearGradient>
    <filter id="filter">
      <feComponentTransfer>
        <feFuncR/>
        <feFuncG/>
        <feFuncB/>
        <feFuncA/>
      </feComponentTransfer>
    </filter>
    <filter id="filter2">
      <feComponentTransfer>
        <feFuncR type="identity"/>
        <feFuncG type="identity"/>
        <feFuncB type="identity"/>
        <feFuncA type="identity"/>
      </feComponentTransfer>
    </filter>
  </defs>
  <rect width="200" height="100" fill="url('#grad')" filter="url(#filter)"/>
  <rect y="100" width="200" height="100" fill="url('#grad')" filter="url(#filter2)"/>
  <rect y="200" width="200" height="100" fill="url('#grad')"/>
 </svg>
```

-- 
GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/175#issuecomment-307574686 using your GitHub account
Received on Saturday, 10 June 2017 16:14:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:45:58 UTC