On Thu, Jun 30, 2011 at 6:13 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:
> Is there any particular reason you're using element() instead of url() for
> this?
>
Yes. No spec defines background:url(file.svg#pattern) to fill with the
pattern. An SVG 1.2 draft suggested that we should treat the entire file.svg
as an SVG image and align the viewport to the referenced element (much like
<a> does, I guess). In the absence of a spec, the default behavior for all
UAs is to simply load file.svg as an image and ignore the fragment. We
didn't want to just change that arbitrarily.
Rob
--
"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]