mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
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:
committed by
Jelle Raaijmakers
parent
2b65e86ec7
commit
ec9d67ae17
Notes:
github-actions[bot]
2024-10-29 15:06:19 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/ec9d67ae17b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2037 Reviewed-by: https://github.com/gmta ✅
@@ -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))",
|
||||
|
||||
Reference in New Issue
Block a user