mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Update UA stylesheet for popover
Differential Revision: https://phabricator.services.mozilla.com/D172700
This commit is contained in:
parent
4d62fec376
commit
6db3b1158c
2 changed files with 8 additions and 3 deletions
|
@ -643,7 +643,7 @@ macro_rules! bool_pref_feature {
|
|||
/// to support new types in these entries and (2) ensuring that either
|
||||
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
||||
/// would be returned by the evaluator function could change.
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 64] = [
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 65] = [
|
||||
feature!(
|
||||
atom!("width"),
|
||||
AllowsRanges::Yes,
|
||||
|
@ -957,4 +957,9 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 64] = [
|
|||
atom!("-moz-mathml-core-ms"),
|
||||
"mathml.ms_lquote_rquote_attributes.disabled"
|
||||
),
|
||||
// media query for popover attribute
|
||||
bool_pref_feature!(
|
||||
atom!("-moz-popover-enabled"),
|
||||
"dom.element.popover.enabled"
|
||||
),
|
||||
];
|
||||
|
|
|
@ -39,7 +39,7 @@ macro_rules! apply_non_ts_list {
|
|||
("active", Active, ACTIVE, _),
|
||||
("autofill", Autofill, AUTOFILL, _),
|
||||
("checked", Checked, CHECKED, _),
|
||||
("closed", Closed, CLOSED, _),
|
||||
("closed", Closed, CLOSED, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
||||
("defined", Defined, DEFINED, _),
|
||||
("disabled", Disabled, DISABLED, _),
|
||||
("enabled", Enabled, ENABLED, _),
|
||||
|
@ -70,7 +70,7 @@ macro_rules! apply_non_ts_list {
|
|||
("-moz-math-increment-script-level", MozMathIncrementScriptLevel, INCREMENT_SCRIPT_LEVEL, _),
|
||||
|
||||
("required", Required, REQUIRED, _),
|
||||
("open", Open, OPEN, _),
|
||||
("open", Open, OPEN, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
||||
("optional", Optional, OPTIONAL_, _),
|
||||
("valid", Valid, VALID, _),
|
||||
("invalid", Invalid, INVALID, _),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue