Support nested calc()
Reported by
l446240525@gmail.com,
Apr 2 2016
|
||||
Issue descriptionspec: https://drafts.csswg.org/css-values/#ref-for-funcdef-calc-22 8.1.5.1 test: http://img.alicdn.com/tfscom/TB1T0MkMXXXXXXDXFXXO04pFXXX.html Already supported in FF: https://bugzilla.mozilla.org/show_bug.cgi?id=968761
,
Apr 4 2016
I'll do this, it's a one line change :)
,
Apr 4 2016
,
Apr 5 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/08d6e889c5efdf7d93e0badcd1cd5dcb8e79574c commit 08d6e889c5efdf7d93e0badcd1cd5dcb8e79574c Author: timloh <timloh@chromium.org> Date: Tue Apr 05 01:34:55 2016 Support nested calc() This patch adds support for nested calc(). This just means that where we allow a left parenthesis we also allow using calc(. Nested calc() can be useful when using variables as it allows variables to be used inside calc() expressions more freely. FF added support for nested calc() a couple of weeks ago. While we support -webkit-calc(), we don't add nesting support for it. BUG= 600113 https://drafts.csswg.org/css-values/#calc-syntax https://bugzilla.mozilla.org/show_bug.cgi?id=968761 Review URL: https://codereview.chromium.org/1856633002 Cr-Commit-Position: refs/heads/master@{#385076} [add] https://crrev.com/08d6e889c5efdf7d93e0badcd1cd5dcb8e79574c/third_party/WebKit/LayoutTests/css3/calc/calc-nesting.html [modify] https://crrev.com/08d6e889c5efdf7d93e0badcd1cd5dcb8e79574c/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
,
Apr 5 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by dtapu...@chromium.org
, Apr 3 2016Labels: -Type-Bug Type-Feature