Re: [csswg-drafts] [css-lists] Should option/optgroup be able to set counters? (#4004)

So… I was thinking a little more about @kizu's comment about SVG, and wondered if it was specifically about non-rendered SVG elements that aren't technically `display: none`.  And what about `<use>` copies of SVG elements?

I made a slight variation: http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=7025

Chrome and Firefox both increment for non-rendered SVG elements, unless they explicitly have `display: none`.  Firefox gets completely lost with the `<use>` copy (the counter gets reset in the outer scope). Chrome just ignores it (not sure if that's normal for shadow DOM).  Old Edge reboots the tab helplessly at this monstrosity of a test; not sure which part is so painful (based on an [early version of the test](http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=7024), it had seemed to be incrementing for rendered, non-rendered, and shadow SVG content).

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4004#issuecomment-504238680 using your GitHub account

Received on Thursday, 20 June 2019 23:51:07 UTC