{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/svgwg/issues/321","repository_url":"https://api.github.com/repos/w3c/svgwg","labels_url":"https://api.github.com/repos/w3c/svgwg/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/w3c/svgwg/issues/321/comments","events_url":"https://api.github.com/repos/w3c/svgwg/issues/321/events","html_url":"https://github.com/w3c/svgwg/issues/321","id":231785901,"node_id":"MDU6SXNzdWUyMzE3ODU5MDE=","number":321,"title":"Serialization format for path strings","user":{"login":"ewilligers","id":929206,"node_id":"MDQ6VXNlcjkyOTIwNg==","avatar_url":"https://avatars1.githubusercontent.com/u/929206?v=4","gravatar_id":"","url":"https://api.github.com/users/ewilligers","html_url":"https://github.com/ewilligers","followers_url":"https://api.github.com/users/ewilligers/followers","following_url":"https://api.github.com/users/ewilligers/following{/other_user}","gists_url":"https://api.github.com/users/ewilligers/gists{/gist_id}","starred_url":"https://api.github.com/users/ewilligers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewilligers/subscriptions","organizations_url":"https://api.github.com/users/ewilligers/orgs","repos_url":"https://api.github.com/users/ewilligers/repos","events_url":"https://api.github.com/users/ewilligers/events{/privacy}","received_events_url":"https://api.github.com/users/ewilligers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/w3c/svgwg/milestones/5","html_url":"https://github.com/w3c/svgwg/milestone/5","labels_url":"https://api.github.com/repos/w3c/svgwg/milestones/5/labels","id":3416725,"node_id":"MDk6TWlsZXN0b25lMzQxNjcyNQ==","number":5,"title":"SVG 2.1 Working Draft","description":"Forward looking features in the SVG specification, currently published on https://svgwg.org/svg-next/","creator":{"login":"boggydigital","id":69746,"node_id":"MDQ6VXNlcjY5NzQ2","avatar_url":"https://avatars3.githubusercontent.com/u/69746?v=4","gravatar_id":"","url":"https://api.github.com/users/boggydigital","html_url":"https://github.com/boggydigital","followers_url":"https://api.github.com/users/boggydigital/followers","following_url":"https://api.github.com/users/boggydigital/following{/other_user}","gists_url":"https://api.github.com/users/boggydigital/gists{/gist_id}","starred_url":"https://api.github.com/users/boggydigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boggydigital/subscriptions","organizations_url":"https://api.github.com/users/boggydigital/orgs","repos_url":"https://api.github.com/users/boggydigital/repos","events_url":"https://api.github.com/users/boggydigital/events{/privacy}","received_events_url":"https://api.github.com/users/boggydigital/received_events","type":"User","site_admin":false},"open_issues":144,"closed_issues":5,"state":"open","created_at":"2018-06-11T18:52:24Z","updated_at":"2018-09-01T01:42:22Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2017-05-27T08:21:55Z","updated_at":"2018-09-07T12:12:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This issue came up in an Intent to Ship (offset-path animation) discussion on blink-dev.\r\nhttps://groups.google.com/a/chromium.org/d/msg/blink-dev/_DPl-JG6bV8/y2_GUwFVDwAJ\r\n\r\n'd' path strings can contain a mix of absolute and relative coordinates, and a mix of comma and \r\nspace separators. https://www.w3.org/TR/SVG2/paths.html#TheDProperty\r\n\r\nIt is also possible to animate between paths that differ in the use of separators and absolute and\r\nrelative coordinates, for example between 'M 200 400 H 500 v -100' and 'm100,200h400V300'.\r\n\r\nNow that 'd' is exposed as a presentation attribute, page authors can use getComputedStyle to\r\ninspect the path string.\r\n\r\nFor consistency between implementations, it would be helpful if the standard specified absolute\r\n[or relative] coordinates in the serialization format, and space separators.\r\n\r\nThe above example path strings would become 'M 200 400 H 500 V 300' and 'M 100 200 H 500 V300'\r\nwhen serialized.\r\n\r\nBlink's currently shipping implementation uses space separators, and uses the 'to' format for\r\nabsolute/relative coordinates, except at animation progress 0, where the 'from' format is used:-\r\nproperty <d> from [path('M 200 400 H 500 v -100')] to [path('m100,200h400V300')]\r\n at (0) is   [path('M 200 400 H 500 v -100')]\r\nat (0.5) is [path('m 150 300 h 350 V 300')]\r\nat (1) is   [path('m 100 200 h 400 V 300')]\r\n\r\nIf we specify absolute coordinates for the serialization format, these would become:\r\nproperty <d> from [path('M 200 400 H 500 v -100')] to [path('m100,200h400V300')] \r\nat (0) is   [path('M 200 400 H 500 V 300')]\r\nat (0.5) is [path('M 150 300 H 500 V 300')]\r\nat (1) is   [path('M 100 200 H 500 V 300')]\r\n\r\nIf we specify relative coordinates for the serialization format, these would become:\r\nproperty <d> from [path('M 200 400 H 500 v -100')] to [path('m100,200h400V300')] \r\nat (0) is   [path('m 200 400 h 300 v -100')]\r\nat (0.5) is [path('m 150 300 h 350 v 0')]\r\nat (1) is   [path('m 100 200 h 400 v 100')]\r\n\r\nNo backward compatibility issues are anticipated in moving to consistent absolute coordinates [or consistent relative coordinates].\r\n\r\n\r\nIf issue #320 is accepted, there is also the choice of quote character around the path string. Blink uses single quotes.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/svgwg/issues/comments/419420419","html_url":"https://github.com/w3c/svgwg/issues/321#issuecomment-419420419","issue_url":"https://api.github.com/repos/w3c/svgwg/issues/321","id":419420419,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQyMDQxOQ==","user":{"login":"ewilligers","id":929206,"node_id":"MDQ6VXNlcjkyOTIwNg==","avatar_url":"https://avatars1.githubusercontent.com/u/929206?v=4","gravatar_id":"","url":"https://api.github.com/users/ewilligers","html_url":"https://github.com/ewilligers","followers_url":"https://api.github.com/users/ewilligers/followers","following_url":"https://api.github.com/users/ewilligers/following{/other_user}","gists_url":"https://api.github.com/users/ewilligers/gists{/gist_id}","starred_url":"https://api.github.com/users/ewilligers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewilligers/subscriptions","organizations_url":"https://api.github.com/users/ewilligers/orgs","repos_url":"https://api.github.com/users/ewilligers/repos","events_url":"https://api.github.com/users/ewilligers/events{/privacy}","received_events_url":"https://api.github.com/users/ewilligers/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T12:12:24Z","updated_at":"2018-09-07T12:12:24Z","author_association":"CONTRIBUTOR","body":"Yes, getComputedStyle should be returning absolute commands. I can also change Blink to double quotes."}}
{"actor":{"display_login":"ewilligers"}}