Bug 484176 - Support allowReorder for switch. r=jwatt,sr=roc

This commit is contained in:
Robert Longson
2009-05-07 20:37:33 +01:00
parent 4da3bac7bf
commit e6855fdf6b
11 changed files with 420 additions and 112 deletions

View File

@@ -153,7 +153,7 @@
#include "nsICSSParser.h"
#ifdef MOZ_SVG
PRBool NS_SVG_HaveFeature(const nsAString &aFeature);
#include "nsSVGFeatures.h"
#endif /* MOZ_SVG */
#ifdef DEBUG_waterson
@@ -1917,7 +1917,7 @@ nsGenericElement::InternalIsSupported(nsISupports* aObject,
#ifdef MOZ_SVG
else if (PL_strcasecmp(f, "SVGEvents") == 0 ||
PL_strcasecmp(f, "SVGZoomEvents") == 0 ||
NS_SVG_HaveFeature(aFeature)) {
nsSVGFeatures::HaveFeature(aFeature)) {
if (aVersion.IsEmpty() ||
PL_strcmp(v, "1.0") == 0 ||
PL_strcmp(v, "1.1") == 0) {