blob: bc8eeda50a8b3734a61c8b0e72766c931cf94ebd [file] [log] [blame]
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
--><html><head><title>CSS Test: Test declaring a variable whose value is "revert" where there is a variable to inherit from.</title>
<style>
body {
--a: green;
color: crimson;
}
p {
color: red;
}
p {
color: orange;
--a: revert;
color: var(--a);
}
</style>
</head><body><p>This text must be green.</p>
</body></html>