You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
otherwise if not specified or none then it is the the scrollingElement of the Document associated with the Window that is the current global object.
Note that 'source' is defaulted to 'none' which is interpreted as document root scroller. This seems like a bad choice to have none mean something. We should probably use 'auto' for this purpose and reserve 'none' for situation where source is null.
The text was updated successfully, but these errors were encountered:
…5263)
Fixing #5202 and #5211
Changes:
- Fix IDL to make source nullable.
- In CSS source will accept 'auto' and 'none' with none mapping to null.
- In JS, we now map missing 'source' to document scrolling element (i.e., auto behavior) and explicitly null 'source' to null.
- Correctly check null source when calculating offsets.
Other minor cleanups.
Here is the wording for source descriptor:
Note that 'source' is defaulted to 'none' which is interpreted as document root scroller. This seems like a bad choice to have none mean something. We should probably use 'auto' for this purpose and reserve 'none' for situation where source is null.
The text was updated successfully, but these errors were encountered: