Open Bug 1561075 Opened 5 years ago Updated 2 years ago

The ":hover" and repaint area is too tall for SVG text that extends above ascent

Categories

(Core :: SVG, defect, P3)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(2 files)

Attached file testcase 1

STR:

  1. Have the "Ahem" font installed, for optimal reproducibility. (This might happen with other fonts too, not sure).
  2. Enable paint flashing (e.g. toggle about:config pref nglayout.debug.paint_flashing to true)
  3. View attached testcase.
  4. Hover the leftmost box (which is using HTML text), and then try hovering the other boxes, and compare the repainted region.
  5. Hover above the leftmost box, and compare what happens if you hover above the other boxes.

EXPECTED RESULTS:
The repainted region and hover area should be approximately the size of the actual glyphs.

ACTUAL RESULTS:
For the SVG text (everything after the first box), the repainted and :hover-sensitive region is too large -- it juts upwards about by about twice as much as it needs to (far beyond the actual painted extents of the glyphs).

Summary: Hover and repaint area is too tall for SVG text that extends above ascent → The ":hover" and repaint area is too tall for SVG text that extends above ascent
Attached video screencast
See Also: → 1544432

The priority flag is not set for this bug.
:jwatt, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jwatt)
Flags: needinfo?(jwatt)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: