Skip to content
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

New feature: CSS Typed Object Model (CSS Typed OM) #4164

Open
branneman opened this issue Apr 4, 2018 · 3 comments
Open

New feature: CSS Typed Object Model (CSS Typed OM) #4164

branneman opened this issue Apr 4, 2018 · 3 comments

Comments

@branneman
Copy link
Contributor

Specification: https://drafts.css-houdini.org/css-typed-om/
Polyfill: https://github.com/jonathantneal/css-typed-om

Browser Support:

  • Chrome 66: Partial support

I found out about this feature through the Google Developers article Working with the new CSS Typed Object Model.

@woutervanvliet
Copy link

This has now landed in Chrome 66, would be nice to see it on caniuse.com

Until then, we have: https://ishoudinireadyyet.com/ (https://github.com/surma/ishoudinireadyyet.com)

@Schweinepriester
Copy link
Contributor

Safari TP 145 https://webkit.org/blog/12629/release-notes-for-safari-technology-preview-145/:

Added CSSOM support (r292045)

=>

Implemented units for CSS Typed OM (r292150)

@Schweinepriester
Copy link
Contributor

https://webkit.org/blog/13686/release-notes-for-safari-technology-preview-161/:

CSS Typed OM

  • Enabled CSS Typed OM (258269@main)
  • Allowed setting custom identifiers via the CSS Typed OM API (257859@main)
  • Made transition-duration property not allow negative values (258295@main)
  • Made sure the z-index property is able to be set to -3.14 (258265@main)
  • Made sure column-count value gets clamped to [1, inf] (258218@main)
  • Made sure orphans and widows value gets clamped to [1, inf] (258243@main)
  • Made StylePropertyMap return CSS values exactly as they were set (257815@main)
  • Made StylePropertyMap.set() wrap a value in a calc() if the value is outside the allowed range (257485@main)
  • Made StylePropertyMap.set() throw when trying to set a number for a property which doesn't allow it (258242@main)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants