Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
authorRobert Longson <longsonr@gmail.com>
Wed, 05 Feb 2014 15:04:08 +0000
changeset 166957 af184f7760b9
parent 166956 4b566046b8a8
child 166958 1b0e02d99ab1
push id26156
push userryanvm@gmail.com
push dateWed, 05 Feb 2014 20:21:06 +0000
treeherdermozilla-central@bd40e935d3b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswchen
bugs964200
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
parser/html/javasrc/ElementName.java
parser/html/nsHtml5AtomList.h
parser/html/nsHtml5ElementName.cpp
parser/html/nsHtml5ElementName.h
--- a/parser/html/javasrc/ElementName.java
+++ b/parser/html/javasrc/ElementName.java
@@ -1,10 +1,10 @@
 /*
- * Copyright (c) 2008-2011 Mozilla Foundation
+ * Copyright (c) 2008-2014 Mozilla Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a 
  * copy of this software and associated documentation files (the "Software"), 
  * to deal in the Software without restriction, including without limitation 
  * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
  * and/or sell copies of the Software, and to permit persons to whom the 
  * Software is furnished to do so, subject to the following conditions:
  *
@@ -768,16 +768,17 @@ public final class ElementName
     public static final ElementName NOTPRSUBSET = new ElementName("notprsubset", "notprsubset", TreeBuilder.OTHER);
     public static final ElementName PARTIALDIFF = new ElementName("partialdiff", "partialdiff", TreeBuilder.OTHER);
     public static final ElementName ALTGLYPHITEM = new ElementName("altglyphitem", "altGlyphItem", TreeBuilder.OTHER);
     public static final ElementName ANIMATECOLOR = new ElementName("animatecolor", "animateColor", TreeBuilder.OTHER);
     public static final ElementName DATATEMPLATE = new ElementName("datatemplate", "datatemplate", TreeBuilder.OTHER);
     public static final ElementName EXPONENTIALE = new ElementName("exponentiale", "exponentiale", TreeBuilder.OTHER);
     public static final ElementName FETURBULENCE = new ElementName("feturbulence", "feTurbulence", TreeBuilder.OTHER);
     public static final ElementName FEPOINTLIGHT = new ElementName("fepointlight", "fePointLight", TreeBuilder.OTHER);
+    public static final ElementName FEDROPSHADOW = new ElementName("fedropshadow", "feDropShadow", TreeBuilder.OTHER);
     public static final ElementName FEMORPHOLOGY = new ElementName("femorphology", "feMorphology", TreeBuilder.OTHER);
     public static final ElementName OUTERPRODUCT = new ElementName("outerproduct", "outerproduct", TreeBuilder.OTHER);
     public static final ElementName ANIMATEMOTION = new ElementName("animatemotion", "animateMotion", TreeBuilder.OTHER);
     public static final ElementName COLOR_PROFILE = new ElementName("color-profile", "color-profile", TreeBuilder.OTHER);
     public static final ElementName FONT_FACE_SRC = new ElementName("font-face-src", "font-face-src", TreeBuilder.OTHER);
     public static final ElementName FONT_FACE_URI = new ElementName("font-face-uri", "font-face-uri", TreeBuilder.OTHER);
     public static final ElementName FOREIGNOBJECT = new ElementName("foreignobject", "foreignObject", TreeBuilder.FOREIGNOBJECT_OR_DESC | SCOPING_AS_SVG);
     public static final ElementName FECOLORMATRIX = new ElementName("fecolormatrix", "feColorMatrix", TreeBuilder.OTHER);
@@ -1162,16 +1163,17 @@ public final class ElementName
     NOTPRSUBSET,
     PARTIALDIFF,
     ALTGLYPHITEM,
     ANIMATECOLOR,
     DATATEMPLATE,
     EXPONENTIALE,
     FETURBULENCE,
     FEPOINTLIGHT,
+    FEDROPSHADOW,
     FEMORPHOLOGY,
     OUTERPRODUCT,
     ANIMATEMOTION,
     COLOR_PROFILE,
     FONT_FACE_SRC,
     FONT_FACE_URI,
     FOREIGNOBJECT,
     FECOLORMATRIX,
@@ -1557,16 +1559,17 @@ public final class ElementName
     384439906,
     386079012,
     404133513,
     404307343,
     407031852,
     408072233,
     409112005,
     409608425,
+    409713793,
     409771500,
     419040932,
     437730612,
     439529766,
     442616365,
     442813037,
     443157674,
     443295316,
--- a/parser/html/nsHtml5AtomList.h
+++ b/parser/html/nsHtml5AtomList.h
@@ -1022,16 +1022,18 @@ HTML5_ATOM(altGlyphItem, "altGlyphItem")
 HTML5_ATOM(animatecolor, "animatecolor")
 HTML5_ATOM(animateColor, "animateColor")
 HTML5_ATOM(datatemplate, "datatemplate")
 HTML5_ATOM(exponentiale, "exponentiale")
 HTML5_ATOM(feturbulence, "feturbulence")
 HTML5_ATOM(feTurbulence, "feTurbulence")
 HTML5_ATOM(fepointlight, "fepointlight")
 HTML5_ATOM(fePointLight, "fePointLight")
+HTML5_ATOM(fedropshadow, "fedropshadow")
+HTML5_ATOM(feDropShadow, "feDropShadow")
 HTML5_ATOM(femorphology, "femorphology")
 HTML5_ATOM(feMorphology, "feMorphology")
 HTML5_ATOM(outerproduct, "outerproduct")
 HTML5_ATOM(animatemotion, "animatemotion")
 HTML5_ATOM(animateMotion, "animateMotion")
 HTML5_ATOM(font_face_src, "font-face-src")
 HTML5_ATOM(font_face_uri, "font-face-uri")
 HTML5_ATOM(foreignobject, "foreignobject")
--- a/parser/html/nsHtml5ElementName.cpp
+++ b/parser/html/nsHtml5ElementName.cpp
@@ -1,10 +1,10 @@
 /*
- * Copyright (c) 2008-2011 Mozilla Foundation
+ * Copyright (c) 2008-2014 Mozilla Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a 
  * copy of this software and associated documentation files (the "Software"), 
  * to deal in the Software without restriction, including without limitation 
  * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
  * and/or sell copies of the Software, and to permit persons to whom the 
  * Software is furnished to do so, subject to the following conditions:
  *
@@ -493,16 +493,17 @@ nsHtml5ElementName* nsHtml5ElementName::
 nsHtml5ElementName* nsHtml5ElementName::ELT_NOTPRSUBSET = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_PARTIALDIFF = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_ALTGLYPHITEM = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_ANIMATECOLOR = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_DATATEMPLATE = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_EXPONENTIALE = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FETURBULENCE = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FEPOINTLIGHT = nullptr;
+nsHtml5ElementName* nsHtml5ElementName::ELT_FEDROPSHADOW = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FEMORPHOLOGY = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_OUTERPRODUCT = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_ANIMATEMOTION = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_COLOR_PROFILE = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FONT_FACE_SRC = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FONT_FACE_URI = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FOREIGNOBJECT = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FECOLORMATRIX = nullptr;
@@ -523,17 +524,17 @@ nsHtml5ElementName* nsHtml5ElementName::
 nsHtml5ElementName* nsHtml5ElementName::ELT_FONT_FACE_FORMAT = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FECONVOLVEMATRIX = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FEDIFFUSELIGHTING = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FEDISPLACEMENTMAP = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FESPECULARLIGHTING = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_DOMAINOFAPPLICATION = nullptr;
 nsHtml5ElementName* nsHtml5ElementName::ELT_FECOMPONENTTRANSFER = nullptr;
 nsHtml5ElementName** nsHtml5ElementName::ELEMENT_NAMES = 0;
-static int32_t const ELEMENT_HASHES_DATA[] = { 1057, 1090, 1255, 1321, 1552, 1585, 1651, 1717, 68162, 68899, 69059, 69764, 70020, 70276, 71077, 71205, 72134, 72232, 72264, 72296, 72328, 72360, 72392, 73351, 74312, 75209, 78124, 78284, 78476, 79149, 79309, 79341, 79469, 81295, 81487, 82224, 84498, 84626, 86164, 86292, 86612, 86676, 87445, 3183041, 3186241, 3198017, 3218722, 3226754, 3247715, 3256803, 3263971, 3264995, 3289252, 3291332, 3295524, 3299620, 3326725, 3379303, 3392679, 3448233, 3460553, 3461577, 3510347, 3546604, 3552364, 3556524, 3576461, 3586349, 3588141, 3590797, 3596333, 3622062, 3625454, 3627054, 3675728, 3749042, 3771059, 3771571, 3776211, 3782323, 3782963, 3784883, 3785395, 3788979, 3815476, 3839605, 3885110, 3917911, 3948984, 3951096, 135304769, 135858241, 136498210, 136906434, 137138658, 137512995, 137531875, 137548067, 137629283, 137645539, 137646563, 137775779, 138529956, 138615076, 139040932, 140954086, 141179366, 141690439, 142738600, 143013512, 146979116, 147175724, 147475756, 147902637, 147936877, 148017645, 148131885, 148228141, 148229165, 148309165, 148317229, 148395629, 148551853, 148618829, 149076462, 149490158, 149572782, 151277616, 151639440, 153268914, 153486514, 153563314, 153750706, 153763314, 153914034, 154406067, 154417459, 154600979, 154678323, 154680979, 154866835, 155366708, 155375188, 155391572, 155465780, 155869364, 158045494, 168988979, 169321621, 169652752, 173151309, 174240818, 174247297, 174669292, 175391532, 176638123, 177380397, 177879204, 177886734, 180753473, 181020073, 181503558, 181686320, 181999237, 181999311, 182048201, 182074866, 182078003, 182083764, 182920847, 184716457, 184976961, 185145071, 187281445, 187872052, 188100653, 188875944, 188919873, 188920457, 189107250, 189203987, 189371817, 189414886, 189567458, 190266670, 191318187, 191337609, 202479203, 202493027, 202835587, 202843747, 203013219, 203036048, 203045987, 203177552, 203898516, 204648562, 205067918, 205078130, 205096654, 205689142, 205690439, 205988909, 207213161, 207794484, 207800999, 208023602, 208213644, 208213647, 210261490, 210310273, 210940978, 213325049, 213946445, 214055079, 215125040, 215134273, 215135028, 215237420, 215418148, 215553166, 215553394, 215563858, 215627949, 215754324, 217529652, 217713834, 217732628, 218731945, 221417045, 221424946, 221493746, 221515401, 221658189, 221908140, 221910626, 221921586, 222659762, 225001091, 236105833, 236113965, 236194995, 236195427, 236206132, 236206387, 236211683, 236212707, 236381647, 236571826, 237124271, 238210544, 238270764, 238435405, 238501172, 239224867, 239257644, 239710497, 240307721, 241208789, 241241557, 241318060, 241319404, 241343533, 241344069, 241405397, 241765845, 243864964, 244502085, 244946220, 245109902, 247647266, 247707956, 248648814, 248648836, 248682161, 248986932, 249058914, 249697357, 252132601, 252135604, 252317348, 255007012, 255278388, 255641645, 256365156, 257566121, 269763372, 271202790, 271863856, 272049197, 272127474, 274339449, 274939471, 275388004, 275388005, 275388006, 275977800, 278267602, 278513831, 278712622, 281613765, 281683369, 282120228, 282250732, 282498697, 282508942, 283743649, 283787570, 284710386, 285391148, 285478533, 285854898, 285873762, 286931113, 288964227, 289445441, 289591340, 289689648, 291671489, 303512884, 305319975, 305610036, 305764101, 308448294, 308675890, 312085683, 312264750, 315032867, 316391000, 317331042, 317902135, 318950711, 319447220, 321499182, 322538804, 323145200, 337067316, 337826293, 339905989, 340833697, 341457068, 342310196, 345302593, 349554733, 349771471, 349786245, 350819405, 356072847, 370349192, 373962798, 375558638, 375574835, 376053993, 383276530, 383373833, 383407586, 384439906, 386079012, 404133513, 404307343, 407031852, 408072233, 409112005, 409608425, 409771500, 419040932, 437730612, 439529766, 442616365, 442813037, 443157674, 443295316, 450118444, 450482697, 456789668, 459935396, 471217869, 474073645, 476230702, 476665218, 476717289, 483014825, 485083298, 489306281, 538364390, 540675748, 543819186, 543958612, 576960820, 577242548, 610515252, 642202932, 644420819 };
+static int32_t const ELEMENT_HASHES_DATA[] = { 1057, 1090, 1255, 1321, 1552, 1585, 1651, 1717, 68162, 68899, 69059, 69764, 70020, 70276, 71077, 71205, 72134, 72232, 72264, 72296, 72328, 72360, 72392, 73351, 74312, 75209, 78124, 78284, 78476, 79149, 79309, 79341, 79469, 81295, 81487, 82224, 84498, 84626, 86164, 86292, 86612, 86676, 87445, 3183041, 3186241, 3198017, 3218722, 3226754, 3247715, 3256803, 3263971, 3264995, 3289252, 3291332, 3295524, 3299620, 3326725, 3379303, 3392679, 3448233, 3460553, 3461577, 3510347, 3546604, 3552364, 3556524, 3576461, 3586349, 3588141, 3590797, 3596333, 3622062, 3625454, 3627054, 3675728, 3749042, 3771059, 3771571, 3776211, 3782323, 3782963, 3784883, 3785395, 3788979, 3815476, 3839605, 3885110, 3917911, 3948984, 3951096, 135304769, 135858241, 136498210, 136906434, 137138658, 137512995, 137531875, 137548067, 137629283, 137645539, 137646563, 137775779, 138529956, 138615076, 139040932, 140954086, 141179366, 141690439, 142738600, 143013512, 146979116, 147175724, 147475756, 147902637, 147936877, 148017645, 148131885, 148228141, 148229165, 148309165, 148317229, 148395629, 148551853, 148618829, 149076462, 149490158, 149572782, 151277616, 151639440, 153268914, 153486514, 153563314, 153750706, 153763314, 153914034, 154406067, 154417459, 154600979, 154678323, 154680979, 154866835, 155366708, 155375188, 155391572, 155465780, 155869364, 158045494, 168988979, 169321621, 169652752, 173151309, 174240818, 174247297, 174669292, 175391532, 176638123, 177380397, 177879204, 177886734, 180753473, 181020073, 181503558, 181686320, 181999237, 181999311, 182048201, 182074866, 182078003, 182083764, 182920847, 184716457, 184976961, 185145071, 187281445, 187872052, 188100653, 188875944, 188919873, 188920457, 189107250, 189203987, 189371817, 189414886, 189567458, 190266670, 191318187, 191337609, 202479203, 202493027, 202835587, 202843747, 203013219, 203036048, 203045987, 203177552, 203898516, 204648562, 205067918, 205078130, 205096654, 205689142, 205690439, 205988909, 207213161, 207794484, 207800999, 208023602, 208213644, 208213647, 210261490, 210310273, 210940978, 213325049, 213946445, 214055079, 215125040, 215134273, 215135028, 215237420, 215418148, 215553166, 215553394, 215563858, 215627949, 215754324, 217529652, 217713834, 217732628, 218731945, 221417045, 221424946, 221493746, 221515401, 221658189, 221908140, 221910626, 221921586, 222659762, 225001091, 236105833, 236113965, 236194995, 236195427, 236206132, 236206387, 236211683, 236212707, 236381647, 236571826, 237124271, 238210544, 238270764, 238435405, 238501172, 239224867, 239257644, 239710497, 240307721, 241208789, 241241557, 241318060, 241319404, 241343533, 241344069, 241405397, 241765845, 243864964, 244502085, 244946220, 245109902, 247647266, 247707956, 248648814, 248648836, 248682161, 248986932, 249058914, 249697357, 252132601, 252135604, 252317348, 255007012, 255278388, 255641645, 256365156, 257566121, 269763372, 271202790, 271863856, 272049197, 272127474, 274339449, 274939471, 275388004, 275388005, 275388006, 275977800, 278267602, 278513831, 278712622, 281613765, 281683369, 282120228, 282250732, 282498697, 282508942, 283743649, 283787570, 284710386, 285391148, 285478533, 285854898, 285873762, 286931113, 288964227, 289445441, 289591340, 289689648, 291671489, 303512884, 305319975, 305610036, 305764101, 308448294, 308675890, 312085683, 312264750, 315032867, 316391000, 317331042, 317902135, 318950711, 319447220, 321499182, 322538804, 323145200, 337067316, 337826293, 339905989, 340833697, 341457068, 342310196, 345302593, 349554733, 349771471, 349786245, 350819405, 356072847, 370349192, 373962798, 375558638, 375574835, 376053993, 383276530, 383373833, 383407586, 384439906, 386079012, 404133513, 404307343, 407031852, 408072233, 409112005, 409608425, 409713793, 409771500, 419040932, 437730612, 439529766, 442616365, 442813037, 443157674, 443295316, 450118444, 450482697, 456789668, 459935396, 471217869, 474073645, 476230702, 476665218, 476717289, 483014825, 485083298, 489306281, 538364390, 540675748, 543819186, 543958612, 576960820, 577242548, 610515252, 642202932, 644420819 };
 staticJArray<int32_t,int32_t> nsHtml5ElementName::ELEMENT_HASHES = { ELEMENT_HASHES_DATA, MOZ_ARRAY_LENGTH(ELEMENT_HASHES_DATA) };
 void
 nsHtml5ElementName::initializeStatics()
 {
   ELT_NULL_ELEMENT_NAME = new nsHtml5ElementName(nullptr);
   ELT_A = new nsHtml5ElementName(nsHtml5Atoms::a, nsHtml5Atoms::a, NS_HTML5TREE_BUILDER_A);
   ELT_B = new nsHtml5ElementName(nsHtml5Atoms::b, nsHtml5Atoms::b, NS_HTML5TREE_BUILDER_B_OR_BIG_OR_CODE_OR_EM_OR_I_OR_S_OR_SMALL_OR_STRIKE_OR_STRONG_OR_TT_OR_U);
   ELT_G = new nsHtml5ElementName(nsHtml5Atoms::g, nsHtml5Atoms::g, NS_HTML5TREE_BUILDER_OTHER);
@@ -893,16 +894,17 @@ nsHtml5ElementName::initializeStatics()
   ELT_NOTPRSUBSET = new nsHtml5ElementName(nsHtml5Atoms::notprsubset, nsHtml5Atoms::notprsubset, NS_HTML5TREE_BUILDER_OTHER);
   ELT_PARTIALDIFF = new nsHtml5ElementName(nsHtml5Atoms::partialdiff, nsHtml5Atoms::partialdiff, NS_HTML5TREE_BUILDER_OTHER);
   ELT_ALTGLYPHITEM = new nsHtml5ElementName(nsHtml5Atoms::altglyphitem, nsHtml5Atoms::altGlyphItem, NS_HTML5TREE_BUILDER_OTHER);
   ELT_ANIMATECOLOR = new nsHtml5ElementName(nsHtml5Atoms::animatecolor, nsHtml5Atoms::animateColor, NS_HTML5TREE_BUILDER_OTHER);
   ELT_DATATEMPLATE = new nsHtml5ElementName(nsHtml5Atoms::datatemplate, nsHtml5Atoms::datatemplate, NS_HTML5TREE_BUILDER_OTHER);
   ELT_EXPONENTIALE = new nsHtml5ElementName(nsHtml5Atoms::exponentiale, nsHtml5Atoms::exponentiale, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FETURBULENCE = new nsHtml5ElementName(nsHtml5Atoms::feturbulence, nsHtml5Atoms::feTurbulence, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FEPOINTLIGHT = new nsHtml5ElementName(nsHtml5Atoms::fepointlight, nsHtml5Atoms::fePointLight, NS_HTML5TREE_BUILDER_OTHER);
+  ELT_FEDROPSHADOW = new nsHtml5ElementName(nsHtml5Atoms::fedropshadow, nsHtml5Atoms::feDropShadow, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FEMORPHOLOGY = new nsHtml5ElementName(nsHtml5Atoms::femorphology, nsHtml5Atoms::feMorphology, NS_HTML5TREE_BUILDER_OTHER);
   ELT_OUTERPRODUCT = new nsHtml5ElementName(nsHtml5Atoms::outerproduct, nsHtml5Atoms::outerproduct, NS_HTML5TREE_BUILDER_OTHER);
   ELT_ANIMATEMOTION = new nsHtml5ElementName(nsHtml5Atoms::animatemotion, nsHtml5Atoms::animateMotion, NS_HTML5TREE_BUILDER_OTHER);
   ELT_COLOR_PROFILE = new nsHtml5ElementName(nsHtml5Atoms::color_profile, nsHtml5Atoms::color_profile, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FONT_FACE_SRC = new nsHtml5ElementName(nsHtml5Atoms::font_face_src, nsHtml5Atoms::font_face_src, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FONT_FACE_URI = new nsHtml5ElementName(nsHtml5Atoms::font_face_uri, nsHtml5Atoms::font_face_uri, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FOREIGNOBJECT = new nsHtml5ElementName(nsHtml5Atoms::foreignobject, nsHtml5Atoms::foreignObject, NS_HTML5TREE_BUILDER_FOREIGNOBJECT_OR_DESC | NS_HTML5ELEMENT_NAME_SCOPING_AS_SVG);
   ELT_FECOLORMATRIX = new nsHtml5ElementName(nsHtml5Atoms::fecolormatrix, nsHtml5Atoms::feColorMatrix, NS_HTML5TREE_BUILDER_OTHER);
@@ -922,17 +924,17 @@ nsHtml5ElementName::initializeStatics()
   ELT_CARTESIANPRODUCT = new nsHtml5ElementName(nsHtml5Atoms::cartesianproduct, nsHtml5Atoms::cartesianproduct, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FONT_FACE_FORMAT = new nsHtml5ElementName(nsHtml5Atoms::font_face_format, nsHtml5Atoms::font_face_format, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FECONVOLVEMATRIX = new nsHtml5ElementName(nsHtml5Atoms::feconvolvematrix, nsHtml5Atoms::feConvolveMatrix, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FEDIFFUSELIGHTING = new nsHtml5ElementName(nsHtml5Atoms::fediffuselighting, nsHtml5Atoms::feDiffuseLighting, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FEDISPLACEMENTMAP = new nsHtml5ElementName(nsHtml5Atoms::fedisplacementmap, nsHtml5Atoms::feDisplacementMap, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FESPECULARLIGHTING = new nsHtml5ElementName(nsHtml5Atoms::fespecularlighting, nsHtml5Atoms::feSpecularLighting, NS_HTML5TREE_BUILDER_OTHER);
   ELT_DOMAINOFAPPLICATION = new nsHtml5ElementName(nsHtml5Atoms::domainofapplication, nsHtml5Atoms::domainofapplication, NS_HTML5TREE_BUILDER_OTHER);
   ELT_FECOMPONENTTRANSFER = new nsHtml5ElementName(nsHtml5Atoms::fecomponenttransfer, nsHtml5Atoms::feComponentTransfer, NS_HTML5TREE_BUILDER_OTHER);
-  ELEMENT_NAMES = new nsHtml5ElementName*[393];
+  ELEMENT_NAMES = new nsHtml5ElementName*[394];
   ELEMENT_NAMES[0] = ELT_A;
   ELEMENT_NAMES[1] = ELT_B;
   ELEMENT_NAMES[2] = ELT_G;
   ELEMENT_NAMES[3] = ELT_I;
   ELEMENT_NAMES[4] = ELT_P;
   ELEMENT_NAMES[5] = ELT_Q;
   ELEMENT_NAMES[6] = ELT_S;
   ELEMENT_NAMES[7] = ELT_U;
@@ -1287,45 +1289,46 @@ nsHtml5ElementName::initializeStatics()
   ELEMENT_NAMES[356] = ELT_NOTPRSUBSET;
   ELEMENT_NAMES[357] = ELT_PARTIALDIFF;
   ELEMENT_NAMES[358] = ELT_ALTGLYPHITEM;
   ELEMENT_NAMES[359] = ELT_ANIMATECOLOR;
   ELEMENT_NAMES[360] = ELT_DATATEMPLATE;
   ELEMENT_NAMES[361] = ELT_EXPONENTIALE;
   ELEMENT_NAMES[362] = ELT_FETURBULENCE;
   ELEMENT_NAMES[363] = ELT_FEPOINTLIGHT;
-  ELEMENT_NAMES[364] = ELT_FEMORPHOLOGY;
-  ELEMENT_NAMES[365] = ELT_OUTERPRODUCT;
-  ELEMENT_NAMES[366] = ELT_ANIMATEMOTION;
-  ELEMENT_NAMES[367] = ELT_COLOR_PROFILE;
-  ELEMENT_NAMES[368] = ELT_FONT_FACE_SRC;
-  ELEMENT_NAMES[369] = ELT_FONT_FACE_URI;
-  ELEMENT_NAMES[370] = ELT_FOREIGNOBJECT;
-  ELEMENT_NAMES[371] = ELT_FECOLORMATRIX;
-  ELEMENT_NAMES[372] = ELT_MISSING_GLYPH;
-  ELEMENT_NAMES[373] = ELT_MMULTISCRIPTS;
-  ELEMENT_NAMES[374] = ELT_SCALARPRODUCT;
-  ELEMENT_NAMES[375] = ELT_VECTORPRODUCT;
-  ELEMENT_NAMES[376] = ELT_ANNOTATION_XML;
-  ELEMENT_NAMES[377] = ELT_DEFINITION_SRC;
-  ELEMENT_NAMES[378] = ELT_FONT_FACE_NAME;
-  ELEMENT_NAMES[379] = ELT_FEGAUSSIANBLUR;
-  ELEMENT_NAMES[380] = ELT_FEDISTANTLIGHT;
-  ELEMENT_NAMES[381] = ELT_LINEARGRADIENT;
-  ELEMENT_NAMES[382] = ELT_NATURALNUMBERS;
-  ELEMENT_NAMES[383] = ELT_RADIALGRADIENT;
-  ELEMENT_NAMES[384] = ELT_ANIMATETRANSFORM;
-  ELEMENT_NAMES[385] = ELT_CARTESIANPRODUCT;
-  ELEMENT_NAMES[386] = ELT_FONT_FACE_FORMAT;
-  ELEMENT_NAMES[387] = ELT_FECONVOLVEMATRIX;
-  ELEMENT_NAMES[388] = ELT_FEDIFFUSELIGHTING;
-  ELEMENT_NAMES[389] = ELT_FEDISPLACEMENTMAP;
-  ELEMENT_NAMES[390] = ELT_FESPECULARLIGHTING;
-  ELEMENT_NAMES[391] = ELT_DOMAINOFAPPLICATION;
-  ELEMENT_NAMES[392] = ELT_FECOMPONENTTRANSFER;
+  ELEMENT_NAMES[364] = ELT_FEDROPSHADOW;
+  ELEMENT_NAMES[365] = ELT_FEMORPHOLOGY;
+  ELEMENT_NAMES[366] = ELT_OUTERPRODUCT;
+  ELEMENT_NAMES[367] = ELT_ANIMATEMOTION;
+  ELEMENT_NAMES[368] = ELT_COLOR_PROFILE;
+  ELEMENT_NAMES[369] = ELT_FONT_FACE_SRC;
+  ELEMENT_NAMES[370] = ELT_FONT_FACE_URI;
+  ELEMENT_NAMES[371] = ELT_FOREIGNOBJECT;
+  ELEMENT_NAMES[372] = ELT_FECOLORMATRIX;
+  ELEMENT_NAMES[373] = ELT_MISSING_GLYPH;
+  ELEMENT_NAMES[374] = ELT_MMULTISCRIPTS;
+  ELEMENT_NAMES[375] = ELT_SCALARPRODUCT;
+  ELEMENT_NAMES[376] = ELT_VECTORPRODUCT;
+  ELEMENT_NAMES[377] = ELT_ANNOTATION_XML;
+  ELEMENT_NAMES[378] = ELT_DEFINITION_SRC;
+  ELEMENT_NAMES[379] = ELT_FONT_FACE_NAME;
+  ELEMENT_NAMES[380] = ELT_FEGAUSSIANBLUR;
+  ELEMENT_NAMES[381] = ELT_FEDISTANTLIGHT;
+  ELEMENT_NAMES[382] = ELT_LINEARGRADIENT;
+  ELEMENT_NAMES[383] = ELT_NATURALNUMBERS;
+  ELEMENT_NAMES[384] = ELT_RADIALGRADIENT;
+  ELEMENT_NAMES[385] = ELT_ANIMATETRANSFORM;
+  ELEMENT_NAMES[386] = ELT_CARTESIANPRODUCT;
+  ELEMENT_NAMES[387] = ELT_FONT_FACE_FORMAT;
+  ELEMENT_NAMES[388] = ELT_FECONVOLVEMATRIX;
+  ELEMENT_NAMES[389] = ELT_FEDIFFUSELIGHTING;
+  ELEMENT_NAMES[390] = ELT_FEDISPLACEMENTMAP;
+  ELEMENT_NAMES[391] = ELT_FESPECULARLIGHTING;
+  ELEMENT_NAMES[392] = ELT_DOMAINOFAPPLICATION;
+  ELEMENT_NAMES[393] = ELT_FECOMPONENTTRANSFER;
 }
 
 void
 nsHtml5ElementName::releaseStatics()
 {
   delete ELT_NULL_ELEMENT_NAME;
   delete ELT_A;
   delete ELT_B;
@@ -1686,16 +1689,17 @@ nsHtml5ElementName::releaseStatics()
   delete ELT_NOTPRSUBSET;
   delete ELT_PARTIALDIFF;
   delete ELT_ALTGLYPHITEM;
   delete ELT_ANIMATECOLOR;
   delete ELT_DATATEMPLATE;
   delete ELT_EXPONENTIALE;
   delete ELT_FETURBULENCE;
   delete ELT_FEPOINTLIGHT;
+  delete ELT_FEDROPSHADOW;
   delete ELT_FEMORPHOLOGY;
   delete ELT_OUTERPRODUCT;
   delete ELT_ANIMATEMOTION;
   delete ELT_COLOR_PROFILE;
   delete ELT_FONT_FACE_SRC;
   delete ELT_FONT_FACE_URI;
   delete ELT_FOREIGNOBJECT;
   delete ELT_FECOLORMATRIX;
--- a/parser/html/nsHtml5ElementName.h
+++ b/parser/html/nsHtml5ElementName.h
@@ -1,10 +1,10 @@
 /*
- * Copyright (c) 2008-2011 Mozilla Foundation
+ * Copyright (c) 2008-2014 Mozilla Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a 
  * copy of this software and associated documentation files (the "Software"), 
  * to deal in the Software without restriction, including without limitation 
  * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
  * and/or sell copies of the Software, and to permit persons to whom the 
  * Software is furnished to do so, subject to the following conditions:
  *
@@ -437,16 +437,17 @@ class nsHtml5ElementName
     static nsHtml5ElementName* ELT_NOTPRSUBSET;
     static nsHtml5ElementName* ELT_PARTIALDIFF;
     static nsHtml5ElementName* ELT_ALTGLYPHITEM;
     static nsHtml5ElementName* ELT_ANIMATECOLOR;
     static nsHtml5ElementName* ELT_DATATEMPLATE;
     static nsHtml5ElementName* ELT_EXPONENTIALE;
     static nsHtml5ElementName* ELT_FETURBULENCE;
     static nsHtml5ElementName* ELT_FEPOINTLIGHT;
+    static nsHtml5ElementName* ELT_FEDROPSHADOW;
     static nsHtml5ElementName* ELT_FEMORPHOLOGY;
     static nsHtml5ElementName* ELT_OUTERPRODUCT;
     static nsHtml5ElementName* ELT_ANIMATEMOTION;
     static nsHtml5ElementName* ELT_COLOR_PROFILE;
     static nsHtml5ElementName* ELT_FONT_FACE_SRC;
     static nsHtml5ElementName* ELT_FONT_FACE_URI;
     static nsHtml5ElementName* ELT_FOREIGNOBJECT;
     static nsHtml5ElementName* ELT_FECOLORMATRIX;