Page MenuHomePhabricator

Bug 1571285 - Correctly style dark scrollbars in tree components.
ClosedPublic

Authored by heycam on Dec 6 2019, 6:00 AM.

Details

Summary

We need to ensure the rules that override all properties for scrollbar
part elements only apply to those that are NAC (and so will be eligible
for NAC style sharing). We have some uses of non-NAC <scrollbar>
elements that should continue to inherit properties from their parents.

To avoid any changes in rule matching order that come with changing specificity,
we add a new :-moz-native-anonymous-no-specificity pseudo-class.

While we're here, we note :-moz-native-anonymous-no-specificity (and the
regular :-moz-native-anonymous pseudo-class) as not needing style
sharing cache revalidation, as we never share NAC styles.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

heycam created this revision.Dec 6 2019, 6:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2019, 6:00 AM
phab-bot requested review of this revision.Dec 6 2019, 6:00 AM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
emilio accepted this revision.Dec 6 2019, 6:16 AM

wfm

This revision is now accepted and ready to land.Dec 6 2019, 6:16 AM
dvarga reopened this revision.Dec 7 2019, 1:23 AM
This revision is now accepted and ready to land.Dec 7 2019, 1:23 AM
heycam updated this revision to Diff 204590.Dec 9 2019, 3:15 AM
heycam edited the summary of this revision. (Show Details)