@soomo/wicg-inert
Version:
A polyfill for the proposed inert API
27 lines (22 loc) • 645 B
HTML
<!--
This work is licensed under the W3C Software and Document License
(http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document).
-->
<html lang="en">
<head>
<title>nested fixture</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="outer" inert>
<button id="outer-button">Click me</button>
<div id="outer-fake-button" tabindex="0">Click me</div>
<div id="inner" inert>
<button id="inner-button">Click me</button>
<div id="inner-fake-button" tabindex="0">Click me</div>
</div>
</div>
</body>
</html>