Menu

gitpiper

Layout thrashing Cheat Sheet in April 2024

Last Updated: 7 April 2024

README.md

Layout thrashing

{: .-one-column}

Things that cause invalidation

Element

  • clientHeight
  • clientLeft
  • clientTop
  • clientWidth
  • focus
  • getBoundingClientRect
  • getClientRects
  • innerText
  • offsetHeight
  • offsetLeft
  • offsetParent
  • offsetTop
  • offsetWidth
  • outerText
  • scrollByLines
  • scrollByPages
  • scrollHeight
  • scrollIntoView
  • scrollIntoViewIfNeeded
  • scrollLeft
  • scrollTop
  • scrollWidth
    {: .-six-column}

MouseEvent

  • layerX
  • layerY
  • offsetX
  • offsetY
    {: .-six-column}

Window

  • getComputedStyle
  • scrollBy
  • scrollTo
  • scrollX
  • scrollY
    {: .-six-column}

Frame, Document & Image

  • height
  • width
    {: .-six-column}

jQuery

  • $.fn.offset
  • $.fn.offsetParent
  • $.fn.position
  • $.fn.scrollLeft
  • $.fn.scrollTop
  • $.fn.css(‘…’)
  • $.fn.text(‘…’)
  • $(‘:hidden’)
  • $(‘:contains’)
    {: .-six-column}

Also see


338+ more cheat sheets for you in April 2024

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️

© 2024 GitPiper. All rights reserved

Rackpiper Technology Inc

Company

About UsBlogContact

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️