New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 799550 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

CSS: text-transform not factored into calculating link width inside :first-line

Reported by megan.zl...@viget.com, Jan 5 2018

Issue description

UserAgent: 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:
 
Screen Shot 2018-01-05 at 1.59.09 PM.png
82.2 KB View Download
Components: -Blink Blink>Layout

Comment 2 by e...@chromium.org, Jan 7 2018

Cc: kojii@chromium.org
Status: Available (was: Unconfirmed)

Comment 3 by kojii@chromium.org, Jan 8 2018

Cc: robho...@gmail.com

Comment 4 by kojii@chromium.org, Jan 8 2018

Labels: Needs-Bisect
Cc: -robho...@gmail.com vamshi.k...@techmahindra.com
Labels: -Type-Bug -Pri-2 -Needs-Bisect hasbisect-per-revision RegressedIn-62 Triaged-ET M-65 FoundIn-64 FoundIn-65 FoundIn-63 Needs-Triage-M63 OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Owner: robho...@gmail.com
Status: Assigned (was: Available)
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!

Comment 6 Deleted

Sign in to add a comment