[Webkit-unassigned] [Bug 285141] New: WPT test failure css/css-fonts/variations/font-style-parsing.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 24 18:49:51 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=285141

            Bug ID: 285141
           Summary: WPT test failure
                    css/css-fonts/variations/font-style-parsing.html
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: fantasai.bugs at inkedblade.net, vitor.roriz at apple.com

There is only subtest failing on 
https://wpt.fyi/results/css/css-fonts/variations/font-style-parsing.html?label=master&label=experimental&aligned&q=font-style
http://wpt.live/css/css-fonts/variations/font-style-parsing.html


Font-style (computed): 'oblique' followed by positive angle in radians is valid

The angle is set as radian: 0.5rad
The computed style value should be in degrees.

The conversion is happenning correctly but probably rounded to two digits giving the wrong expected result.

0.5rad =~ 28.648 degs

but Safari returns "oblique 28.5deg".

This looks like a rounding issue.

The test expects the matching to be "/^oblique 28\.64\d*deg$/"

I haven't yet a place in the specifications which mandates a certain number of significant digits for converted values of getComputedStyle.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241225/05974018/attachment.htm>


More information about the webkit-unassigned mailing list