Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8" />
<link rel="author" href="mailto:masonf@chromium.org">
<button>Button</button>
<button>Button</button>
<button id=hasinterest>Button</button>
<button class=otherselector>Button</button>
<button class=otherselector>Button</button>
<div popover id=target>Target</div>
<style>
#hasinterest {
background-color: purple;
}
.otherselector {
background-color: green;
}
#target {
background-color: yellow;
inset:auto;
top:50px;
left:0;
}
</style>
<script>
target.showPopover();
hasinterest.focus();
</script>