Home | History | Annotate | Download | only in dom

Lines Matching refs:feature

75 static bool isSVG10Feature(const String &feature)
97 return svgFeatures.contains(feature);
100 static bool isSVG11Feature(const String &feature)
105 // Sadly, we cannot claim to implement any of the SVG 1.1 generic feature sets
170 return svgFeatures.contains(feature);
180 bool DOMImplementation::hasFeature(const String& feature, const String& version)
182 String lower = feature.lower();
201 if ((version.isEmpty() || version == "1.1") && feature.startsWith("http://www.w3.org/tr/svg11/feature#", false)) {
202 if (isSVG11Feature(feature.right(feature.length() - 35)))
206 if ((version.isEmpty() || version == "1.0") && feature.startsWith("org.w3c.", false)) {
207 if (isSVG10Feature(feature.right(feature.length() - 8)))
225 DOMImplementation* DOMImplementation::getInterface(const String& /*feature*/)