mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 1148694
patch 3 - remove tests affected by removal of CSSCharsetRule. r=dbaron, r=khuey
This commit is contained in:
parent
cad494d874
commit
10ec87bdf8
@ -270,8 +270,6 @@ var interfaceNamesInGlobalScope =
|
|||||||
"CSS",
|
"CSS",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"CSS2Properties",
|
"CSS2Properties",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
|
||||||
"CSSCharsetRule",
|
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"CSSConditionRule",
|
"CSSConditionRule",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
|
@ -128,16 +128,6 @@ const tests = [
|
|||||||
tst: "td:lang(en"
|
tst: "td:lang(en"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
name: "@charset 1",
|
|
||||||
ref: "@charset 'utf-8';",
|
|
||||||
tst: "@charset 'utf-8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "@charset 2",
|
|
||||||
ref: "@charset 'utf-8';",
|
|
||||||
tst: "@charset 'utf-8'"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "@media 3",
|
name: "@media 3",
|
||||||
ref: "@media all {}",
|
ref: "@media all {}",
|
||||||
|
@ -107,11 +107,6 @@ var innerRuleInfo = [
|
|||||||
return Math.abs(width - (aApplied ? monospaceWidth : serifWidth)) <= 1; // bug 769194 prevents local()
|
return Math.abs(width - (aApplied ? monospaceWidth : serifWidth)) <= 1; // bug 769194 prevents local()
|
||||||
// fonts working on Android
|
// fonts working on Android
|
||||||
}],
|
}],
|
||||||
["@charset 'UTF-8';",
|
|
||||||
function(aApplied, aParent, aException) {
|
|
||||||
// just test whether it threw
|
|
||||||
return aParent instanceof CSSRule ? aException : !aException;
|
|
||||||
}],
|
|
||||||
["@import url(nothing.css);",
|
["@import url(nothing.css);",
|
||||||
function(aApplied, aParent, aException) {
|
function(aApplied, aParent, aException) {
|
||||||
// just test whether it threw
|
// just test whether it threw
|
||||||
|
Loading…
Reference in New Issue
Block a user