Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Default rendering of <svg> depending on viewBox attribute presence #4509
All modern browsers display the
Shouldn't this peculiarity of
It wasn't defined at the time that article was written, but CSS has since expanded the rules for intrinsic sizing considerably. And SVG 2 now references those rules.
I haven't gone through the final spec text carefully with this inconsistency in mind to see if it's clearly defined now, but if a clarification or extra rule is still needed, it probably belongs in CSS Sizing, not HTML.