Tests: Add filter and backdrop-filter to calc() coverage test

Neither of these currently work correctly. This is just so we keep track
of them.
This commit is contained in:
Sam Atkins
2024-10-29 14:00:50 +00:00
committed by Jelle Raaijmakers
parent 2b65e86ec7
commit ec9d67ae17
Notes: github-actions[bot] 2024-10-29 15:06:19 +00:00
2 changed files with 21 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- Many of these are currently wrong. See https://github.com/LadybirdBrowser/ladybird/issues/1812 -->
<style>
:root {
--n: 2;
@@ -21,6 +22,12 @@
"calc(2)",
"calc(2 * var(--n))",
],
"backdrop-filter": [
"grayscale(calc(2%))",
"grayscale(calc(2% * var(--n)))",
"grayscale(calc(0.02))",
"grayscale(calc(0.02 * var(--n)))",
],
"background-position-x": [
"calc(2px)",
"calc(2px * var(--n))",
@@ -109,6 +116,12 @@
"calc(2)",
"calc(2 * var(--n))",
],
"filter": [
"grayscale(calc(2%))",
"grayscale(calc(2% * var(--n)))",
"grayscale(calc(0.02))",
"grayscale(calc(0.02 * var(--n)))",
],
"flex-basis": [
"calc(2px)",
"calc(2px * var(--n))",