SVG and MathML elements must either have a
start tag and an end tag, or a start tag that is
marked as self-closing, in which case they must
not have an end tag.
Slide 26
Slide 26 text
iOS Inline issue
Slide 27
Slide 27 text
iOS Inline issue
Slide 28
Slide 28 text
Inline has no size restrictions
Up to 5 decoded megapixels
Slide 29
Slide 29 text
Inline has no size restrictions
Up to 5 decoded megapixels
Slide 30
Slide 30 text
Inline or background image?
Slide 31
Slide 31 text
SVG in Sketch
Slide 32
Slide 32 text
SVG Export
Slide 33
Slide 33 text
PDF Export
Slide 34
Slide 34 text
Illustrator SVG Export
Slide 35
Slide 35 text
100% width
Slide 36
Slide 36 text
Filling the space
Slide 37
Slide 37 text
SVG Map result
Slide 38
Slide 38 text
Optimisation
Slide 39
Slide 39 text
Separate DOM SVG nodes vs. Defs
Slide 40
Slide 40 text
Don’t use 3D transforms
Slide 41
Slide 41 text
Don’t Base64 encode for Android
Slide 42
Slide 42 text
Grouped elements result in a 7% faster paint
Slide 43
Slide 43 text
SVG is painted up to 11% faster with Use elements
Slide 44
Slide 44 text
Optimised (a little)
Slide 45
Slide 45 text
The bad
Slide 46
Slide 46 text
3.0
Slide 47
Slide 47 text
Use canvas if you’re rendering all of the nodes, ever.