Bug 771900 - Don't have presentation attributes for properties we don't support. r=jwatt

This commit is contained in:
Cameron McCormack 2012-07-09 11:09:49 +10:00
parent f410406b60
commit c205057dfb

View File

@ -923,13 +923,14 @@ nsSVGElement::sGraphicsMap[] = {
// PresentationAttributes-TextContentElements
/* static */ const nsGenericElement::MappedAttributeEntry
nsSVGElement::sTextContentElementsMap[] = {
{ &nsGkAtoms::alignment_baseline },
{ &nsGkAtoms::baseline_shift },
// Properties that we don't support are commented out.
// { &nsGkAtoms::alignment_baseline },
// { &nsGkAtoms::baseline_shift },
{ &nsGkAtoms::direction },
{ &nsGkAtoms::dominant_baseline },
{ &nsGkAtoms::glyph_orientation_horizontal },
{ &nsGkAtoms::glyph_orientation_vertical },
{ &nsGkAtoms::kerning },
// { &nsGkAtoms::glyph_orientation_horizontal },
// { &nsGkAtoms::glyph_orientation_vertical },
// { &nsGkAtoms::kerning },
{ &nsGkAtoms::letter_spacing },
{ &nsGkAtoms::text_anchor },
{ &nsGkAtoms::text_decoration },