diff --git a/packages/mdc-list/_mixins.scss b/packages/mdc-list/_mixins.scss index 5eb6174bcf2..4e09d799d3c 100644 --- a/packages/mdc-list/_mixins.scss +++ b/packages/mdc-list/_mixins.scss @@ -112,6 +112,12 @@ // stylelint-enable plugin/selector-bem-pattern .mdc-list-item__meta { + // stylelint-disable selector-class-pattern + &:not(.material-icons) { + @include mdc-typography(caption, $query); + } + // stylelint-enable selector-class-pattern + @include mdc-feature-targets($feat-structure) { @include mdc-rtl-reflexive-property(margin, auto, 0, ".mdc-list-item"); } diff --git a/test/screenshot/golden.json b/test/screenshot/golden.json index f188cb722d2..0a6944760ea 100644 --- a/test/screenshot/golden.json +++ b/test/screenshot/golden.json @@ -751,6 +751,14 @@ "desktop_windows_ie@11": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2019/04/08/21_52_36_805/spec/mdc-list/classes/disabled-items.html.windows_ie_11.png" } }, + "spec/mdc-list/classes/meta-text.html": { + "public_url": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2019/04/19/00_02_21_596/spec/mdc-list/classes/meta-text.html?utm_source=golden_json", + "screenshots": { + "desktop_windows_chrome@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2019/04/19/00_02_21_596/spec/mdc-list/classes/meta-text.html.windows_chrome_73.png", + "desktop_windows_firefox@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2019/04/19/00_02_21_596/spec/mdc-list/classes/meta-text.html.windows_firefox_65.png", + "desktop_windows_ie@11": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2019/04/19/00_02_21_596/spec/mdc-list/classes/meta-text.html.windows_ie_11.png" + } + }, "spec/mdc-list/classes/radio.html": { "public_url": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/11/28/20_57_26_802/spec/mdc-list/classes/radio.html?utm_source=golden_json", "screenshots": { diff --git a/test/screenshot/spec/mdc-list/classes/meta-text.html b/test/screenshot/spec/mdc-list/classes/meta-text.html new file mode 100644 index 00000000000..2d42885ad4d --- /dev/null +++ b/test/screenshot/spec/mdc-list/classes/meta-text.html @@ -0,0 +1,72 @@ + + + + + + List - Meta Test - MDC Web Screenshot Test + + + + + + + + + + + +
+
+
+
    +
  • + Single-line item + Meta +
  • +
  • + Single-line item + Meta +
  • +
  • + Single-line item + Meta +
  • +
+
+
+
+ + + + + + + + + +