1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
diff --git a/components-chromium/font-roboto/roboto.html b/components-chromium/font-roboto/roboto.html
index 7a24999..4eefcba 100644
--- a/components-chromium/font-roboto/roboto.html
+++ b/components-chromium/font-roboto/roboto.html
@@ -7,5 +7,4 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
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
-->
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic">
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700">
+<link rel="stylesheet" href="chrome://resources/css/roboto.css">
diff --git a/components-chromium/polymer/polymer-extracted.js b/components-chromium/polymer/polymer-extracted.js
index baf9ab3..985fe6c 100644
--- a/components-chromium/polymer/polymer-extracted.js
+++ b/components-chromium/polymer/polymer-extracted.js
@@ -2157,8 +2157,7 @@ _hasMixinRules: function (rules) {
return rules[0].selector.indexOf(this.VAR_START) >= 0;
},
removeCustomProps: function (cssText) {
-cssText = this.removeCustomPropAssignment(cssText);
-return this.removeCustomPropApply(cssText);
+return cssText;
},
removeCustomPropAssignment: function (cssText) {
return cssText.replace(this._rx.customProp, '').replace(this._rx.mixinProp, '');
diff --git a/components-chromium/paper-input/paper-input-addon-behavior-extracted.js b/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
index d3e469c2..94313dd 100644
--- a/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
+++ b/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
@@ -17,10 +17,10 @@
/**
* The function called by `<paper-input-container>` when the input value or validity changes.
* @param {{
- * inputElement: (Node|undefined),
+ * inputElement: (Element|undefined),
* value: (string|undefined),
- * invalid: (boolean|undefined)
- * }} state All properties are optional -
+ * invalid: boolean
+ * }} state -
* inputElement: The input element.
* value: The input value.
* invalid: True if the input value is invalid.
@@ -28,4 +28,4 @@
update: function(state) {
}
- };
\ No newline at end of file
+ };
diff --git a/components-chromium/paper-input/paper-input-char-counter-extracted.js b/comp
onents-chromium/paper-input/paper-input-char-counter-extracted.js
index 6577627..e5bb409 100644
--- a/components-chromium/paper-input/paper-input-char-counter-extracted.js
+++ b/components-chromium/paper-input/paper-input-char-counter-extracted.js
@@ -12,6 +12,17 @@ Polymer({
}
},
+ /**
+ * This overrides the update function in PaperInputAddonBehavior.
+ * @param {{
+ * inputElement: (Element|undefined),
+ * value: (string|undefined),
+ * invalid: boolean
+ * }} state -
+ * inputElement: The input element.
+ * value: The input value.
+ * invalid: True if the input value is invalid.
+ */
update: function(state) {
if (!state.inputElement) {
return;
@@ -20,11 +31,11 @@ Polymer({
state.value = state.value || '';
- var counter = state.value.length;
+ var counter = state.value.length.toString();
if (state.inputElement.hasAttribute('maxlength')) {
counter += '/' + state.inputElement.getAttribute('maxlength');
}
this._charCounterStr = counter;
}
- });
\ No newline at end of file
+ });
diff --git a/components-chromium/paper-input/paper-input-error-extracted.js b/components-chromium/paper-input/paper-input-error-extracted.js
index ac6fe00..fb45601 100644
--- a/components-chromium/paper-input/paper-input-error-extracted.js
+++ b/components-chromium/paper-input/paper-input-error-extracted.js
@@ -16,7 +16,18 @@ Polymer({
}
},
+ /**
+ * This overrides the update function in PaperInputAddonBehavior.
+ * @param {{
+ * inputElement: (Element|undefined),
+ * value: (string|undefined),
+ * invalid: boolean
+ * }} state -
+ * inputElement: The input element.
+ * value: The input value.
+ * invalid: True if the input value is invalid.
+ */
update: function(state) {
this._setInvalid(state.invalid);
}
- });
\ No newline at end of file
+ });
|