-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styles do not Inherit #2160
Comments
I think the issue is that we implement cascading, but not inheritance. Inheritance is harder :(. |
Cascading isn't working properly if it is implemented. getComputedStyle(element).getAttribute("color") returns |
2 tasks
jcfranco
added a commit
to Esri/calcite-design-system
that referenced
this issue
Sep 8, 2023
**Related Issue:** #6670 ## Summary Adds support module for component responsiveness. ### Notes * Spec test is skipped until the following JSDOM issues are addressed: * jsdom/jsdom#3563 * jsdom/jsdom#2160. * Moves existing custom matchers from the color-picker E2E test to the test utils module for reuse.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basic info:
Minimal reproduction case
How does similar code behave in browsers?
https://jsbin.com/cujumihabe/edit?html,js,console,output
The computed style for the div does not include the inherited color. That's the major issue, the other being that there are a large amount of things left out, and the color would not be translated to an rgb value, but I believe both of those are issues with cssom.
The text was updated successfully, but these errors were encountered: