summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/ComputedValues.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-03-30 16:57:49 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-30 21:29:50 +0200
commitfa90a3bb4fc3e4a8a0caa0b80a7ac87765ab67f9 (patch)
tree2d6acd146dcc1107c56d6a28d2da6d69ddde1f3b /Userland/Libraries/LibWeb/CSS/ComputedValues.h
parentb727f8113f9280e64e18dcbb0ed2921b19e51083 (diff)
downloadserenity-fa90a3bb4fc3e4a8a0caa0b80a7ac87765ab67f9.zip
LibWeb: Introduce CalculatedOr type
This is intended as a replacement for Length and friends each holding a `RefPtr<CalculatedStyleValue>`. Instead, let's make the types explicit about whether they are calculated or not. This then means a Length is always a Length, and won't require including `StyleValue.h`. As noted, it's probably nicer for LengthOrCalculated to live in `Length.h`, but we can't do that until Length stops including `StyleValue.h`.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/ComputedValues.h')
0 files changed, 0 insertions, 0 deletions