mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 374467 - some SVG elements are missing presentation attributes. r+sr=tor
This commit is contained in:
parent
f53097fdb5
commit
f340fea8d1
@ -111,11 +111,13 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGGElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sColorMap,
|
||||
sFEFloodMap,
|
||||
sFiltersMap,
|
||||
sFontSpecificationMap,
|
||||
sGradientStopMap,
|
||||
sMarkersMap,
|
||||
sTextContentElementsMap,
|
||||
sViewportsMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
@ -265,9 +265,9 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGGraphicElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sColorMap,
|
||||
sFillStrokeMap,
|
||||
sGraphicsMap,
|
||||
sColorMap
|
||||
sGraphicsMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
@ -152,7 +152,7 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGLineElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sMarkersMap,
|
||||
sMarkersMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
@ -419,7 +419,7 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGPathElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sMarkersMap,
|
||||
sMarkersMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
@ -100,7 +100,7 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGPolyElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sMarkersMap,
|
||||
sMarkersMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
@ -1092,8 +1092,8 @@ nsSVGSVGElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sColorMap,
|
||||
sFEFloodMap,
|
||||
sFiltersMap,
|
||||
sFillStrokeMap,
|
||||
sFiltersMap,
|
||||
sFontSpecificationMap,
|
||||
sGradientStopMap,
|
||||
sGraphicsMap,
|
||||
|
@ -110,6 +110,7 @@ nsSVGSwitchElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sFEFloodMap,
|
||||
sFiltersMap,
|
||||
sFontSpecificationMap,
|
||||
sGradientStopMap,
|
||||
sMarkersMap,
|
||||
|
@ -173,10 +173,13 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGSymbolElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sColorMap,
|
||||
sFEFloodMap,
|
||||
sFillStrokeMap,
|
||||
sFiltersMap,
|
||||
sFontSpecificationMap,
|
||||
sGradientStopMap,
|
||||
sGraphicsMap,
|
||||
sMarkersMap,
|
||||
sTextContentElementsMap,
|
||||
sViewportsMap
|
||||
|
@ -365,11 +365,11 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGTSpanElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sColorMap,
|
||||
sFillStrokeMap,
|
||||
sGraphicsMap,
|
||||
sTextContentElementsMap,
|
||||
sFontSpecificationMap,
|
||||
sColorMap
|
||||
sGraphicsMap,
|
||||
sTextContentElementsMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
@ -354,11 +354,11 @@ NS_IMETHODIMP_(PRBool)
|
||||
nsSVGTextPathElement::IsAttributeMapped(const nsIAtom* name) const
|
||||
{
|
||||
static const MappedAttributeEntry* const map[] = {
|
||||
sColorMap,
|
||||
sFillStrokeMap,
|
||||
sGraphicsMap,
|
||||
sTextContentElementsMap,
|
||||
sFontSpecificationMap,
|
||||
sColorMap
|
||||
sGraphicsMap,
|
||||
sTextContentElementsMap
|
||||
};
|
||||
|
||||
return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
|
||||
|
Loading…
Reference in New Issue
Block a user