mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Backed out changeset 18595f6364ea (bug 1822521) for wpt failures on popover-focus-child-dialog.html. CLOSED TREE
This commit is contained in:
parent
4c9dbd8176
commit
f078cd0274
@ -886,34 +886,3 @@ ruby, rb, rt, rtc {
|
||||
slot {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
/* Popover UA style, https://html.spec.whatwg.org/#flow-content-3 */
|
||||
@media (-moz-popover-enabled) {
|
||||
[popover]:closed:not(dialog[open]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
dialog[popover]:not(:closed) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
[popover] {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
margin: auto;
|
||||
border: solid;
|
||||
padding: 0.25em;
|
||||
overflow: auto;
|
||||
color: CanvasText;
|
||||
background-color: Canvas;
|
||||
}
|
||||
|
||||
[popover]:open::backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none !important;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
@ -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; 65] = [
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 64] = [
|
||||
feature!(
|
||||
atom!("width"),
|
||||
AllowsRanges::Yes,
|
||||
@ -957,9 +957,4 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 65] = [
|
||||
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, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
||||
("closed", Closed, CLOSED, _),
|
||||
("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, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
||||
("open", Open, OPEN, _),
|
||||
("optional", Optional, OPTIONAL_, _),
|
||||
("valid", Valid, VALID, _),
|
||||
("invalid", Invalid, INVALID, _),
|
||||
|
@ -0,0 +1,2 @@
|
||||
[popover-hidden-display.html]
|
||||
expected: FAIL
|
@ -0,0 +1,2 @@
|
||||
[popover-stacking-context.html]
|
||||
expected: FAIL
|
@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8" />
|
||||
<title>Popover is only effective on HTMLElement, not on svg element</title>
|
||||
<style>
|
||||
svg {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color:green;
|
||||
}
|
||||
</style>
|
||||
<svg ></svg>
|
@ -1,18 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8" />
|
||||
<title>Popover is only effective on HTMLElement, not on svg element</title>
|
||||
<link rel="author" href="mailto:cathiechen@igalia.com">
|
||||
<link rel=help href="https://html.spec.whatwg.org/#the-popover-attribute">
|
||||
<link rel="match" href="popover-and-svg-ref.html">
|
||||
<style>
|
||||
svg {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color:green;
|
||||
}
|
||||
[popover] {
|
||||
top: 100px;
|
||||
bottom: auto;
|
||||
}
|
||||
</style>
|
||||
<svg popover></svg>
|
@ -532,7 +532,6 @@ static constexpr struct {
|
||||
{"browser.theme.content-theme"_ns},
|
||||
{"mathml.legacy_maction_and_semantics_implementations.disabled"_ns},
|
||||
{"mathml.ms_lquote_rquote_attributes.disabled"_ns},
|
||||
{"dom.element.popover.enabled"_ns},
|
||||
};
|
||||
|
||||
// Read values from the user's preferences.
|
||||
|
@ -2403,7 +2403,6 @@ STATIC_ATOMS = [
|
||||
Atom("_moz_mathml_core_maction_and_semantics", "-moz-mathml-core-maction-and-semantics"),
|
||||
# media query for MathML Core's implementation of ms
|
||||
Atom("_moz_mathml_core_ms", "-moz-mathml-core-ms"),
|
||||
Atom("_moz_popover_enabled", "-moz-popover-enabled"),
|
||||
# Contextual Identity / Containers
|
||||
Atom("usercontextid", "usercontextid"),
|
||||
Atom("geckoViewSessionContextId", "geckoViewSessionContextId"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user