From cc11041e99a579687785bb6a87747ac47aae177f Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Tue, 25 Oct 2022 09:29:43 -0700 Subject: [PATCH] WebKit export of https://bugs.webkit.org/show_bug.cgi?id=246960 (#36629) Fix at-font-face-descriptors.html to not expect clamped specified value for font-style https://commits.webkit.org/255943@main --- css/css-fonts/variations/at-font-face-descriptors.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/css-fonts/variations/at-font-face-descriptors.html b/css/css-fonts/variations/at-font-face-descriptors.html index 28610860c5015b..92b746900e9b11 100644 --- a/css/css-fonts/variations/at-font-face-descriptors.html +++ b/css/css-fonts/variations/at-font-face-descriptors.html @@ -150,9 +150,9 @@ { value: "oblique 20deg", isValid: true, expectedValue: "oblique", description: "'oblique' followed by default 20deg angle" }, { value: "oblique 90deg", isValid: true, description: "'oblique' followed by maxumum 90 degree angle" }, { value: "oblique -90deg", isValid: true, description: "'oblique' followed by minimum -90 degree angle" }, - { value: "oblique calc(91deg)", isValid: true, expectedValue: "oblique 90deg", description: "'oblique' followed by calc with out of range value (should be clamped)" }, - { value: "oblique calc(-91deg)", isValid: true, expectedValue: "oblique -90deg", description: "'oblique' followed by calc with out of range value (should be clamped)" }, - { value: "oblique 0rad", isValid: true, expectedValue: "oblique 0deg", description: "'oblique' followed by angle in radians" }, + { value: "oblique calc(91deg)", isValid: true, description: "'oblique' followed by calc with out of range value (should be clamped)" }, + { value: "oblique calc(-91deg)", isValid: true, description: "'oblique' followed by calc with out of range value (should be clamped)" }, + { value: "oblique 0rad", isValid: true, expectedValue: "oblique 0deg", description: "'oblique' followed by angle in radians" }, { value: "oblique 20", isValid: false, description: "'oblique' followed by unit-less number" }, { value: "oblique 20px", isValid: false, description: "'oblique' followed by non-angle" }, { value: "oblique a", isValid: false, description: "'oblique' followed by non-number" },