remove attributes in Style that were mapping directly to JS API

This commit is contained in:
Fabio Pliger
2023-08-25 17:59:40 -05:00
parent 6f516ed4d1
commit b1aa4d345b

View File

@@ -215,8 +215,6 @@ class StyleProxy(dict):
# CSS Properties
# Reference: https://github.com/microsoft/TypeScript/blob/main/src/lib/dom.generated.d.ts#L3799C1-L5005C2
# Following prperties automatically generated from the above reference using
# tools/codegen_css_proxy.py
@property
def visibility(self):
return self._element._element.style.visibility
@@ -241,14 +239,6 @@ class StyleProxy(dict):
def color(self, value):
self._element._element.style.color = value
@property
def backgroundColor(self):
return self._element._element.style.backgroundColor
@backgroundColor.setter
def backgroundColor(self, value):
self._element._element.style.backgroundColor = value
class StyleCollection:
def __init__(self, collection: "ElementCollection") -> None: