1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibWeb: Plumb calculated StyleValues into CSS::Length

This is a bit hackish, but this way the existance of the calc()
becomes transparent to the user who just wants a Length and doesn't
care where it came from.
This commit is contained in:
Tobias Christiansen 2021-06-12 00:03:15 +02:00 committed by Ali Mohammad Pur
parent 328afa32c6
commit 20667dfff5
4 changed files with 20 additions and 1 deletions

View file

@ -14,6 +14,7 @@ enum class Source;
}
namespace Web::CSS {
class CalculatedStyleValue;
class CSSRule;
class CSSImportRule;
class CSSStyleDeclaration;