CSSOM – getComputedStyle, CSSStyleDeclaration, CSS Rule API #120
Labels
No labels
bug
docs
feature
housekeeping
html-spec
performance
react-compat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
glow-all/true-headless-browser#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gap
Aktuell gibt getComputedStyle() ein leeres Objekt zurueck und CSSStyleSheet.insertRule() ist noop. Fuer korrektes Rendering (ohne Pixel) brauchen wir eine funktionale CSSOM.
Was wir brauchen
1. getComputedStyle(element, pseudoElement)
2. CSSStyleDeclaration (vollstaendig)
Aktuell haben wir einen Proxy. Brauchen:
3. CSSStyleSheet
4. CSSRule types
5. matchMedia(mediaQueryString)
Aktuell: return true/false je nach query. Brauchen:
6. Style Sheet API auf Document
Labels
feature, html-spec
Architektur
Tests