Ongoing technical constraints
None.
Link to entry on the feature dashboard
LGTM
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
LGTM, this sounds very useful!
Will custom properties always inherit to Shadow DOM, so that it will be impossible to use them inside Shadow DOM for internal purposes? If you have a custom property for (say) the padding between elements, it doesn't necessarily mean that the layout would make sense if it's changed from the outside.
On Thu, Mar 12, 2015 at 9:07 PM, Philip Jägenstedt <phi...@opera.com> wrote:LGTM, this sounds very useful!Thanks!Will custom properties always inherit to Shadow DOM, so that it will be impossible to use them inside Shadow DOM for internal purposes? If you have a custom property for (say) the padding between elements, it doesn't necessarily mean that the layout would make sense if it's changed from the outside.You can always locally override them by setting them internally to the expected values. The way the feature is specced, you can define them in a scope, you can explicitly reference a scoped value, or you can reference them with a default value that's used if there's not one defined in the current scope.FYI I'm writing up a brief design doc to make it easier to continue the discussion of the implementation :)
On Thu, Mar 12, 2015 at 9:07 PM, Philip Jägenstedt <phi...@opera.com> wrote:LGTM, this sounds very useful!Thanks!Will custom properties always inherit to Shadow DOM, so that it will be impossible to use them inside Shadow DOM for internal purposes? If you have a custom property for (say) the padding between elements, it doesn't necessarily mean that the layout would make sense if it's changed from the outside.You can always locally override them by setting them internally to the expected values. The way the feature is specced, you can define them in a scope, you can explicitly reference a scoped value, or you can reference them with a default value that's used if there's not one defined in the current scope.FYI I'm writing up a brief design doc to make it easier to continue the discussion of the implementation :)
Work is ongoing and experimental support is in its late stages of review: https://codereview.chromium.org/1192983003
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.