- From: Fredrik Söderqvist via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Aug 2018 09:33:19 +0000
- To: public-svg-issues@w3.org
With an appropriate rule in the UA stylesheet (as "suggested" by HTML), `display="inline"` would override `hidden` in the example above because of the cascading rules [1]. It appears that current UAs [2] actually treat `hidden` (in HTML) as a "presentational hint" [3] though, and if `hidden` (in SVG) were to be implemented the same way, the above example would be sensitive to in which order the attributes were mapped (and in this particular example I believe that would lead `display="inline"` winning.) [1] https://svgwg.org/svg2-draft/styling.html#PresentationAttributes [2] Blink (so quite likely WebKit too), and it looked like Gecko did. [3] https://html.spec.whatwg.org/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints -- GitHub Notification of comment by fsoder Please view or discuss this issue at https://github.com/w3c/svgwg/issues/508#issuecomment-412031071 using your GitHub account
Received on Friday, 10 August 2018 09:33:21 UTC