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

Re: [css-shapes] polygon with one or two coordinate pairs

From: Rik Cabanier <cabanier@gmail.com>
Date: Sun, 29 Sep 2013 13:01:47 -0700
Message-ID: <CAGN7qDA9SruTygngcx5bPykXskq9+dXUUULRtf+r8eknKTOL-A@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>
On Sun, Sep 29, 2013 at 9:51 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Sun, Sep 29, 2013 at 7:34 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> > The specification currently does not mention what should happen if an
> author just specifies one or two pairs of coordinates with the polygon()
> function. At the moment it is not clear if you need to specify at least one
> pair at all:
> >
> > ""
> > polygon() starts with an optional <fill-rule> argument, followed by a
> list of arguments consisting of <length> or <percentage> pairs.
> > ""
> >
> > For two pairs, do authors see the text wrap around this line between
> these two coordinates? I would assume so, but just want to be sure.
> > For one pair, does the text wrap around this point, or do we have any
> different behavior?
>
> We should require at least three points; we don't need to allow
> degenerate polygons at all.
>

Why do you need 3 points? A single bezier curve can describe an area.


>
> > If a line or point defined by the polygon is between two lines (set with
> line-height maybe), do we still se wrapping behavior? Is there even
> something like spacing between lines?
>
> Whatever a zero-height float does to the following line.  This is
> defined somewhere, as I remember it coming up in the drive toward 2.1
> Rec.
>
> ~TJ
>
>
Received on Sunday, 29 September 2013 20:02:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC