-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parses and retrieves a namespaced value, like .block() { text: white; } .element { @p: .block(); h1 { color: @p[text] } } This patch ports less/less.js@6237e13b Thanks to improved variable handling, the lessjs-3.13.1 compression fixture override could be removed. Lessjs-2.5.3 compression fixture has to remain due to unit handling. But it's one step closer to upstream handling as now the leading zeros in float numbers get removed. This patch has to introduce a new override for lessjs 2.5.3 calc fixture. Previous less code from css.less, line 80: `width: .1em` was returned as is. With this change `.1em` is evaluated into Less_Tree_Dimension which on `getCss()` returns float numbers with leading zeros unless the compress flag is set. Bug: T368409 Change-Id: I264c6618e4a4434cd6c6458a3714320119382a48
- Loading branch information
1 parent
d58c345
commit f912315
Showing
17 changed files
with
345 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.