W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

[csswg-drafts] [cssom-view] scrollingElement quirksmode description looks wrong... a typo I think? (#5326)

From: deant via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Jul 2020 14:07:40 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-657379503-1594822059-sysbot+gh@w3.org>
deant has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] scrollingElement quirksmode description looks wrong... a typo I think? ==
In the description of what _scrollingElement_ returns when the document is in quirks mode, here:

[CSSOM View Module - scrollingelement](https://drafts.csswg.org/cssom-view/#dom-document-scrollingelement)

It states:

> If the HTML body element exists, and it is **not** potentially scrollable, return the HTML body element and abort these steps.

I think the "not" is incorrect, and should be removed...?
Surely it returns the element if it _is_ scrollable, and null otherwise, and not the other way around?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5326 using your GitHub account
Received on Wednesday, 15 July 2020 14:07:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC