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)
Core
Graphics: WebRender
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.
Comment 1•7 years ago
|
||
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]
Updated•7 years ago
|
OS: Mac OS X → All
Comment 2•7 years ago
|
||
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
Comment 3•7 years ago
|
||
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.
Comment 4•7 years ago
|
||
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.
Updated•7 years ago
|
Blocks: stage-wr-nightly
status-firefox57:
--- → unaffected
Updated•7 years ago
|
Priority: -- → P2
Whiteboard: [gfx-noted][wr-mvp][triage] → [wr-mvp] [gfx-noted]
Reporter | ||
Comment 5•7 years ago
|
||
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.
Reporter | ||
Comment 6•7 years ago
|
||
(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.
Reporter | ||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
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
Reporter | ||
Comment 8•7 years ago
|
||
The webrender upgrade in bug 1403333 fixes this for the active tab, but not for background tabs, it seems. At least on Mac.
Reporter | ||
Comment 9•7 years ago
|
||
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 .
Reporter | ||
Comment 10•7 years ago
|
||
This has been fixed in the webrender repo. The next webrender update will fix it.
Updated•7 years ago
|
See Also: → https://github.com/servo/webrender/issues/1765
Updated•7 years ago
|
Priority: P2 → P1
Reporter | ||
Comment 11•7 years ago
|
||
Fixed by bug 1408461.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•