<!DOCTYPE html>
<html>
<head>
<style>
/* :scope works as :root in stylesheet. */
:scope { background-color: green }
</style>
</head>
<body>
<p>The background of the document should be green</p>
</body>
</html>
