Lines Matching refs:key
78 for key, value in attribute.items():
79 if key == 'preserveAspectRatio':
82 node.set(key, str(value))
84 if node.get(key):
85 del node.attrib[key]
86 elif key == 'image-rendering':
88 if key not in node_style:
91 node.set(key, str(value))
93 if node.get(key):
94 del node.attrib[key]
98 node_style[key] = str(value)
100 del node_style[key]