Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

will-change: update browser support #330

Merged
merged 1 commit into from
Aug 17, 2015

Conversation

paulirish
Copy link
Contributor

webkit started implementing, so time for a refresher. (i'll go update MDN too)


Also, unrelated… but I wanted to tell someone.. here's Chrome's behavior for custom-ident's…

will-change values that trigger a compositing layer in Chrome:

  • opacity
  • transform, -webkit-transform
  • top, left, bottom, right

source: ComputedStyle::hasWillChangeCompositingHint()

will-change values that trigger a stacking context in chrome

  • opacity
  • transform, -webkit-transform
  • transform-style, -webkit-transform-style
  • perspective, -webkit-perspective
  • -webkit-mask, -webkit-mask-box-image, -webkit-clip-path, -webkit-box-reflect, -webkit-filter
  • z-index
  • position

source: hasWillChangeThatCreatesStackingContext

also

  • AFAICT, scroll-position does nothing in Chrome currently.
  • contents appears to be a compositing layer hint for whatever children are being changed.

@paulirish
Copy link
Contributor Author

cc @aerotwist for the FYI

@paullewis
Copy link

Handy. Thanks!

@pepelsbey
Copy link
Contributor

@paulirish, thank you! Merging and deploying now.

@danieltroger
Copy link

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

Successfully merging this pull request may close these issues.

4 participants