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

Unified Diff: third_party/polymer/v1_0/chromium.patch

Issue 2106723003: MD Settings: Improve rendering performance of fonts page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 6 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/chromium.patch
diff --git a/third_party/polymer/v1_0/chromium.patch b/third_party/polymer/v1_0/chromium.patch
index abea3534fe32cb8ef469aeda22264184d2589a27..e44185b36f142891adc02ee9c1287848ee64b683 100644
--- a/third_party/polymer/v1_0/chromium.patch
+++ b/third_party/polymer/v1_0/chromium.patch
@@ -47,3 +47,52 @@ index 8446e8a..3f679f6 100644
* @param {boolean=} animated if `true` updates the size with an animation, otherwise without.
*/
updateSize: function(size, animated) {
+diff --git a/components-chromium/paper-item/paper-item-shared-styles.html b/components-chromium/paper-item/paper-item-shared-styles.html
+index 868d415..9df8eda 100644
+--- a/components-chromium/paper-item/paper-item-shared-styles.html
++++ b/components-chromium/paper-item/paper-item-shared-styles.html
+@@ -16,7 +16,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+ <dom-module id="paper-item-shared-styles">
+ <template>
+ <style>
+- :host, .paper-item {
++ :host(paper-item), :host(paper-icon-item), .paper-item {
+ display: block;
+ position: relative;
+ min-height: var(--paper-item-min-height, 48px);
+@@ -32,30 +32,30 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+ text-align: left;
+ }
+
+- :host([hidden]), .paper-item[hidden] {
++ :host(paper-item[hidden]), :host(paper-icon-item[hidden]), .paper-item[hidden] {
+ display: none !important;
+ }
+
+- :host(.iron-selected), .paper-item.iron-selected {
++ :host(paper-item.iron-selected), :host(paper-icon-item.iron-selected), .paper-item.iron-selected {
+ font-weight: var(--paper-item-selected-weight, bold);
+
+ @apply(--paper-item-selected);
+ }
+
+- :host([disabled]), .paper-item[disabled] {
++ :host(paper-item[disabled]), :host(paper-icon-item[disabled]), .paper-item[disabled] {
+ color: var(--paper-item-disabled-color, --disabled-text-color);
+
+ @apply(--paper-item-disabled);
+ }
+
+- :host(:focus), .paper-item:focus {
++ :host(paper-item:focus), :host(paper-icon-item:focus), .paper-item:focus {
+ position: relative;
+ outline: 0;
+
+ @apply(--paper-item-focused);
+ }
+
+- :host(:focus):before, .paper-item:focus:before {
++ :host(paper-item:focus):before, :host(paper-icon-item:focus):before, .paper-item:focus:before {
+ @apply(--layout-fit);
+
+ background: currentColor;

Powered by Google App Engine
This is Rietveld 408576698