зеркало из https://github.com/mozilla/gecko-dev.git
Bug 737983 - win8 fixup for generic keyword collision, r=smaug.
This commit is contained in:
Родитель
1d8d223e26
Коммит
71cea19097
|
@ -1216,7 +1216,8 @@ GK_ATOM(fy, "fy")
|
|||
GK_ATOM(G, "G")
|
||||
GK_ATOM(g, "g")
|
||||
GK_ATOM(gamma, "gamma")
|
||||
GK_ATOM(generic, "generic")
|
||||
// 'generic' conflicts with msvc11 winrt compiler extensions
|
||||
GK_ATOM(generic_, "generic")
|
||||
GK_ATOM(glyph, "glyph")
|
||||
GK_ATOM(glyphRef, "glyphRef")
|
||||
GK_ATOM(glyph_orientation_horizontal, "glyph-orientation-horizontal")
|
||||
|
|
|
@ -2325,7 +2325,7 @@ bool CheckTagNameWhiteList(PRInt32 aNameSpaceID, nsIAtom *aTagName)
|
|||
}
|
||||
}
|
||||
else if (aNameSpaceID == kNameSpaceID_SVG &&
|
||||
aTagName == nsGkAtoms::generic) {
|
||||
aTagName == nsGkAtoms::generic_) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -4839,7 +4839,7 @@ nsCSSFrameConstructor::FindSVGData(Element* aElement,
|
|||
SIMPLE_SVG_CREATE(rect, NS_NewSVGPathGeometryFrame),
|
||||
SIMPLE_SVG_CREATE(path, NS_NewSVGPathGeometryFrame),
|
||||
SIMPLE_SVG_CREATE(defs, NS_NewSVGContainerFrame),
|
||||
SIMPLE_SVG_CREATE(generic, NS_NewSVGGenericContainerFrame),
|
||||
SIMPLE_SVG_CREATE(generic_, NS_NewSVGGenericContainerFrame),
|
||||
{ &nsGkAtoms::foreignObject,
|
||||
FCDATA_WITH_WRAPPING_BLOCK(FCDATA_DISALLOW_OUT_OF_FLOW,
|
||||
NS_NewSVGForeignObjectFrame,
|
||||
|
|
Загрузка…
Ссылка в новой задаче