Re: [css-namespaces] feedback

Just to make sure, it looks like this email has nothing to do with the
CSS Namespaces spec, right?

On Tue, Sep 30, 2014 at 8:17 AM,  <commandline@telenet.be> wrote:
> Dear,
>
> Thank's for an upgrade to css which we welcome. However, there's something
> which keeps on attracting my attention. Namely the lack of
> modularity-of-designs.
>
> I hope this comment can be seen as a contribution and just maybe as a start
> of a possibly interesting phase in the development of css.
>
> For example, why does the inherit property not enable to extend it with {
> font-size: inherit+1em; } for example ?

When used in font-size, "1em" *is* the inherited value; the "em" unit
corresponds to the value of 'font-size' on the parent.

This doesn't work for every property, of course, but this might get
addressed in the future, when CSS Custom Properties adds a
parent-var() function - I'm pretty sure it's fine to look up the value
of any property on your parent, without circularity issues.

> Or  like {  font-all : inherit;
> font-variant : small-caps; }

The 'font-all' property already exists - it's the 'font' shorthand.

~TJ

Received on Wednesday, 1 October 2014 16:03:19 UTC