Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computed value for stroke-dasharray should be in px #8024

Conversation

cdumez
Copy link
Contributor

@cdumez cdumez commented Dec 22, 2022

a618c9c

Computed value for stroke-dasharray should be in px
https://bugs.webkit.org/show_bug.cgi?id=249813

Reviewed by Simon Fraser.

Computed value for stroke-dasharray should be in px:
- https://svgwg.org/svg2-draft/painting.html#StrokeDashing

Previously, we would only convert other length units to px when applied to a
SVG element, not for other kinds of elements.

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-dasharray-expected.txt:
* Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::strokeDashArrayToCSSValueList):

Canonical link: https://commits.webkit.org/258300@main

ab11fbb

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  πŸ§ͺ win
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ›  gtk βœ… πŸ›  wincairo
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk1 ❌ πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  watch-sim
❌ πŸ›  πŸ§ͺ unsafe-merge

@cdumez cdumez self-assigned this Dec 22, 2022
@cdumez cdumez added the CSS Cascading Style Sheets implementation label Dec 22, 2022
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Dec 23, 2022
@cdumez cdumez removed the merging-blocked Applied to prevent a change from being merged label Dec 23, 2022
@cdumez cdumez force-pushed the 249813_stroke-dasharray_computed_value_px branch from 9785e69 to ab11fbb Compare December 23, 2022 02:33
@cdumez cdumez added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 23, 2022
@webkit-early-warning-system webkit-early-warning-system force-pushed the 249813_stroke-dasharray_computed_value_px branch 2 times, most recently from 3c66e2c to 1d21b7b Compare December 23, 2022 17:49
https://bugs.webkit.org/show_bug.cgi?id=249813

Reviewed by Simon Fraser.

Computed value for stroke-dasharray should be in px:
- https://svgwg.org/svg2-draft/painting.html#StrokeDashing

Previously, we would only convert other length units to px when applied to a
SVG element, not for other kinds of elements.

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-dasharray-expected.txt:
* Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::strokeDashArrayToCSSValueList):

Canonical link: https://commits.webkit.org/258300@main
@webkit-commit-queue
Copy link
Collaborator

Committed 258300@main (a618c9c): https://commits.webkit.org/258300@main

Reviewed commits have been landed. Closing PR #8024 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit a618c9c into WebKit:main Dec 23, 2022
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Cascading Style Sheets implementation
Projects
None yet
5 participants