mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 13:15:06 +00:00

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.
6 lines
126 B
HTML
6 lines
126 B
HTML
<!doctype html><style>
|
|
div {
|
|
color: red;
|
|
color: var(--wat);
|
|
}
|
|
</style><div>This text should be black.
|