New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ResizeObserver] The initial value of the last reported size should be -1x-1 #8839
Conversation
EWS run on previous version of this PR (hash ac99702) |
The commit message seems wrong. The bug for this is https://bugs.webkit.org/show_bug.cgi?id=250836 instead of https://bugs.webkit.org/show_bug.cgi?id=157743 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if you fix the commit message
Ah, indeed! Fixed, thanks a lot! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You edited the comment, but the commit was not updated. I suspect this won't do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess observe-disconnected-target-crash.html fails because you need something like 1a04d71
I will try to upload a new commit, see if it works:) |
Thanks, I'll take a look |
β¦e -1x-1 https://bugs.webkit.org/show_bug.cgi?id=250836 Reviewed by NOBODY (OOPS!). The conclusion of [1] indicates that when first observing an element with ResizeObserver, lastReportedSize gets initialized with a -1 x -1 size. [1] w3c/csswg-drafts#3664 * LayoutTests/imported/w3c/web-platform-tests/resize-observer/notify-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/resize-observer/observe-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/resize-observer/svg-expected.txt: * LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/resize-observer/notify-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/resize-observer/notify-expected.txt. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/resize-observer/svg-expected.txt: * Source/WebCore/page/ResizeObservation.cpp:
ac99702
to
91f24ff
Compare
EWS run on current version of this PR (hash 91f24ff) |
91f24ff
91f24ff