W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: [cssom-view] small update

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 8 Mar 2008 01:09:22 +1300
Message-ID: <11e306600803070409n41cd6b38sa7e6b90eff803989@mail.gmail.com>
To: "Erik Dahlström" <ed@opera.com>
Cc: "Anne van Kesteren" <annevk@opera.com>, www-style@w3.org
On Sat, Mar 8, 2008 at 1:00 AM, Erik Dahlström <ed@opera.com> wrote:

> On Thu, 06 Mar 2008 13:59:53 +0100, Robert O'Callahan
> <robert@ocallahan.org> wrote:
> > A few comments...
> ...
> > For SVG elements, which don't really have border-boxes, our
> > implementation
> > of getClientRects returns a single rect which is the bounding-box of the
> > SVG
> > element.
> Is "the bounding-box" for SVG the same as what SVGLocatable.getBBox
> returns on the element? Since those bboxes are in user-space coordinates
> it should be noted that they may not be aligned with the screen coordinate
> system. Or do you mean SVGLocatable.getScreenBBox (from SVGT12), which is
> aligned with the screen coordinate system?

For consistency with non-SVG elements, it's a box in CSS pixel units,
aligned with and relative to the viewport (either the true viewport or a
foreignObject-based viewport). I guess that's almost the same as

"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
Received on Friday, 7 March 2008 12:09:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:34 UTC