Lines Matching refs:feature
74 static bool isSVG10Feature(const String &feature)
96 return svgFeatures.contains(feature);
99 static bool isSVG11Feature(const String &feature)
104 // Sadly, we cannot claim to implement any of the SVG 1.1 generic feature sets
169 return svgFeatures.contains(feature);
173 bool DOMImplementation::hasFeature(const String& feature, const String& version)
175 String lower = feature.lower();
194 if ((version.isEmpty() || version == "1.1") && feature.startsWith("http://www.w3.org/tr/svg11/feature#", false)) {
195 if (isSVG11Feature(feature.right(feature.length() - 35)))
199 if ((version.isEmpty() || version == "1.0") && feature.startsWith("org.w3c.", false)) {
200 if (isSVG10Feature(feature.right(feature.length() - 8)))
218 DOMImplementation* DOMImplementation::getInterface(const String& /*feature*/)