Open Bug 1976082 Opened 3 months ago Updated 3 months ago

The strikethrough line in Bugzilla's links to closed bugs disappears when the site is zoomed in

Categories

(Core :: Graphics: Text, defect)

Firefox 140
All
Android
defect

Tracking

()

People

(Reporter: emanuellclaudiu, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0

Steps to reproduce:

A number that is a link has a line through it, as if it has been deleted, but when the site is zoomed in, that line no longer appears. Here on Bugzilla I noticed this. In Chrome I see that it appears fine and that line around the text and numbers does not disappear.

Flags: needinfo?(cpeterson)
Summary: A number that is a link has a line through it, as if it has been deleted, but when the site is zoomed in, that line no longer appears. → Is a link has a line through it, as if it has been deleted, but when the site is zoomed in, that line no longer appears.
Component: Browser Engine → Graphics: Text
Flags: needinfo?(cpeterson)
Product: Firefox for Android → Core
Summary: Is a link has a line through it, as if it has been deleted, but when the site is zoomed in, that line no longer appears. → The strikethrough line in Bugzilla's links to closed bugs disappears when the site is zoomed in

We should be snapping the text-decoration line to device pixels to ensure that it remains visible, but I suspect this isn't interacting well with pinch-zoom scaling.

I assume the same problem affects other decorations (underline and overline) as well. Does it also affect borders? (Probably.)

Screen recording (from Nightly on macOS) showing how text-decoration lines and box borders don't interact well with pinch-zoom. The lines here are nominally 0.1px, so should "snap" to 1 device pixel hairlines, but during pinch-zoom they flicker erratically as the separate edges of the rects jump between pixels.

The "disappearing" line in the original report is presumably a case where the top and bottom edges ended up jumping to the same pixel boundary at a particular zoom level.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: