Oleg Isonen b87e956323 fix(css-editor): preserve -webkit-text-stroke in advanced style input
The parseStyleInput function was incorrectly converting -webkit-text-stroke
to --text-stroke (a CSS variable) because:

1. The property is not in propertiesData (which only has longhand properties)
2. The existing logic converted any unknown property to a CSS variable

Fix: check shorthandProperties array before converting unknown properties
to CSS variables. -webkit-text-stroke is a known shorthand that should be
parsed normally, not treated as a user-defined custom property.

Add test to verify -webkit-text-stroke is parsed as a tuple value instead
of being converted to --text-stroke.
2026-01-26 13:50:32 +00:00
2025-06-27 13:20:37 +03:00
2026-01-20 17:25:12 +01:00
2026-01-20 17:25:12 +01:00
2026-01-20 17:25:12 +01:00
2026-01-20 17:25:12 +01:00
2023-09-06 21:43:29 +03:00

builder-screenshot

Webstudio is an Open Source Visual Development Platform for developers, designers, and cross-functional teams. You own the data, components, and infrastructure. You can use the hosted version or roll out your own.


Learning Resources

Social Media

Thanks

Lost Pixel

Thanks to Lost Pixel for providing the visual testing platform that helps us review UI changes and catch visual regressions.

License

  • Webstudio core (all functionality in this repository) is free/open-source under AGPL-3.0-or-later.
  • sdk-components-animation package (optional) is proprietary. You must accept the Webstudio, Inc. EULA located in sdk-components-animation/LICENSE before using it.
Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%