diff --git a/packages/mdc-floating-label/mdc-floating-label.scss b/packages/mdc-floating-label/mdc-floating-label.scss index 4bfd5b91f60..7dfd57ba4bb 100644 --- a/packages/mdc-floating-label/mdc-floating-label.scss +++ b/packages/mdc-floating-label/mdc-floating-label.scss @@ -43,6 +43,7 @@ transform $mdc-floating-label-transition-duration $mdc-animation-standard-curve-timing-function, color $mdc-floating-label-transition-duration $mdc-animation-standard-curve-timing-function; line-height: 1.15rem; + text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: text; @@ -60,6 +61,9 @@ /* @noflip */ transform-origin: right top; + + /* @noflip */ + text-align: right; } } diff --git a/test/screenshot/golden.json b/test/screenshot/golden.json index 541d7031f9c..c57cb9b8f89 100644 --- a/test/screenshot/golden.json +++ b/test/screenshot/golden.json @@ -1283,12 +1283,12 @@ } }, "spec/mdc-textfield/issues/3332.html": { - "public_url": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/08/23/20_10_17_804/spec/mdc-textfield/issues/3332.html", + "public_url": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/10/01/23_31_41_483/spec/mdc-textfield/issues/3332.html?utm_source=golden_json", "screenshots": { - "desktop_windows_chrome@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/08/23/20_10_17_804/spec/mdc-textfield/issues/3332.html.windows_chrome_68.png", - "desktop_windows_edge@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/08/23/20_10_17_804/spec/mdc-textfield/issues/3332.html.windows_edge_17.png", - "desktop_windows_firefox@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/08/23/20_10_17_804/spec/mdc-textfield/issues/3332.html.windows_firefox_61.png", - "desktop_windows_ie@11": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/08/23/20_10_17_804/spec/mdc-textfield/issues/3332.html.windows_ie_11.png" + "desktop_windows_chrome@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/10/01/23_31_41_483/spec/mdc-textfield/issues/3332.html.windows_chrome_69.png", + "desktop_windows_edge@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/10/01/23_31_41_483/spec/mdc-textfield/issues/3332.html.windows_edge_17.png", + "desktop_windows_firefox@latest": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/10/01/23_31_41_483/spec/mdc-textfield/issues/3332.html.windows_firefox_62.png", + "desktop_windows_ie@11": "https://storage.googleapis.com/mdc-web-screenshot-tests/travis/2018/10/01/23_31_41_483/spec/mdc-textfield/issues/3332.html.windows_ie_11.png" } }, "spec/mdc-typography/classes/baseline-large.html": { diff --git a/test/screenshot/spec/mdc-textfield/issues/3332.html b/test/screenshot/spec/mdc-textfield/issues/3332.html index 97a90d38488..9bc5aa6e49e 100644 --- a/test/screenshot/spec/mdc-textfield/issues/3332.html +++ b/test/screenshot/spec/mdc-textfield/issues/3332.html @@ -51,6 +51,12 @@ +