npillmayer / gotype

some experiments on type in frames, still early draft
Other
5 stars 1 forks source link

Fix CSS Property Value Get: let Styler decide cascading #12

Closed npillmayer closed 4 years ago

npillmayer commented 4 years ago

GetLocalProperty() should be unnecessary, as the styler should be able to decide, which properties have to cascade ?!? (at least it should not be part of the external API, I think. Styler should have knowledge about inheritence-behaviour for each CSS property.

Case in point: DISPLAY property during layout tree construction.

npillmayer commented 4 years ago

Implemented dom.W3CNode.GetComputedStyles().GetPropertyValue(key) => style.Property