Closed Bug 1503463 Opened 6 years ago Closed 6 years ago

Font rendering glitch while transition of <input type="date">

Categories

(Core :: Web Painting, defect, P1)

63 Branch
x86_64
Windows 10
defect

Tracking

()

VERIFIED FIXED
mozilla65
Tracking Status
firefox-esr60 --- unaffected
firefox63 --- wontfix
firefox64 --- wontfix
firefox65 --- verified

People

(Reporter: alice0775, Assigned: mikokm)

References

Details

(Keywords: regression)

Attachments

(5 files)

Attached image screenshot
Reproducible :always

Steps To Reproduce:
1. Open data:text/html,<input type="date">
2. Click inside of input filed
3. Click doropdown marker to select month/year

Actual Results:
Rendering glitch appears. Font looks like bold, See attached screenshot

Expected Results:
No glitch, font is normal.


Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=85f1c6e5ddac7792b327c05996f8bf27ed728d72&tochange=92bd3b2178623a036ea91990aa5570e039890ff4

Regressed by: Bug 1462672
Attached file about:support
Thank you for the report. I'm already looking at a very similar bug 1502870, but this test case is way simpler, and I will fix this first.
Assignee: nobody → mikokm
Status: NEW → ASSIGNED
Priority: -- → P1
See Also: → 1502870
This seems like a problem with transforms flattening and scaling. Surprisingly I can only reproduce this on Windows machine with 4K monitor, when I *disable* scaling.
FWIW, on Windows10, 
*Setting of HWA enabled/disabled does not affect this problem.
*if forcibly scaling(layout.css.devPixelsPerPx >=1.17), the problem is gone.
*If forcibly WebRender enabled, the problem is gone.
This problem was caused by component alpha checks being skipped for items inside flattened inactive transforms.
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/61bf7dbab25e
Part 1: Make TransformClipNode::TransformRect() methods const r=mattwoodrow
https://hg.mozilla.org/integration/autoland/rev/de143a4bdcc0
Part 2: Remove obsolete layer flattening code r=mattwoodrow
https://hg.mozilla.org/integration/autoland/rev/673121bbb18d
Part 3: Move component alpha handling to SetupComponentAlpha(), and make it work with items inside flattened transforms. r=mattwoodrow
Flags: qe-verify+
I could see this issue using the test case mentioned in description with Nightly 65.0a1 (2018-10-30) on Windows 10 x64. 

The issue is no longer reproducible with Beta 65.0b8 and Nightly 66.0a1 (2019-01-04) on Windows 10 x64, macOS 10.13 and Ubuntu 16.04 x64.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: