mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 857820 part.2 Drop <blink> support from editor r=ehsan
This commit is contained in:
parent
65e843edc3
commit
89c7bcdad0
@ -3869,6 +3869,7 @@
|
||||
"[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
|
||||
"[[\"inserthorizontalrule\",\"\"]] \"<address>foo[bar]baz</address>\" compare innerHTML":true,
|
||||
"[[\"inserthorizontalrule\",\"\"]] \"<bdi>foo[bar]baz</bdi>\" compare innerHTML":true,
|
||||
"[[\"inserthorizontalrule\",\"\"]] \"<blink>foo[bar]baz</blink>\" compare innerHTML":true,
|
||||
"[[\"inserthorizontalrule\",\"\"]] \"<table><caption>foo[bar]baz</caption><tr><td>quz</table>\": execCommand(\"inserthorizontalrule\", false, \"\") return value":true,
|
||||
"[[\"inserthorizontalrule\",\"\"]] \"<table><caption>foo[bar]baz</caption><tr><td>quz</table>\" compare innerHTML":true,
|
||||
"[[\"inserthorizontalrule\",\"\"]] \"<dl><dt>foo[bar]baz</dt></dl>\" compare innerHTML":true,
|
||||
@ -11044,8 +11045,6 @@
|
||||
"[[\"outdent\",\"\"]] \"<blockquote><span>foo<br>[bar]</span></blockquote>\" compare innerHTML":true,
|
||||
"[[\"stylewithcss\",\"true\"],[\"removeformat\",\"\"]] \"foo<b id=foo>b[a]r</b>baz\" compare innerHTML":true,
|
||||
"[[\"stylewithcss\",\"false\"],[\"removeformat\",\"\"]] \"foo<b id=foo>b[a]r</b>baz\" compare innerHTML":true,
|
||||
"[[\"removeformat\",\"\"]] \"[foo<blink>bar</blink>baz]\" compare innerHTML":true,
|
||||
"[[\"removeformat\",\"\"]] \"foo<blink>b[a]r</blink>baz\" compare innerHTML":true,
|
||||
"[[\"removeformat\",\"\"]] \"[foo<del>bar</del>baz]\" compare innerHTML":true,
|
||||
"[[\"removeformat\",\"\"]] \"foo<del>b[a]r</del>baz\" compare innerHTML":true,
|
||||
"[[\"removeformat\",\"\"]] \"[foo<nobr>bar</nobr>baz]\" compare innerHTML":true,
|
||||
|
@ -31,7 +31,6 @@ EDITOR_ATOM(aside, "aside")
|
||||
EDITOR_ATOM(b, "b")
|
||||
EDITOR_ATOM(bdo, "bdo")
|
||||
EDITOR_ATOM(big, "big")
|
||||
EDITOR_ATOM(blink, "blink")
|
||||
EDITOR_ATOM(blockquote, "blockquote")
|
||||
EDITOR_ATOM(body, "body")
|
||||
EDITOR_ATOM(br, "br")
|
||||
|
@ -59,7 +59,6 @@ nsHTMLEditUtils::IsInlineStyle(nsINode* aNode)
|
||||
|| (nodeAtom == nsEditProperty::strike)
|
||||
|| (nodeAtom == nsEditProperty::big)
|
||||
|| (nodeAtom == nsEditProperty::small)
|
||||
|| (nodeAtom == nsEditProperty::blink)
|
||||
|| (nodeAtom == nsEditProperty::sub)
|
||||
|| (nodeAtom == nsEditProperty::sup)
|
||||
|| (nodeAtom == nsEditProperty::font);
|
||||
@ -629,7 +628,6 @@ static const nsElementInfo kElements[eHTMLTag_userdefined] = {
|
||||
ELEM(bdo, true, true, GROUP_SPECIAL, GROUP_INLINE_ELEMENT),
|
||||
ELEM(bgsound, false, false, GROUP_NONE, GROUP_NONE),
|
||||
ELEM(big, true, true, GROUP_FONTSTYLE, GROUP_INLINE_ELEMENT),
|
||||
ELEM(blink, false, false, GROUP_NONE, GROUP_NONE),
|
||||
ELEM(blockquote, true, true, GROUP_BLOCK, GROUP_FLOW_ELEMENT),
|
||||
ELEM(body, true, true, GROUP_TOPLEVEL, GROUP_FLOW_ELEMENT),
|
||||
ELEM(br, false, false, GROUP_SPECIAL, GROUP_NONE),
|
||||
|
@ -26,7 +26,6 @@
|
||||
TS_ATOM(sAAtom, "a")
|
||||
TS_ATOM(sAddressAtom, "address")
|
||||
TS_ATOM(sBigAtom, "big")
|
||||
TS_ATOM(sBlinkAtom, "blink")
|
||||
TS_ATOM(sBAtom, "b")
|
||||
TS_ATOM(sCiteAtom, "cite")
|
||||
TS_ATOM(sCodeAtom, "code")
|
||||
|
@ -2292,7 +2292,6 @@ nsTextServicesDocument::IsBlockNode(nsIContent *aContent)
|
||||
return (sAAtom != atom &&
|
||||
sAddressAtom != atom &&
|
||||
sBigAtom != atom &&
|
||||
sBlinkAtom != atom &&
|
||||
sBAtom != atom &&
|
||||
sCiteAtom != atom &&
|
||||
sCodeAtom != atom &&
|
||||
|
@ -39,7 +39,6 @@ private:
|
||||
static nsIAtom *sAAtom;
|
||||
static nsIAtom *sAddressAtom;
|
||||
static nsIAtom *sBigAtom;
|
||||
static nsIAtom *sBlinkAtom;
|
||||
static nsIAtom *sBAtom;
|
||||
static nsIAtom *sCiteAtom;
|
||||
static nsIAtom *sCodeAtom;
|
||||
|
Loading…
x
Reference in New Issue
Block a user