- From: Josef Schmid <e9427749@student.tuwien.ac.at>
- Date: Fri, 09 Jan 2009 18:36:31 +0100
- To: www-style@w3.org
Hi, all! Next try, with some inserts. -------- Original-Nachricht -------- Betreff: Re: stability of root em unit spec Datum: Wed, 07 Jan 2009 19:32:44 +0100 An: www-style@w3.org Keith Rarick schrieb: > I'm interested in implementing the CSS3 root em unit in Mozilla (in > https://bugzilla.mozilla.org/show_bug.cgi?id=472195), but David Baron > has suggested that it might not be ready to implement, given that it > was recently renamed from "rem" to "re" in the current editor's draft. > > Is this spec expected to change again, or can it be considered stable? I would prefer 'em from :root'. em from body, em from #main, em from .refclass, etc were nice also. And of course 'ex from ...'. <insert> Because in CSS space separated, multiple values are existing. 'from' needs to be a reserved keyword too prevent parsing complexity. An for complex selector support, if desirable, braces are needed. </insert> So i am strictly against 're' (rem or rex?)! And btw. '% from ...', e.g. '% from :viewport' instead of vh,vw (by context). More stuff '%-height', '%-height from ...', '%-width', '%-width from ...'. In this case '%-' before a unit is only a fixed divisor of value 100. With is easy to remember, and can also be orthogonalized (%-turn, %-em, but the better mnemonicability is more important). <insert> Maybe %-fr, with the special meaning of % of the rest (all %-fr). </insert> And instead of 'ch', 'width of "0"'. (So as special case, you can write 'width of "m" from :root' ;-) Sorry for my bad English. jm2c, Josef
Received on Friday, 9 January 2009 17:38:27 UTC