Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@goldenboy777
Copy link

This PR adds the CSS WG Resolution in w3c/csswg-drafts#12376 (comment) for SVG.

The CSS Working Group just discussed [css-sizing-3][css-values-4] Define `width` and `height` CSS values for SVG Elements in a mapping, and agreed to the following:

  • RESOLVED: content dependent units used in width and height for inner SVG elements resolve to SVG's definition of auto

@w3cbot
Copy link

w3cbot commented Aug 25, 2025

goldenboy777 marked as non substantive for IPR from ash-nazg.

@w3cbot
Copy link

w3cbot commented Aug 25, 2025

goldenboy777 marked as substantive for IPR from ash-nazg.

@w3cbot
Copy link

w3cbot commented Aug 25, 2025

goldenboy777 marked as non substantive for IPR from ash-nazg.

1 similar comment
@w3cbot
Copy link

w3cbot commented Aug 25, 2025

goldenboy777 marked as non substantive for IPR from ash-nazg.

@w3cbot
Copy link

w3cbot commented Aug 25, 2025

goldenboy777 marked as substantive for IPR from ash-nazg.

@goldenboy777
Copy link
Author

@dirkschulze, @caribouW3, @karlcow, can any of you guys review this PR?
I do not have the necessary permission to add reviewers or merge this PR, please help me in knowing what can be done here.

@karlcow
Copy link
Member

karlcow commented Aug 27, 2025

@goldenboy777 I don't have review privileges, but probably @longsonr (Gecko) @shallawa @nikolaszimmermann (WebKit) have comments about the PR.

@caribouW3 @sideshowbarker have the power to merge.

@goldenboy777
Copy link
Author

goldenboy777 commented Aug 29, 2025

@longsonr @shallawa @nikolaszimmermann, can you guys review this PR if possible?

@caribouW3 @sideshowbarker can any of you help me in adding reviewers or merging this PR?

@caribouW3
Copy link
Member

Hi,
It does not look like spec prose.
What should go into the spec is only the sentence in the Resolution part. The other info should go into the original issue in GH.
I wonder if it could also include an exhaustive list of the content-dependent units.

@goldenboy777
Copy link
Author

Hi, It does not look like spec prose. What should go into the spec is only the sentence in the Resolution part. The other info should go into the original issue in GH. I wonder if it could also include an exhaustive list of the content-dependent units.

@caribouW3, I added the sentence as you suggested. Let me know if more work needed to be done.

content-dependent keywords was a term that I coined to make the discussion easier, there is no CSS spec which mention that as is, but this spec https://drafts.csswg.org/css-sizing-3/#propdef-width list the properties which width CSS property can take among them are the listed min-content, max-content, fit-content and calc-size which are dependent on CSS box model.
This in my opinion are the units where ambiguity was for SVG elements, so I have listed them, let me know your thought here.

@goldenboy777
Copy link
Author

@caribouW3 @dirkschulze any updates for this PR? Let me know if it's ok to merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants