Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-contain/content-visibility/meter-selection-crash.html - WPT Dashboard Interop Dashboard
<!doctype HTML>
<link rel=author href="mailto:vmpstr@chromium.org">
<meta name="assert" content="meter, iframe, and selection API should not crash">
<style>
* {
all: initial;
content-visibility: hidden;
}
</style>
<meter></meter><iframe id="frame"></iframe>
<script>
function runTest() {
var range_beadc = window.getSelection();
var elem1 = document.getElementById("frame");
range_beadc.setBaseAndExtent(elem1, 0, document.getElementById("none"), 0);
}
onload = runTest;
</script>