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

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants