On Apr 30, 1:02 pm, fantasai <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > OK, let's render the SVG element in a viewport established by the
> > background clip area.
>
> I don't think that'll do anything useful. What are you expecting it
> to do?

<svg viewBox="0 0 1000 1000" id="b">
  <rect x="0" y="0" width="500" height="500" fill="magenta"/>
  <rect x="500" y="500" width="500" height="500" fill="cyan"/>
</svg>
<p style="background: url(#b)">Hello Kitty</p>

Since the default value of preserveAspectRatio is "xMidYMid", this
should draw two small-ish squares in the centre of the <p>. Right?

Rob
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to