Wednesday, February 12, 2020

First Public Working Drafts: Resize Observer; CSS Scroll Anchoring Module Level 1

The CSS Working Group has published two First Public Working Drafts today:
  • Resize Observer: This specification describes an API for observing changes to Element’s size.
  • CSS Scroll Anchoring Module Level 1: Changes in DOM elements above the visible region of a scrolling box can result in the page moving while the user is in the middle of consuming the content. This spec proposes a mechanism to mitigate this jarring user experience by keeping track of the position of an anchor node and adjusting the scroll offset accordingly.
CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, etc.

No comments:

Post a Comment