Bug 249806 - Fix css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html WPT test
Summary: Fix css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html WPT ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 175733
  Show dependency treegraph
 
Reported: 2022-12-22 13:40 PST by Chris Dumez
Modified: 2022-12-22 17:08 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-12-22 13:40:36 PST
Fix css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html WPT test to match the specification:
- https://svgwg.org/svg2-draft/painting.html#StrokeOpacity

The specification says that both <number> and <percentage> are allowed. However, the test was only allowing <number>.
Also, per the specification, the computed value should be a number within the 0 and 1 range (with percentages converted to numbers).
Comment 1 Chris Dumez 2022-12-22 13:42:04 PST
Pull request: https://github.com/WebKit/WebKit/pull/8019
Comment 2 EWS 2022-12-22 17:07:40 PST
Committed 258270@main (95e3bdf7a6db): <https://commits.webkit.org/258270@main>

Reviewed commits have been landed. Closing PR #8019 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-22 17:08:17 PST
<rdar://problem/103655306>