Closed Bug 1403333 Opened 7 years ago Closed 7 years ago

wr-text: Long tab titles don't fade out when text layers are enabled

Categories

(Core :: Graphics: WebRender, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla58
Tracking Status
firefox57 --- unaffected
firefox58 --- fixed

People

(Reporter: mstange, Assigned: gw)

References

Details

(Whiteboard: [wr-mvp] [gfx-noted])

The fade-out effect on long tab titles is not being applied. It should happen for this very page, for example.
webrendest only controls two sets of advanced layers now: background-images and text layers. By setting webrendest off and turning on the two advanced layers prefs manually, it's clear that this is caused by text layers specifically. (i.e. this happens with webrendest off and layers.advanced.text-layers=1)
Blocks: 1392723
Whiteboard: [gfx-noted][wr-mvp][triage]
OS: Mac OS X → All
Making title more precise. And dropping layers-free since that's the default now (patches are on autoland) and we don't care about layers-full.
Summary: Long tab titles don't fade out when using layersfree+webrendest → Long tab titles don't fade out when text layers are enabled
I expect this is a similar situation to the nsDisplayTextOverflow situation, where the construction of the nsDisplayMask is supposed to modify/augment the nsDisplayText display item in some way, and we're not picking it up? I don't see anything obvious from a quick search though.
It might also be a bug in the nsDisplayMask handling that only manifests when text layers are turned on. Ethan has some fixes that also affect mask code over in bug 1395501 that might help, not sure.
Priority: -- → P2
Whiteboard: [gfx-noted][wr-mvp][triage] → [wr-mvp] [gfx-noted]
Testcase: data:text/html,<div style="mask:linear-gradient(black, transparent)">Text The YAML for that testcase looks reasonable, so this might be a webrender bug. I'll test with Ethan's patches anyway.
(In reply to Markus Stange [:mstange] from comment #5) > I'll test with Ethan's patches anyway. Or maybe not. Bug 1400034 has seriously bitrotted them.
Blocks: 1407627
Summary: Long tab titles don't fade out when text layers are enabled → wr-text: Long tab titles don't fade out when text layers are enabled
The webrender upgrade in bug 1403333 fixes this for the active tab, but not for background tabs, it seems. At least on Mac.
This seems to depend on the color of the text. Black text works but anything brighter looks wrong. I've commented on https://github.com/servo/webrender/issues/1765 .
This has been fixed in the webrender repo. The next webrender update will fix it.
Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Depends on: 1408461
Priority: P2 → P1
Fixed by bug 1408461.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
;_; it's actually finally fixed...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.