Re: [css-props-vals] First iteration of L1 spec

On Saturday 2015-08-22 16:48 +0000, Shane Stephens wrote:
> On Sat, Aug 15, 2015 at 5:04 PM L. David Baron <dbaron@dbaron.org> wrote:
> > On Friday 2015-06-12 00:39 +0000, Greg Whitworth wrote:
> > > Tab, Shane, Ian and I were able to get together on a video call today
> > and hashed out some of the details regarding what the custom properties and
> > values API can provide, its expected data structures, potential hurdles and
> > some examples.
> > >
> > > Please feel free to provide your feedback regarding the API design and
> > any potential issues we didn't consider.
> > >
> > > http://dev.w3.org/houdini/css-properties-values-api/
> >
> > Here are some comments on
> > https://drafts.css-houdini.org/css-properties-values-api/ as of
> > revision https://hg.css-houdini.org/drafts/rev/94804d3e9678 :
> >

> > Section 4: Examples
> > ===================
> >
> > The majority of the examples use type: where they intend to use
> > syntax:.
> >
> 
> I don't understand, sorry.

To quote a few lines within example 1:

#     syntax: "<number>"

#     type: "<length>"

#   type: "<angle>"

The spec defines the property name in PropertyDescriptor as
"syntax", so the ones that say "type" instead should say "syntax".

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Saturday, 22 August 2015 16:54:13 UTC