Home | History | Annotate | Download | only in dom

Lines Matching refs:features

30 def _good_enough(dom, features):
31 "_good_enough(dom, features) -> Return 1 if the dom offers the features"
32 for f,v in features:
37 def getDOMImplementation(name=None, features=()):
38 """getDOMImplementation(name = None, features = ()) -> DOM implementation.
47 be found, raise an ImportError. The features list must be a sequence
62 # order, returning the one that has the required features
63 if isinstance(features, str):
64 features = _parse_feature_string(features)
67 if _good_enough(dom, features):
75 if _good_enough(dom, features):
81 features = []
96 features.append((feature, version))
97 return tuple(features)