diff options
Diffstat (limited to 'Tests/LibWeb/Layout/input')
-rw-r--r-- | Tests/LibWeb/Layout/input/lh-1.html | 23 | ||||
-rw-r--r-- | Tests/LibWeb/Layout/input/lh-2.html | 22 |
2 files changed, 45 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/lh-1.html b/Tests/LibWeb/Layout/input/lh-1.html new file mode 100644 index 0000000000..a1af79c08c --- /dev/null +++ b/Tests/LibWeb/Layout/input/lh-1.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<head><style> +* { + font-family: SerenitySans; +} +:root { + font-size: 20px; + line-height: 2; +} +#a { + background-color: red; + width: 100px; + height: 100px; +} +#b { + background-color: green; + font-size: 50px; + line-height: 100%; + width: 2lh; + height: 2.5rlh; +} +</style> +<body><div id="a"><div id="b"> diff --git a/Tests/LibWeb/Layout/input/lh-2.html b/Tests/LibWeb/Layout/input/lh-2.html new file mode 100644 index 0000000000..b6eb3c0af0 --- /dev/null +++ b/Tests/LibWeb/Layout/input/lh-2.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<head><style> +* { + font-family: SerenitySans; +} +:root { + font-size: 20px; + line-height: 2; +} +#a { + background-color: red; + width: 100px; + height: 100px; +} +#b { + background-color: green; + line-height: 50px; + width: 2lh; + height: 2.5rlh; +} +</style> +<body><div id="a"><div id="b"> |