-
Notifications
You must be signed in to change notification settings - Fork 52
[motion-1] The computed value of offset-path: path(' ') #392
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
Comments
Blink treats I don't see value in maintaining different computed style states for these. The spec could state that |
Great. Thanks. This is also for |
It seems really odd to serialize it as |
It is, that is why in the example it sets the specified value, while |
But they're not the same, right? |
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1609786 gecko-commit: 1ef31cd775e69a42d7c9b67b5ac86f65ef808b25 gecko-integration-branch: autoland gecko-reviewers: emilio
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771 --HG-- extra : moz-landing-system : lando
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1609786 gecko-commit: 1ef31cd775e69a42d7c9b67b5ac86f65ef808b25 gecko-integration-branch: autoland gecko-reviewers: emilio
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771 UltraBlame original commit: 1ef31cd775e69a42d7c9b67b5ac86f65ef808b25
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771 UltraBlame original commit: 1ef31cd775e69a42d7c9b67b5ac86f65ef808b25
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771
Per SVG2 spec, the EBNF allows the path data string to be empty. An empty path data string disables rendering of the path. Therefore, we should make path('') a valid path string. The related spec issue: w3c/fxtf-drafts#392. Now we serialize `path("")` as `path("")` for offset-path and clip-path. Differential Revision: https://phabricator.services.mozilla.com/D60771
The CSS Working Group just discussed
The full IRC log of that discussion |
Based on the definition of SVG1.1 and SVG2:
So an empty path string is valid. And then what is the expected computed value for this case?
If someone calls
getComputedStyle(div).offsetPath
, should we returnpath('')
ornone
foroffset-path
? It seems Blinks returnnone
for now. It looks like the spec doesn't mention this, anyway.The text was updated successfully, but these errors were encountered: