Skip to content

Commit f3bc366

Browse files
committed
Clean up SVGs, relying on only viewBox, and no space before slash
The viewBox width of content-venn.svg was 1024 but the used width was 1000, which merely adds some padding as aspect ratio is preserved. Fix the viewBox to match the content, which is in fact 1000 units wide. parsing-model-overview.svg had no viewBox, which means that it had no intrinsic aspect ratio and wasn't scalable at all; if the size of the embedding <object> were any different, the graphics would simply have clipped. Use the <object>'s size as the viewBox size to get the same rendering as before but without this hidden oddity. PR: whatwg#579
1 parent 2d57f84 commit f3bc366

File tree

3 files changed

+57
-57
lines changed

3 files changed

+57
-57
lines changed

images/asyncdefer.svg

Lines changed: 53 additions & 53 deletions
Loading

images/content-venn.svg

Lines changed: 2 additions & 2 deletions
Loading

images/parsing-model-overview.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)