Skip to content

Upstream ResizeObserver update the rendering fixup. - #8348

Merged
domenic merged 2 commits into
whatwg:mainfrom
emilio:rendering
Oct 4, 2022
Merged

domenic merged 2 commits into
whatwg:mainfrom
emilio:rendering

Conversation

@emilio

@emilio emilio commented Oct 2, 2022 •

Copy link
Copy Markdown
Contributor

@emilio
emilio requested review from annevk and domenic October 2, 2022 17:29

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good, with a few small fixes I pushed.

Before we merge, could we update the resize observe spec to rename some of their algorithms to include "resize" in the name? I'm thinking in general replace "observations" with "resize observations".

A bonus if you make "deliver resize loop error" take a document and properly take a document and fire an ErrorEvent directly, instead of using "report an exception" which is only meant to be used for exceptions coming from scripts.

emilio added a commit to emilio/csswg-drafts that referenced this pull request Oct 3, 2022
emilio added a commit to w3c/csswg-drafts that referenced this pull request Oct 3, 2022
@emilio

emilio commented Oct 3, 2022

Copy link
Copy Markdown
Contributor Author

Thanks for the fix-ups @domenic! I made the suggested naming changes to the resize observer spec and updated the PR in accordance.

Fixes whatwg#8277. This matches Blink and Gecko.

Co-authored-by: Domenic Denicola <[email protected]>
@domenic
domenic merged commit e43abf1 into whatwg:main Oct 4, 2022
@domenic domenic added topic: rendering How elements are expected to render: the user agent style sheet integration Better coordination across standards needed labels Oct 4, 2022
@domenic

domenic commented Oct 4, 2022

Copy link
Copy Markdown
Member

Excellent! Please remove https://w3c.github.io/csswg-drafts/resize-observer-1/#integrations when you can (or maybe replace it with a link to the new "update the rendering") so that we have one source of truth. So glad to see this upstreaming finally done!

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

Labels

integration Better coordination across standards needed topic: rendering How elements are expected to render: the user agent style sheet

Development

Successfully merging this pull request may close these issues.

Intersection observer and mark paint timing steps should run after (or during) "update the rendering", not before.

2 participants