Closed Bug 1617515 Opened 6 years ago Closed 6 years ago

Gaps in the underline don't align right when an emoji is placed in the text

Categories

(Core :: Layout: Text and Fonts, defect, P2)

73 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla75
Webcompat Priority ?
Tracking Status
firefox73 --- wontfix
firefox74 --- fixed
firefox75 --- fixed

People

(Reporter: karlcow, Assigned: jfkthame)

References

()

Details

Attachments

(3 files)

As said in https://codepen.io/remco_dekker/pen/abOZyQK

Gaps in the underline don't align right when an emoji is placed in the text.
This seems to only be a problem in Firefox on macOS.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED

This is a sufficiently bad visual glitch that I think we may want to consider uplifting it to 74.

Priority: -- → P2
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43da03986d1d Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert

Comment on attachment 9128453 [details]
Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert

Beta/Release Uplift Approval Request

  • User impact if declined: Potential for bad underline rendering when emoji present
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce: See codepen in comment 0.
    (Reftest is included with patch, just pushed to autoland.)
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial patch, just updates position when we step past a glyph run
  • String changes made/needed:
Attachment #9128453 - Flags: approval-mozilla-beta?

Comment on attachment 9128453 [details]
Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert

Low risk patch, covered by tests, uplift approved for 74.0b8, thanks.

Attachment #9128453 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75

Unable to uplift - conflicts while merging layout/painting/nsCSSRendering.cpp.

Flags: needinfo?(jfkthame)
Attachment #9129085 - Attachment description: Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert a=pascalc → Bug 1617515 - [mozilla-beta patch] - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert a=pascalc

I posted a rebased patch (https://phabricator.services.mozilla.com/D64326) for mozilla-beta, but don't know how to make phabricator land it there. (Shouldn't need re-review or anything; the only merge conflict was in comments around one of the changes, not affecting the actual code change.)

Flags: needinfo?(jfkthame)

Thanks. Phabricator doesn't handle uplifts yet.

Attachment #9129085 - Attachment description: Bug 1617515 - [mozilla-beta patch] - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert a=pascalc → Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert a=pascalc
Attachment #9129085 - Attachment description: Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert a=pascalc → Bug 1617515 - [mozilla-beta] Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert a=pascalc

(In reply to Oana Pop-Rus from comment #12)

Backed out changeset ff7d83d22698 (bug 1617515) for multiple reftest failures on layout/reftests/bugs/1617515-1.html

Argh - sorry, my bad - the beta patch didn't actually include the reftest files. Mercurial user error!

I've updated the revision on phabricator, should be OK now. At least, it shows the added files when I view it in phab.

Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: