зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1845641 - Remove runtime preference for lquote/rquote. r=emilio CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D184661
This commit is contained in:
Родитель
6e554b6268
Коммит
75a319e2e4
|
@ -45,25 +45,6 @@ math[display="inline" i] {
|
|||
math-style: compact;
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
/* Token elements */
|
||||
/**************************************************************************/
|
||||
|
||||
@media not (-moz-mathml-core-ms) {
|
||||
ms {
|
||||
display: inline;
|
||||
}
|
||||
ms:before, ms:after {
|
||||
content: "\0022"
|
||||
}
|
||||
ms[lquote]:before {
|
||||
content: attr(lquote)
|
||||
}
|
||||
ms[rquote]:after {
|
||||
content: attr(rquote)
|
||||
}
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
/* Links */
|
||||
/**************************************************************************/
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body { font-family:sans-serif; }
|
||||
p { height:2em; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>:L_R</p>
|
||||
<p>:L_"</p>
|
||||
<p>:"_R</p>
|
||||
<p>:L_"</p>
|
||||
<p>:"_R</p>
|
||||
<p>:"_"</p>
|
||||
<p>:"_"</p>
|
||||
<p>:"_"</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body { font-family:sans-serif; }
|
||||
p { height:2em; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>:<ms xmlns="http://www.w3.org/1998/Math/MathML" lquote="L" rquote="R">_</ms></p>
|
||||
<p>:<ms id="m1" xmlns="http://www.w3.org/1998/Math/MathML">_</ms></p>
|
||||
<p>:<ms id="m2" xmlns="http://www.w3.org/1998/Math/MathML">_</ms></p>
|
||||
<p>:<ms id="m3" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_">_</ms></p>
|
||||
<p>:<ms id="m4" xmlns="http://www.w3.org/1998/Math/MathML" rquote="_">_</ms></p>
|
||||
<p>:<ms id="m5" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_" rquote="_">_</ms></p>
|
||||
<p>:<ms id="m6" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_">_</ms></p>
|
||||
<p>:<ms id="m7" xmlns="http://www.w3.org/1998/Math/MathML" rquote="_">_</ms></p>
|
||||
<script>
|
||||
function doTest() {
|
||||
var m1 = document.getElementById("m1");
|
||||
m1.setAttribute("lquote", "L");
|
||||
var m2 = document.getElementById("m2");
|
||||
m2.setAttribute("rquote", "R");
|
||||
var m3 = document.getElementById("m3");
|
||||
m3.setAttribute("lquote", "L");
|
||||
var m4 = document.getElementById("m4");
|
||||
m4.setAttribute("rquote", "R");
|
||||
var m5 = document.getElementById("m5");
|
||||
m5.removeAttribute("lquote");
|
||||
m5.removeAttribute("rquote");
|
||||
var m6 = document.getElementById("m6");
|
||||
m6.removeAttribute("lquote");
|
||||
var m7 = document.getElementById("m7");
|
||||
m7.removeAttribute("rquote");
|
||||
document.documentElement.removeAttribute('class');
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -29,7 +29,6 @@ pref(mathml.legacy_mathvariant_attribute.disabled,false) == mi-mathvariant-2.xht
|
|||
!= mi-mathvariant-3.html mi-mathvariant-3-ref.html
|
||||
!= non-spacing-accent-1.xhtml non-spacing-accent-1-ref.xhtml
|
||||
== overbar-width-1.xhtml overbar-width-1-ref.xhtml
|
||||
pref(mathml.ms_lquote_rquote_attributes.disabled,false) == quotes-1.xhtml quotes-1-ref.xhtml
|
||||
!= stretchy-underbar-1.xhtml stretchy-underbar-1-ref.xhtml
|
||||
!= stretchy-munderover-1a.html stretchy-munderover-1-ref.html
|
||||
== stretchy-munderover-1b.html stretchy-munderover-1-ref.html
|
||||
|
|
|
@ -9395,13 +9395,6 @@
|
|||
mirror: always
|
||||
rust: true
|
||||
|
||||
# Whether to disable the lquote/rquote attributes of the <ms> element.
|
||||
- name: mathml.ms_lquote_rquote_attributes.disabled
|
||||
type: bool
|
||||
value: true
|
||||
mirror: always
|
||||
rust: true
|
||||
|
||||
# Whether to disable legacy names "thickmathspace", "mediummathspace",
|
||||
# "thickmathspace" etc for length attributes.
|
||||
- name: mathml.mathspace_names.disabled
|
||||
|
|
|
@ -684,7 +684,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; 62] = [
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 61] = [
|
||||
feature!(
|
||||
atom!("width"),
|
||||
AllowsRanges::Yes,
|
||||
|
@ -997,11 +997,6 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 62] = [
|
|||
atom!("-moz-mathml-core-maction-and-semantics"),
|
||||
"mathml.legacy_maction_and_semantics_implementations.disabled"
|
||||
),
|
||||
// media query for MathML Core's implementation of ms
|
||||
bool_pref_feature!(
|
||||
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"),
|
||||
// media query for MathML Core's implementation of mi
|
||||
|
|
|
@ -505,7 +505,6 @@ static constexpr struct {
|
|||
{"browser.theme.toolbar-theme"_ns, widget::ThemeChangeKind::AllBits},
|
||||
{"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},
|
||||
{"mathml.legacy_mathvariant_attribute.disabled"_ns},
|
||||
};
|
||||
|
|
|
@ -2395,8 +2395,6 @@ STATIC_ATOMS = [
|
|||
Atom("onsupportedkeyschange", "onsupportedkeyschange"),
|
||||
# media query for MathML Core's implementation of maction/semantics
|
||||
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"),
|
||||
# media query for MathML Core's implementation of mi
|
||||
Atom("_moz_mathml_core_mi", "-moz-mathml-core-mi"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче