Bug 771900 - Don't have presentation attributes for properties we don't support. r=jwatt
authorCameron McCormack <cam@mcc.id.au>
Mon, 09 Jul 2012 11:09:49 +1000
changeset 98675 29a65f75102139125b242a8b3c9b46bd895bb6ff
parent 98674 6e0f0a9228ce3cb663e03912b2c495be61792186
child 98676 d3758482ee586e8320e450d97d65389fc872bf4a
push id907
push usertim.taubert@gmx.de
push dateTue, 10 Jul 2012 09:05:39 +0000
treeherderfx-team@8bba6a37776e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwatt
bugs771900
milestone16.0a1
Bug 771900 - Don't have presentation attributes for properties we don't support. r=jwatt
content/svg/content/src/nsSVGElement.cpp
--- a/content/svg/content/src/nsSVGElement.cpp
+++ b/content/svg/content/src/nsSVGElement.cpp
@@ -918,23 +918,24 @@ nsSVGElement::sGraphicsMap[] = {
   { &nsGkAtoms::text_rendering },
   { &nsGkAtoms::visibility },
   { nsnull }
 };
 
 // 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 },
   { &nsGkAtoms::unicode_bidi },
   { &nsGkAtoms::word_spacing },
   { nsnull }
 };