mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Fix two minor issues with scrollbar style caching.
Add -moz-inert and -moz-script-level to the set of internal properties that aren't included in "all". -moz-inert may need to be uncacheable in the future if we make it not change the pointer-events computed value. Left a comment to that effect. Differential Revision: https://phabricator.services.mozilla.com/D87115
This commit is contained in:
parent
73a9c57c3b
commit
9d55296893
1 changed files with 3 additions and 0 deletions
|
@ -162,6 +162,9 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
/// user-select: none;
|
||||
/// pointer-events: none;
|
||||
/// cursor: default;
|
||||
///
|
||||
/// NOTE: If this or the pointer-events tweak is removed, then
|
||||
/// minimal-xul.css and the scrollbar style caching need to be tweaked.
|
||||
fn adjust_for_inert(&mut self) {
|
||||
use properties::longhands::_moz_inert::computed_value::T as Inert;
|
||||
use properties::longhands::_moz_user_focus::computed_value::T as UserFocus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue