[Webkit-unassigned] [Bug 239610] [model] How can we query availability of <model> reliably?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 22 02:54:18 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239610

--- Comment #1 from Antoine Quint <graouts at webkit.org> ---
I believe this does the trick:

function supportsModel () {
    return "HTMLModelElement" in window;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220422/3eaa7378/attachment-0001.htm>


More information about the webkit-unassigned mailing list