colors-test.html 368 Bytes
Newer Older
1 2 3
<script>
internals.settings.setCSSVariablesEnabled(true);
</script>
4 5 6 7 8 9 10 11 12 13
<style>
body {
    -webkit-var-foreground: green;
    -webkit-var-background: rgb(255, 255, 255);
    color: -webkit-var(foreground);
    background-color: red;
    background-color: -webkit-var(background);
}
</style>
This text should be green on a white background. There should be no red visible.