bug: cannot get value of inherited custom CSS prop in a shadow DOM element via E2EElement
APIs
#5681
Closed
3 tasks done
Labels
Bug: Validated
This PR or Issue is verified to be a bug within Stencil
Prerequisites
Stencil Version
4.16.0
Current Behavior
It is not possible to get the value of an inherited custom CSS prop in a shadow DOM
E2EElement
viagetComputedStyle
+getPropertyValue
. This is due to the implementation relying on custom CSS props being exposed on the computed style object.Expected Behavior
For
shadowDomElStyles.getPropertyValue(--some-custom-prop);
to resolve to the custom CSS prop value.System Info
No response
Steps to Reproduce
See README from repro case repo.
Code Reproduction URL
https://github.com/jcfranco/stencil-e2eelement-getComputedStyle-result-is-missing-custom-css-props
Additional Information
No response
The text was updated successfully, but these errors were encountered: