Files
servo/tests/wpt/web-platform-tests/webdriver/element_state/res/display-none-dynamic.html

11 lines
234 B
HTML

<!DOCTYPE html>
<meta charset="utf-8" />
<title>display: none set dynamically</title>
<p id="hidden">Should not be visible</span>
<script>
var hidden = document.getElementById("hidden");
hidden.style.display = "none";
</script>