fix: preserve -webkit-text-stroke prefix in CSS parsing by kof · Pull Request #5584 · webstudio-is/webstudio
When entering -webkit-text-stroke in the advanced style section, it was incorrectly converted to --text-stroke (CSS variable). This happened because normalizeProperty() strips vendor prefixes from properties not in the prefixedProperties allowlist, and then parse-style-input.ts sees the unknown property 'text-stroke' and converts it to a CSS variable. Changes: - Add -webkit-text-stroke, -webkit-text-stroke-color, and -webkit-text-stroke-width to prefixedProperties list - Add test for -webkit-text-stroke preservation
kof
deleted the
text-stroke
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters