- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Thu, 5 Jun 2008 14:45:12 +1200
- To: www-svg <www-svg@w3.org>
- Message-ID: <11e306600806041945t202e58c3o7067e99d34fdb897@mail.gmail.com>
Context: http://www.w3.org/TR/SVG/filters.html#AccessingBackgroundImage The text says "Find the element Ai with the smallest subscript i (including A0=E) for which the 'enable-background' property has the value new." So that seems to mean that the search for the nearest enclosing element with enable-background:new starts with the current element. So if an element has enable-background:new and a 'filter', then usage of "BackgroundImage" within the filter will get a transparent black background. Is this intentional? It seems less useful, and less in the spirit of the rest of the section, than starting the search for an enable-background:new ancestor at the parent element. BTW enable-background seems be one of those well-intentioned features that is just making life harder for authors and for implementors, at least for me. I can get the background image reasonably efficiently in all cases, so the only reason I have to track the enable-background property is to break the BackgroundImage feature if enable-background wasn't specified or set to an inappropriate rectangle. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]
Received on Thursday, 5 June 2008 02:45:50 UTC