-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-transforms-1] Clarify behavior for gradientTransform and patternTransform #919
Comments
Erik said:
|
Question: should work? ChrisL suggests that the transform spec say MAY or SHOULD for this (no browser implements this AFAIK). |
SVG 2 says this should work: https://svgwg.org/svg2-draft/styling.html#PresentationAttributes |
I am unsure about the idea that
in SVG2 to SVG 1.1's behavior. That would make more sense anyway. |
In hindsight, the SVG 2 text was not as clear as it could be. The intention (as I understood it) was that a If the long-term goal is to drop the legacy attributes and allow the |
@AmeliaBR If I recover correctly, It might be that for implementations it is easier if the |
I wrote a simple test here: https://codepen.io/krit/pen/zppKNN It seems like Chrome Canary already supports the CSS transform property on patterns and gradients. (Requires detailed testing to be sure.) The important observation:
I think that this makes sense. Should still be defined in the presentation attribute section and per content model in SVG2 and not in this specification. This specification should just map those attributes to the |
…or, mapping and content model. Issue w3c/csswg-drafts#919
The Working Group just discussed The full IRC log of that discussion<Chris__> Topic: Clarify patternTransform/linearTransform<Chris__> https://github.com/w3c/svgwg/pull/378 <Chris__> scribenick: Chris__ <Chris__> krit: CS transform spec introduces transform property. <Chris__> ... has a presentation transform attribute <Chris__> ... problem is with pattern and gradients. did not clarify where these can be specified <Chris__> ... and order of application <AmeliaBR> github: https://github.com/w3c/svgwg/pull/378 <Chris__> krit: blink allow on pattern element, onlt <AmeliaBR> github: https://github.com//issues/919 <Chris__> ... similarly on gradient, but not transform attribute. Much like svg 1.1 <Chris__> ... so these are all for the same transform property <Chris__> Chris__, so these are aliases to the same property <Chris__> krit: so content model does not change wrt SVG 1.1 <Chris__> AmeliaBR, that is what we wanted for SVG2 anyway, this is an editoral clarification? <Chris__> krit: no, currently they are all allowed everywhere. want to rever to 1.1 behaviour <Chris__> AmeliaBR, ok <Chris__> Chair: Chris <Chris__> krit: if they are both on the same element then we need to establish order <Chris__> AmeliaBR, we had a couple different places related to presentation attribues <Chris__> krit: the PR specifies this <AmeliaBR> https://svgwg.org/svg2-draft/styling.html#PresentationAttributes <Chris__> AmeliaBR, not as clear as it should be <Chris__> krit: is the PR okay? <Chris__> AmeliaBR, we need to update the changelog too <Chris__> Resolved: explanation from Dirk looks good, accept <krit> scribenick: krit |
…or, mapping and content model. Issue w3c/csswg-drafts#919
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26470
The text was updated successfully, but these errors were encountered: