Re: [svgwg] What should the computed value of the `marker` shorthand property be when its longhands have different values (#983)

"maps to" here just means that it's a shorthand for those longhands. It's kinda a weird juggle between the two algorithms - `getPropertyValue` takes a shorthand and gathers the longhands it maps to, then `serialize a css value` takes the longhands and rederives what shorthand they're for. (Which can potentially give a different answer, if you started by asking for something low in the "preferred order" and we have an alias that's higher.)

As for an example, uh, I can't recall one off the top of my head but I know we have a few. @fantasai, there's an example or two around the text properties where the shorthand can't do everything the longhand can, right? (We *usually* make the longhand capable of expressing everything but can't always do so.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/983#issuecomment-3009851308 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 26 June 2025 20:20:07 UTC