-
-
Couldn't load subscription status.
- Fork 3.3k
script: Return None for offsetParent on root <html> and all <body> elements
#39397
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
Conversation
We were returning null for all `<html>` elements, but now we will check for the root element instead. We were also returning null for "the body element", now we will return null for all `<body>` elements even if they aren't "the body element". Co-authored-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Oriol Brufau <obrufau@igalia.com>
|
🔨 Triggering try run (#17861696254) for Linux (WPT) |
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#54951) with upstreamable changes. |
|
Test results for linux-wpt from try job (#17861696254): Flaky unexpected result (26)
Stable unexpected results that are known to be intermittent (23)
|
|
✨ Try run (#17861696254) succeeded. |
offsetParent on <html> and <body> elementsNone for offsetParent on root <html> and all <body>` elements
None for offsetParent on root <html> and all <body>` elementsNone for offsetParent on root <html> and all <body> elements
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#54951) title and body. |
1 similar comment
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#54951) title and body. |
We were returning null for all
<html>elements, but now we will check for the root element instead.We were also returning null for "the body element", now we will return null for all
<body>elements even if they aren't "the body element". This part diverges from the spec, but matches what all browsers do. w3c/csswg-drafts#12834Testing: Adding new test
Fixes: #10521