W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2011

[filters] feUnsharpenMask, feDropShadow and drop-shadow

From: Dirk Schulze <vbs85@gmx.de>
Date: Fri, 21 Oct 2011 14:54:26 +0200
Message-Id: <61F616DC-210C-47CC-AE43-18B388F23CB5@gmx.de>
To: public-fx@w3.org
Hi,

Just some notes to the specification text of Filter Effects 1.0.

feDropShadow gives a detailed explanation that it is a shorthand filter effect and how it could be done with existing filter effects from SVG Filters. Maybe feUnsharpenMask can do that as well? [1][2]

Can the drop-shadow explanation just use the shorthand filter effect feDropShadow [3]? In my opinion it doesn't need to describe how it works twice. The sharpen effect uses feUnsharpMask as well.

 <filter id="drop-shadow">
    <feDropShadow stdDeviation="[radius]" flood-color="[color]" dx="[offset-x]" dy="[offset-y]"/>
  </filter> 

Also feDropShadow misses references to 'flood-color' and 'flood-opacity' properties, while feFlood has them [4]. Just step 3 in 'divided into steps' [2] mentions 'flood-color' and 'flood-opacity' without a hint that they should be used for feDropShadow as well.

Greetings
Dirk

[1] https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html#feUnsharpMaskElement
[2] https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html#feDropShadowElement
[3] https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html#dropshadowEquivalent
[4] https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html#feFloodElement
Received on Friday, 21 October 2011 12:55:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 October 2011 12:55:09 GMT