> lilley@afs.mcc.ac.uk writes:
...
> Having a shorthand for ID is not only a syntactical convenience;
> knowing that the attribute is unique will help implementors. We were
> thinking about a different shorthand:
>
> "x67y" { .. }
>
> > So
> >
> > bar.foo {something } all bar elements with class attribute foo
> > .foo { something } all elements with class attribute foo
> > #42 { something } the element with id attribute 42
> >
> > This gives a concise and regular notation, it seems.
>
...
> A few questions remain:
>
> - should one also allow the more verbose versions (CLASS=foo,
> ID=x67y) in CSS1?
>
> - what do people prefer,
> -- #x65y or "x56y" ?
> -- @CLASS=foo or [CLASS=foo] ?
I prefer the [CLASS=foo] and .foo forms to the @CLASS=foo form. I really
like both the #foo and [ID=foo] forms, one for ease of use, the other for
completeness.
Benjamin C. W. Sittler