</script>
<script src="../../../css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
tests = [
    ["hsl(120 30% 50%)", "rgb(89, 166, 89)"],
    ["hsl(120 30% 50% / 0.5)", "rgba(89, 166, 89, 0.5)"],
    ["hsl(none none none)", "rgb(0, 0, 0)"],
    ["hsl(0 0% 0%)", "rgb(0, 0, 0)"],
    ["hsl(none none none / none)", "rgba(0, 0, 0, 0)"],
    ["hsl(0 0% 0% / 0)", "rgba(0, 0, 0, 0)"],
    ["hsla(none none none)", "rgb(0, 0, 0)"],
    ["hsla(0 0% 0%)", "rgb(0, 0, 0)"],
    ["hsla(none none none /