SVG: Implement "marker" presentation attribute
Reported by
paul.leb...@gmail.com,
Jul 17 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: Run test suite file: "painting-marker-04-f" https://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObject/painting-marker-04-f.html What is the expected behavior? Markers visible on the top shape. What went wrong? No markers. It does work though if you use a "style" attribute of CSS. style="marker: url(#m);" Did this work before? N/A Does this work in other browsers? N/A Chrome version: 59.0.3071.115 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: The "marker" presentation attribute has been in all versions of the SVG 1.1 spec, including the first. However it seems the "marker" attribute was accidentally(?) left out of the new "Presentation Attributes" section of the June 2010 edition (see https://www.w3.org/TR/2010/WD-SVG11-20100622/attindex.html#PresentationAttributes). This error was remedied a couple of versions later (see https://www.w3.org/TR/2011/PR-SVG11-20110609/propidx.html). Perhaps that was the reason it was never implemented in Webkit? However the attribute has been retained in SVG 2, so perhaps it is time to fix this omission?
,
Jul 17 2017
Sorry. You are right. I seem to have got confused somehow. And I didn't properly read the info under the test suite item either :( I notice that it *is* listed in SVG 1.0 as a property: https://www.w3.org/TR/2001/REC-SVG-20010904/propidx.html I'll file a spec bug to try and get if people still think it should be specced. I'll leave it up to you whether to keep this bug open or not.
,
Jul 17 2017
Actually "marker" is listed as a property (as is "font") in the SVG 2 spec: https://svgwg.org/svg2-draft/single-page.html#chapter-propidx
,
Jul 17 2017
Arrgh, bad day. Wish this site had a delete comment button when you make embarrassing mistakes... :/ Anyway, I've filed a spec bug to see if this issue can get resolved. https://github.com/w3c/svgwg/issues/334
,
Jul 17 2017
Yes, "font" would be in the same boat as "marker" - a property that does not have a presentation attribute. (BTW, https://svgwg.org/svg2-draft/single-page.html#attindex-PresentationAttributes is the list of presentation attributes - and being a property does not imply having a presentation attribute [although it is commonly so...]. I see you remembered that too - there is a "Delete comment", but I suspect it may only be available to people with "edit" permissions...) Since we cannot hope to see any speedy spec-turnaround here, I might as well WontFix this issue, but we can reopen if so (given that someone remembers that this issue exists that is =)) |
||
►
Sign in to add a comment |
||
Comment 1 by f...@opera.com
, Jul 17 2017Status: Available (was: Unconfirmed)