[svgwg] Incorrect description of path horizontal and vertical movement (#937)

BoannWasHere has just created a new issue for https://github.com/w3c/svgwg:

== Incorrect description of path horizontal and vertical movement ==
https://www.w3.org/TR/SVG2/paths.html#PathDataLinetoCommands

The description of the **H** command in the path data says:

>An **H** or **h** command is equivalent to an **L** or **l** command with 0 specified for the y coordinate.

For absolute movement (**H**), this is wrong. It claims `H 50` is equivalent to `L 50 0`, which, unless we never stray off the axis, it is not.

I know what it's trying to say; that the Y coordinate is always *unchanged* by **H**. Otherwise it would be rather useless. But that's precisely not what it says. I got in a muddle about this while writing a path interpreter and had to test what a browser does.

The **V** command has equivalent language which is also wrong.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/937 using your GitHub account


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

Received on Friday, 5 April 2024 14:18:49 UTC