[EMAIL PROTECTED] wrote: > On Apr 30, 3:15 pm, fantasai <[EMAIL PROTECTED]> wrote: >> The question I had was, what if id="b" is on the <rect> element >> instead? > > We could just disallow that, just like a naked <rect> without an > enclosing <svg> is disallowed. > > Or we could allow it and say it behaves as if it was wrapped in an > <svg> with no 'viewBox'. So an example would be > > <rect x="0" y="0" width="100%" height="100%" fill="magenta" id="b"/> > <p style="background: url(#b)">Hello Kitty</p>
Restricting internal image references to <svg> elements seems like reasonable idea to me. Keeps things simple. Any objections here or should we find an SVG person to pester about writing a spec? :) ~fantasai _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

