_good_enough(dom, features) -> Return 1 if the dom offers the features
(dom, features)
| 30 | registered[name] = factory |
| 31 | |
| 32 | def _good_enough(dom, features): |
| 33 | "_good_enough(dom, features) -> Return 1 if the dom offers the features" |
| 34 | for f,v in features: |
| 35 | if not dom.hasFeature(f,v): |
| 36 | return 0 |
| 37 | return 1 |
| 38 | |
| 39 | def getDOMImplementation(name=None, features=()): |
| 40 | """getDOMImplementation(name = None, features = ()) -> DOM implementation. |
no test coverage detected
searching dependent graphs…