Re: [mediacapture-screen-share-extensions] Tab capture control (#13)

> captureWheel(HTMLMediaElement e) is probably not right. captureWheel(HTMLMediaElement? e) might be better to allow unsetting (seems like a MUST have). 

That is an error in the spec, it is indeed intended to be nullable and passing null stops the forwarding.
However, the spec allows `HTMLElement?`, not just `HTMLMediaElement?`. The rationale is that developers have expressed that supporting a div that internally contains the media element and other things is important. Due to the use of complex libraries being able to support divs has been a requirement.
Perhaps we can require that the element we use for forwarding has a descendant media element.

-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share-extensions/issues/13#issuecomment-2422760408 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 18 October 2024 15:43:34 UTC