From b62a0d3dd74b1c0278a646dbfb141bd4487d612d Mon Sep 17 00:00:00 2001 From: Daniil Sakhapov Date: Fri, 5 Jul 2024 07:24:20 -0700 Subject: [PATCH] Replace calls to GetDoubleValue for Media Queries parsing Bug: 40946458 Change-Id: I59020d16a477edba85f9ded8caef6c58a9b13c2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5666802 Reviewed-by: Anders Hartvoll Ruud Commit-Queue: Daniil Sakhapov Cr-Commit-Position: refs/heads/main@{#1323686} --- .../mq-calc-sign-function-001.html | 22 +++++++++++++++++++ .../mq-calc-sign-function-002.html | 21 ++++++++++++++++++ .../mq-calc-sign-function-003.html | 21 ++++++++++++++++++ .../mq-calc-sign-function-004.html | 21 ++++++++++++++++++ .../mq-calc-sign-function-005.html | 21 ++++++++++++++++++ .../mq-calc-sign-function-006.html | 21 ++++++++++++++++++ 6 files changed, 127 insertions(+) create mode 100644 css/mediaqueries/mq-calc-sign-function-001.html create mode 100644 css/mediaqueries/mq-calc-sign-function-002.html create mode 100644 css/mediaqueries/mq-calc-sign-function-003.html create mode 100644 css/mediaqueries/mq-calc-sign-function-004.html create mode 100644 css/mediaqueries/mq-calc-sign-function-005.html create mode 100644 css/mediaqueries/mq-calc-sign-function-006.html diff --git a/css/mediaqueries/mq-calc-sign-function-001.html b/css/mediaqueries/mq-calc-sign-function-001.html new file mode 100644 index 00000000000000..96c3853136253f --- /dev/null +++ b/css/mediaqueries/mq-calc-sign-function-001.html @@ -0,0 +1,22 @@ + +Test: support for calc with sign() in Media Queries + + + + + + +

Test passes if there is a filled green square and no red.

+
\ No newline at end of file diff --git a/css/mediaqueries/mq-calc-sign-function-002.html b/css/mediaqueries/mq-calc-sign-function-002.html new file mode 100644 index 00000000000000..31ff421ea2a221 --- /dev/null +++ b/css/mediaqueries/mq-calc-sign-function-002.html @@ -0,0 +1,21 @@ + +Test: support for calc with sign() in Media Queries + + + + + +

Test passes if there is a filled green square and no red.

+
\ No newline at end of file diff --git a/css/mediaqueries/mq-calc-sign-function-003.html b/css/mediaqueries/mq-calc-sign-function-003.html new file mode 100644 index 00000000000000..423948f722d85a --- /dev/null +++ b/css/mediaqueries/mq-calc-sign-function-003.html @@ -0,0 +1,21 @@ + +Test: support for calc with sign() in Media Queries + + + + + +

Test passes if there is a filled green square and no red.

+
\ No newline at end of file diff --git a/css/mediaqueries/mq-calc-sign-function-004.html b/css/mediaqueries/mq-calc-sign-function-004.html new file mode 100644 index 00000000000000..219f0c152721bc --- /dev/null +++ b/css/mediaqueries/mq-calc-sign-function-004.html @@ -0,0 +1,21 @@ + +Test: support for calc with sign() in Media Queries + + + + + +

Test passes if there is a filled green square and no red.

+
\ No newline at end of file diff --git a/css/mediaqueries/mq-calc-sign-function-005.html b/css/mediaqueries/mq-calc-sign-function-005.html new file mode 100644 index 00000000000000..ca5fecb338bb5e --- /dev/null +++ b/css/mediaqueries/mq-calc-sign-function-005.html @@ -0,0 +1,21 @@ + +Test: support for calc with sign() in Media Queries + + + + + +

Test passes if there is a filled green square and no red.

+
\ No newline at end of file diff --git a/css/mediaqueries/mq-calc-sign-function-006.html b/css/mediaqueries/mq-calc-sign-function-006.html new file mode 100644 index 00000000000000..239748d205f270 --- /dev/null +++ b/css/mediaqueries/mq-calc-sign-function-006.html @@ -0,0 +1,21 @@ + +Test: support for calc with sign() in Media Queries + + + + + +

Test passes if there is a filled green square and no red.

+
\ No newline at end of file