Closed Bug 1572589 Opened 3 years ago Closed 3 years ago

update skip-ink to scale down line padding with the thickness of the decoration line

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: cmarlow, Assigned: cmarlow)

Details

Attachments

(1 file)

text-decoration-skip-ink pads the line that is passed to Skia a little bit so that the underline never appears to touch the ink of the text. Currently this padding is .75, but this causes issues for very small decoration lines. By having this scale with the thickness of the decoration line, we can avoid unexpected behavior.

Keywords: checkin-needed

Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56140cb1ec04
update skip-ink line padding to scale with decoration line thickness r=jfkthame

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.