17 lines
423 B
HTML
17 lines
423 B
HTML
<!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 no variable to inherit from.</title>
|
|
<style>
|
|
p {
|
|
color: red;
|
|
}
|
|
p {
|
|
color: orange;
|
|
--a: revert;
|
|
color: var(--a,green);
|
|
}
|
|
</style>
|
|
</head><body><p>This text must be green.</p>
|
|
</body></html> |