Closed Bug 1573242 Opened 5 years ago Closed 5 years ago

fixing scaling for line thickness padding in text-decoration-skip-ink

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: cmarlow, Assigned: cmarlow)

Details

Attachments

(1 file)

We pad the thickness of the line that is passed into Skia so that the underline isn't touching text that is ~1px or less above/below it. Right now it scales with thickness, but this means that an incorrect line is passed into Skia whenever the thickness is very large. To fix this, there should be a clamp so that the lineThicknessPadding is never greater than 1 pixel.

Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/828e2e9b86e8
fixed scaling issue for line thickness padding r=jfkthame
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: