gecko-dev/testing/web-platform/tests/infrastructure/reftest/reftest.https.html

9 строки
205 B
HTML

<link rel=match href=green.html>
<style>
:root {background-color:red}
</style>
<script>
if (window.location.protocol === "https:") {
document.documentElement.style.backgroundColor = "green";
}
</script>