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
{{ message }}
Repository navigation
[css-position-4] redundant document argument for top layer manipulation algorithms #8849
This sections contains algorithms like "add an element to the top layer, given a Document doc and an Element el". The call sites for these in whatwg/fullscreen#223 and whatwg/html#9093 always pass in the element's node document as the first argument. In HTML there is a document variable handy so the invocation looks OK, but in Fullscreen we'll have invocations like this:
Request removal from the top layer given element's node document and element
By having only element as the argument, the call sites will be simpler, and there's no question about whether the document can be some other document.
Activity
josepharhar commentedon May 17, 2023
I am ok with removing the document parameter. Anne pointed this out in the HTML PR here: whatwg/html#9093 (comment)
[css-position-4] No need for an explicit doc argument, element nodes …