DescriptionDevTools: simplify WI.CSSProperty and WI.CSSStyleDeclaration interfaces
This patch reduces interfaces of WI.CSSProperty and WI.CSSStyleDeclaration
classes.
The patch removes:
- remove style.getLiveProperty() method and the whole notion of "live"
properties
- removes tripple state defined via property.active()/property.inactive()
flags. (The state was tripple as !property.active() !== property.inactive()).
- style.shorthandValue/style.shorthandIsImportant public methods
- removes property.styleBased() property
The patch adds:
- property.activeInStyle() method which defines if the current property
has any effect in style.
- style.leadingProperties() method which computes those properties
which should be displayed in StylesSidebarPane.
BUG=496263
R=pfeldman
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201104
Patch Set 1 #
Total comments: 9
Patch Set 2 : address comments #Patch Set 3 : fix test #
Total comments: 1
Depends on Patchset: Messages
Total messages: 10 (3 generated)
|