CSS: text-transform not factored into calculating link width inside :first-line
Reported by
megan.zl...@viget.com,
Jan 5 2018
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 Example URL: http://whha.staging.vigetx.com/support/donate, https://codepen.io/mzlock/pen/QaOWze Steps to reproduce the problem: 1. Create a <a> inside a <p> 2. Apply p:first-line { text-transform: uppercase } 3. Link width will be incorrect and the link text will spill out and overlap other letters What is the expected behavior? The link will be the correct width for the text inside of it, with the text-transform. What went wrong? The text in the link overflows the <a> and overlaps other characters Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? Yes Unsure Does this work in other browsers? Yes Chrome version: 63.0.3239.84 Channel: n/a OS Version: OS X 10.12.6 Flash Version:
,
Jan 7 2018
,
Jan 8 2018
,
Jan 8 2018
,
Jan 9 2018
Able to reproduce this issue on reported chrome version 63.0.3239.84,on canary 65.0.3315.0 on windows 10, Ubuntu 14.04 and Mac 10.13.1. With the URL provided in comment#0. Good Build: 62.0.3201.0 Bad Build: 62.0.3202.0 You are probably looking for a change made after 499051 (known good), but no later than 499052 (first known bad). CHANGELOG URL: https://chromium.googlesource.com/chromium/src/+log/d930fca65ee48bee40fb6233f60c475d06f9ca11..6730d40caf6a1fc4bc6a6f05903730226dd0f54e Reviewed-on: https://chromium-review.googlesource.com/603855 Suspecting same from changelog. robhogan@: Please feel free to re-assign if it is not related to your change. Thanks! |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, Jan 5 2018