W3C home > Mailing lists > Public > www-style@w3.org > October 2013

[css-shapes] relative box

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 30 Sep 2013 23:57:06 -0700
Message-ID: <524A7242.3070407@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
2.2. Basic Shapes

   # When using this syntax to define shapes, the relevant
   # box is determined by the computed value of the
   # ‘box-sizing’ property.

I'm not sure that this makes a whole lot of sense, given
that by default floats use the margin box as their float
area, and by default box-sizing is 'content-box'.

I don't have a solution in mind, I just think this is wrong.
I think rectangle(0,0,100%,100%) should be equivalent to the
default behavior; that it's not, strikes me as inconsistent.

   # The coordinate system for the shape has its origin on
   # the top-left corner of the relevant box with the x-axis
   # running to the right and the y-axis running downwards.

This could present some problems... if you're defining a
contour that overlays an image, it's exactly what's needed,
but if the shape is relating to the arrangement of content
on the page, you might want it to be logical, like the grid
coordinates, rather than physical.

Again, I don't have a solution in mind. :( But I think we
need to have one in mind.

~fantasai
Received on Tuesday, 1 October 2013 06:57:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 06:57:34 UTC