From b20151b324f8efbf6993c4bbd9742c1c5f3cee0f Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Fri, 13 Feb 2015 15:39:06 -0800 Subject: [PATCH] Integrate x-styilng system with shadow feature + some factoring. --- src/expr/polymer-shadow.html | 4 +- src/expr/polymer-style.html | 2 +- src/expr/shadow-settings.html | 29 +++++++ src/expr/shadow-styler.html | 124 ------------------------------ src/expr/shadow.html | 18 +++-- src/expr/style-transformer.html | 72 +++-------------- src/expr/stylizer.html | 36 ++++----- src/expr/x-stylizer-defaults.html | 40 ++++++++++ src/expr/x-stylizer.html | 45 ++++++----- src/lib/css-parse.html | 2 +- src/lib/style-util.html | 70 +++++++++++++++++ test/unit/projection-shadow.html | 1 + 12 files changed, 207 insertions(+), 236 deletions(-) create mode 100644 src/expr/shadow-settings.html delete mode 100644 src/expr/shadow-styler.html create mode 100644 src/expr/x-stylizer-defaults.html create mode 100644 src/lib/style-util.html diff --git a/src/expr/polymer-shadow.html b/src/expr/polymer-shadow.html index 9372f5d70f..0b436ebf58 100644 --- a/src/expr/polymer-shadow.html +++ b/src/expr/polymer-shadow.html @@ -10,5 +10,7 @@ - + + + diff --git a/src/expr/polymer-style.html b/src/expr/polymer-style.html index 0db4234dc9..c6e4aa5ea9 100644 --- a/src/expr/polymer-style.html +++ b/src/expr/polymer-style.html @@ -8,6 +8,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> - + diff --git a/src/expr/shadow-settings.html b/src/expr/shadow-settings.html new file mode 100644 index 0000000000..6aa4eb67cf --- /dev/null +++ b/src/expr/shadow-settings.html @@ -0,0 +1,29 @@ + + \ No newline at end of file diff --git a/src/expr/shadow-styler.html b/src/expr/shadow-styler.html deleted file mode 100644 index d5aebd6aaa..0000000000 --- a/src/expr/shadow-styler.html +++ /dev/null @@ -1,124 +0,0 @@ - - diff --git a/src/expr/shadow.html b/src/expr/shadow.html index 2796983fdd..586bff164f 100644 --- a/src/expr/shadow.html +++ b/src/expr/shadow.html @@ -7,13 +7,19 @@ Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> + diff --git a/src/expr/style-transformer.html b/src/expr/style-transformer.html index 80cf861edd..427ffbd1dc 100644 --- a/src/expr/style-transformer.html +++ b/src/expr/style-transformer.html @@ -7,10 +7,10 @@ Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> - + diff --git a/src/expr/x-stylizer.html b/src/expr/x-stylizer.html index 36035039ee..13d94daa33 100644 --- a/src/expr/x-stylizer.html +++ b/src/expr/x-stylizer.html @@ -7,10 +7,14 @@ Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> + + + diff --git a/test/unit/projection-shadow.html b/test/unit/projection-shadow.html index d0e2905919..ec77a3b903 100644 --- a/test/unit/projection-shadow.html +++ b/test/unit/projection-shadow.html @@ -13,6 +13,7 @@ +