[csswg-drafts] [css-inner-navigation] Brackets, calc()

Array23 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inner-navigation] Brackets, calc() ==
First we need to have some blocks...
```
div {
?:(~selector)-abc;
 heigh: 420px;
 background: #232323;
 foreground: #ececec; }{
?:abc-fonts;
 font-size: 16px;
 }
div div.class {
height: calc( (\div-abc.height / 100 )*20) // even better would be calc(<20%||0.2> of \div-abc.height);
width: calc(2 of \abc-fonts); // is 200% of whatever abc-font-size ends up to be...
```

So we have here few things 
_**#1**_
Aliases, ... `?` property is alias of bracket, that can be used in calc.
_**#2**_
Brackets,... One selector can have multiple CSS rules... // ruins backwards compatibility, but with aliasing is awesome... Can come handy when you edit css by javascript, you must unserialize and reserialize whole box, ... This makes it chunked so less resources needed... Also I'm going to write something about this in EMCA... I have some improvement, in css handling by script... It just have some backwards compatibility issues, because there are arrays in place where object is needed, also object, where faster would be array... 
_**#3**_
calc can handle different css property as number... yes, it does stuff like 100% of body - 1.61* padding of something... Makes things easier when you want to gold cut everything...
_**#4**_
background and foreground, I have mentioned that elsewhere


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1877 using your GitHub account

Received on Sunday, 15 October 2017 22:19:59 UTC