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

Side by Side Diff: third_party/polymer/v1_0/chromium.patch

Issue 2119733002: Revert "MD Settings: Improve rendering performance of fonts page." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 diff --git a/components-chromium/font-roboto/roboto.html b/components-chromium/f ont-roboto/roboto.html 1 diff --git a/components-chromium/font-roboto/roboto.html b/components-chromium/f ont-roboto/roboto.html
2 index 7a24999..4eefcba 100644 2 index 7a24999..4eefcba 100644
3 --- a/components-chromium/font-roboto/roboto.html 3 --- a/components-chromium/font-roboto/roboto.html
4 +++ b/components-chromium/font-roboto/roboto.html 4 +++ b/components-chromium/font-roboto/roboto.html
5 @@ -7,5 +7,4 @@ The complete set of contributors may be found at http://polymer. github.io/CONTRI 5 @@ -7,5 +7,4 @@ The complete set of contributors may be found at http://polymer. github.io/CONTRI
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATE NTS.txt 7 subject to an additional IP rights grant found at http://polymer.github.io/PATE NTS.txt
8 --> 8 -->
9 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400 ,300,300italic,400italic,500,500italic,700,700italic"> 9 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400 ,300,300italic,400italic,500,500italic,700,700italic">
10 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mon o:400,700"> 10 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mon o:400,700">
(...skipping 29 matching lines...) Expand all
40 +++ b/components-chromium/iron-collapse/iron-collapse-extracted.js 40 +++ b/components-chromium/iron-collapse/iron-collapse-extracted.js
41 @@ -96,7 +96,7 @@ Polymer({ 41 @@ -96,7 +96,7 @@ Polymer({
42 42
43 /** 43 /**
44 * Updates the size of the element. 44 * Updates the size of the element.
45 - * @param {!String} size The new value for `maxWidth`/`maxHeight` as css pr operty value, usually `auto` or `0px`. 45 - * @param {!String} size The new value for `maxWidth`/`maxHeight` as css pr operty value, usually `auto` or `0px`.
46 + * @param {string} size The new value for `maxWidth`/`maxHeight` as css pro perty value, usually `auto` or `0px`. 46 + * @param {string} size The new value for `maxWidth`/`maxHeight` as css pro perty value, usually `auto` or `0px`.
47 * @param {boolean=} animated if `true` updates the size with an animation, otherwise without. 47 * @param {boolean=} animated if `true` updates the size with an animation, otherwise without.
48 */ 48 */
49 updateSize: function(size, animated) { 49 updateSize: function(size, animated) {
50 diff --git a/components-chromium/paper-item/paper-item-shared-styles.html b/comp onents-chromium/paper-item/paper-item-shared-styles.html
51 index 868d415..9df8eda 100644
52 --- a/components-chromium/paper-item/paper-item-shared-styles.html
53 +++ b/components-chromium/paper-item/paper-item-shared-styles.html
54 @@ -16,7 +16,7 @@ subject to an additional IP rights grant found at http://polym er.github.io/PATEN
55 <dom-module id="paper-item-shared-styles">
56 <template>
57 <style>
58 - :host, .paper-item {
59 + :host(paper-item), :host(paper-icon-item), .paper-item {
60 display: block;
61 position: relative;
62 min-height: var(--paper-item-min-height, 48px);
63 @@ -32,30 +32,30 @@ subject to an additional IP rights grant found at http://pol ymer.github.io/PATEN
64 text-align: left;
65 }
66
67 - :host([hidden]), .paper-item[hidden] {
68 + :host(paper-item[hidden]), :host(paper-icon-item[hidden]), .paper-item[hi dden] {
69 display: none !important;
70 }
71
72 - :host(.iron-selected), .paper-item.iron-selected {
73 + :host(paper-item.iron-selected), :host(paper-icon-item.iron-selected), .p aper-item.iron-selected {
74 font-weight: var(--paper-item-selected-weight, bold);
75
76 @apply(--paper-item-selected);
77 }
78
79 - :host([disabled]), .paper-item[disabled] {
80 + :host(paper-item[disabled]), :host(paper-icon-item[disabled]), .paper-ite m[disabled] {
81 color: var(--paper-item-disabled-color, --disabled-text-color);
82
83 @apply(--paper-item-disabled);
84 }
85
86 - :host(:focus), .paper-item:focus {
87 + :host(paper-item:focus), :host(paper-icon-item:focus), .paper-item:focus {
88 position: relative;
89 outline: 0;
90
91 @apply(--paper-item-focused);
92 }
93
94 - :host(:focus):before, .paper-item:focus:before {
95 + :host(paper-item:focus):before, :host(paper-icon-item:focus):before, .pap er-item:focus:before {
96 @apply(--layout-fit);
97
98 background: currentColor;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698