serenity/Tests/LibWeb/Ref/css-invalid-var-ref.html
Sam Atkins 240ec9aeed LibWeb: Treat invalid StyleValues that included var() as unset
This means StyleComputer::resolve_unresolved_style_value() always
returns a value, so we can change its return type.

However, it does still return an UnresolvedStyleValue sometimes, so we
can't remove those checks from the user code.
2023-08-26 15:33:45 +01:00

6 lines
101 B
HTML

<!doctype html><style>
div {
color: black;
}
</style><div>This text should be black.