Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html

Issue 2839293002: Roll some polymer elements and remove stuff from chromium.patch (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
index 34e0758c9f7efcbdaff3f9efc320288cd1726dd7..e3f0c13c48fc6c2c5d53de4999c5d1a409223c5f 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
@@ -43,6 +43,7 @@ Custom property | Description | Default
`--paper-radio-button-label-spacing` | Spacing between the label and the button | `10px`
`--paper-radio-button-radio-container` | A mixin applied to the internal radio container | `{}`
`--paper-radio-button-label` | A mixin applied to the internal label | `{}`
+`--paper-radio-button-label-checked` | A mixin applied to the internal label when the radio button is checked | `{}`
This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`.
In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`.
@@ -146,6 +147,10 @@ In order to apply the `Roboto` font to this element, make sure you've imported `
@apply(--paper-radio-button-label);
}
+ :host([checked]) #radioLabel {
+ @apply(--paper-radio-button-label-checked);
+ }
+
:host-context([dir="rtl"]) #radioLabel {
margin-left: 0;
margin-right: var(--paper-radio-button-label-spacing, 10px);
@@ -182,4 +187,4 @@ In order to apply the `Roboto` font to this element, make sure you've imported `
</template>
</dom-module>
-<script src="paper-radio-button-extracted.js"></script></body></html>
+<script src="paper-radio-button-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698