- From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Jun 2017 19:53:31 +0000
- To: public-svg-issues@w3.org
> We've never broken the symmetry between class and attr selectors before They have different case-sensitivity behavior in quirks mode, for what it's worth. But also, the behavior @birtles proposes is what Safari and Firefox ship already. Edge doesn't support SMIL, and Chrome has broken `[class="foo"]` matching; see https://bugs.chromium.org/p/chromium/issues/detail?id=735820 (used to match Safari and Firefox before that bug was introduced). So all browsers that support SMIL already match on the animated value for class selectors. Conceptually, in spec terms as things stand, the "set of classes an element belongs to" is not necessarily a function of any of its attributes at all; it needs to be defined by relevant specifications that define that element. -- GitHub Notification of comment by bzbarsky Please view or discuss this issue at https://github.com/w3c/svgwg/issues/328#issuecomment-311466628 using your GitHub account
Received on Tuesday, 27 June 2017 19:53:38 UTC