From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-values/calc-letter-spacing.html | 4 +- .../css/css-values/calc-rounding-001-ref.html | 33 ++++++++ .../tests/css/css-values/calc-rounding-001.html | 8 +- .../css/css-values/calc-rounding-002-ref.html | 38 +++++++++ .../tests/css/css-values/calc-rounding-002.html | 43 ++++++++++ .../calc-size-height-interpolation.tentative.html | 95 ++++++++++++++++++++++ .../calc-size-width-interpolation.tentative.html | 27 ++++-- .../calc-size/calc-size-height.tentative.html | 64 +++++++++++++++ .../calc-size/calc-size-parsing.tentative.html | 17 +++- .../calc-size/calc-size-width.tentative.html | 5 +- .../css/css-values/minmax-length-invalid.html | 4 +- .../tests/css/css-values/round-function.html | 10 +++ .../css/css-values/round-mod-rem-invalid.html | 2 +- ...viewport-units-scrollbars-auto-ltr-001-ref.html | 33 ++++++++ .../viewport-units-scrollbars-auto-vhw-001.html | 29 +++++++ ...port-units-scrollbars-scroll-blank-001-ref.html | 13 +++ ...ewport-units-scrollbars-scroll-ltr-001-ref.html | 22 +++++ .../viewport-units-scrollbars-scroll-vhw-001.html | 28 +++++++ 18 files changed, 452 insertions(+), 23 deletions(-) create mode 100644 testing/web-platform/tests/css/css-values/calc-rounding-001-ref.html create mode 100644 testing/web-platform/tests/css/css-values/calc-rounding-002-ref.html create mode 100644 testing/web-platform/tests/css/css-values/calc-rounding-002.html create mode 100644 testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-height-interpolation.tentative.html create mode 100644 testing/web-platform/tests/css/css-values/calc-size/calc-size-height.tentative.html create mode 100644 testing/web-platform/tests/css/css-values/viewport-units-scrollbars-auto-ltr-001-ref.html create mode 100644 testing/web-platform/tests/css/css-values/viewport-units-scrollbars-auto-vhw-001.html create mode 100644 testing/web-platform/tests/css/css-values/viewport-units-scrollbars-scroll-blank-001-ref.html create mode 100644 testing/web-platform/tests/css/css-values/viewport-units-scrollbars-scroll-ltr-001-ref.html create mode 100644 testing/web-platform/tests/css/css-values/viewport-units-scrollbars-scroll-vhw-001.html (limited to 'testing/web-platform/tests/css/css-values') diff --git a/testing/web-platform/tests/css/css-values/calc-letter-spacing.html b/testing/web-platform/tests/css/css-values/calc-letter-spacing.html index 444785ba14..4db3b01220 100644 --- a/testing/web-platform/tests/css/css-values/calc-letter-spacing.html +++ b/testing/web-platform/tests/css/css-values/calc-letter-spacing.html @@ -39,7 +39,7 @@ https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793 elemTarget.style.setProperty(property_name, initial_value); /* - In exactly 5 out of the 6 sub-tests, the initial_value will + In exactly 4 out of the 6 sub-tests, the initial_value will act as a fallback value because the calc() function in the specified value generates an invalid value. Since we are running 6 consecutive tests on the same element, then @@ -60,7 +60,7 @@ https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793 verifyComputedStyle("letter-spacing", "20px", "calc(1 + 100%)", "20px", "testing letter-spacing: calc(1 + 100%)"); - verifyComputedStyle("letter-spacing", "20px", "calc(100%)", "20px", "testing letter-spacing: calc(100%)"); + verifyComputedStyle("letter-spacing", "20px", "calc(100%)", "100%", "testing letter-spacing: calc(100%)"); verifyComputedStyle("letter-spacing", "20px", "calc(10px) bla", "20px", "testing letter-spacing: calc(10px) bla"); diff --git a/testing/web-platform/tests/css/css-values/calc-rounding-001-ref.html b/testing/web-platform/tests/css/css-values/calc-rounding-001-ref.html new file mode 100644 index 0000000000..476e337505 --- /dev/null +++ b/testing/web-platform/tests/css/css-values/calc-rounding-001-ref.html @@ -0,0 +1,33 @@ + + + +CSS Test Reference + +
diff --git a/testing/web-platform/tests/css/css-values/calc-rounding-001.html b/testing/web-platform/tests/css/css-values/calc-rounding-001.html index dfd03a6953..46ea2ebc04 100644 --- a/testing/web-platform/tests/css/css-values/calc-rounding-001.html +++ b/testing/web-platform/tests/css/css-values/calc-rounding-001.html @@ -9,8 +9,7 @@ - - +
- diff --git a/testing/web-platform/tests/css/css-values/calc-rounding-002-ref.html b/testing/web-platform/tests/css/css-values/calc-rounding-002-ref.html new file mode 100644 index 0000000000..a2e9fd0d18 --- /dev/null +++ b/testing/web-platform/tests/css/css-values/calc-rounding-002-ref.html @@ -0,0 +1,38 @@ + + +CSS Test Reference + +

iiiiiiiiiiiii

+

iiiiiiiiiiiiii

+

iiiiiiiiiiiiiii

diff --git a/testing/web-platform/tests/css/css-values/calc-rounding-002.html b/testing/web-platform/tests/css/css-values/calc-rounding-002.html new file mode 100644 index 0000000000..32c4a75dd8 --- /dev/null +++ b/testing/web-platform/tests/css/css-values/calc-rounding-002.html @@ -0,0 +1,43 @@ + + + + + + + + +

iiiiiiiiiiiii

+

iiiiiiiiiiiiii

+

iiiiiiiiiiiiiii

diff --git a/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-height-interpolation.tentative.html b/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-height-interpolation.tentative.html new file mode 100644 index 0000000000..04c44d0904 --- /dev/null +++ b/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-height-interpolation.tentative.html @@ -0,0 +1,95 @@ + + +height: calc-size() animations + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-width-interpolation.tentative.html b/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-width-interpolation.tentative.html index 7254951db3..b8b24935c3 100644 --- a/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-width-interpolation.tentative.html +++ b/testing/web-platform/tests/css/css-values/calc-size/animation/calc-size-width-interpolation.tentative.html @@ -1,8 +1,7 @@ width: calc-size() animations - - + @@ -26,6 +25,20 @@ + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-values/calc-size/calc-size-parsing.tentative.html b/testing/web-platform/tests/css/css-values/calc-size/calc-size-parsing.tentative.html index fec24aaed1..e51247c872 100644 --- a/testing/web-platform/tests/css/css-values/calc-size/calc-size-parsing.tentative.html +++ b/testing/web-platform/tests/css/css-values/calc-size/calc-size-parsing.tentative.html @@ -1,13 +1,26 @@ calc-size() expressions - - + @@ -44,6 +43,8 @@ document.fonts.ready.then(()=> { { value: "calc-size(calc-size(2in, 30px), 15em)", expected: "300px" }, { value: "calc-size(calc-size(min-content, 30px), 15em)", expected: "300px" }, { value: "calc-size(calc-size(min-content, size), size)", expected: "400px" }, + { value: "calc-size(auto, size)", expected: "500px" }, + { value: "calc-size(auto, size * 0.6 + 23px)", expected: "323px" }, ]; const container = document.getElementById("container"); const target = document.getElementById("target"); diff --git a/testing/web-platform/tests/css/css-values/minmax-length-invalid.html b/testing/web-platform/tests/css/css-values/minmax-length-invalid.html index 1405c31981..7b8ca88cd2 100644 --- a/testing/web-platform/tests/css/css-values/minmax-length-invalid.html +++ b/testing/web-platform/tests/css/css-values/minmax-length-invalid.html @@ -8,8 +8,8 @@