mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Use inline SVG for stretchy elements (#807)
* Use inline SVG for stretchy elements Replace all background-images with inline SVG code. Pros: * `\color` works in all browsers, even IE/Edge * Better printing * Much simpler CSS * No links to background-images * No `mask` * No browser-detection * No external SVG files * Faster first rendering Cons * No image caching * Heavier HTML load * Larger JavaScript file * `\cancel` line is in `px` units, not `em` units * Remove static/images from make file * Change \cancel from px to em * regenerate screenshots for functions using inline svg
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 54 KiB |
Reference in New Issue
Block a user