mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibWeb: Implement relative lengths in media queries :^)
As noted, this is not entirely right, since we are using the computed font's metrics instead of the initial font's metrics, but we do not have a good way to obtain the latter.
This commit is contained in:
parent
50cc008efd
commit
d2ade9800f
2 changed files with 25 additions and 14 deletions
|
@ -135,7 +135,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
static bool compare(MediaFeatureValue left, Comparison comparison, MediaFeatureValue right);
|
||||
static bool compare(DOM::Window const& window, MediaFeatureValue left, Comparison comparison, MediaFeatureValue right);
|
||||
|
||||
struct Range {
|
||||
MediaFeatureValue left_value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue