aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Rest/Module/RouteFileModule.php
diff options
context:
space:
mode:
authorBrian Wolff <bawolff+wn@gmail.com>2024-05-02 23:24:43 -0700
committerBrian Wolff <bawolff+wn@gmail.com>2024-05-02 23:33:27 -0700
commit8314c2a008789e789609499f122f2d8fcb63295b (patch)
tree5a4f03550782461be262df65d00f8ec345c0f2d3 /includes/Rest/Module/RouteFileModule.php
parentb66a1bf1dfc9c92c3bddba9b9aeac7f1ad94aa1a (diff)
downloadmediawikicore-8314c2a008789e789609499f122f2d8fcb63295b.tar.gz
mediawikicore-8314c2a008789e789609499f122f2d8fcb63295b.zip
Make SVGReader::scaleSVGUnit comply with SVG2 & CSS3 spec
Per the SVG2 spec, these units should be interpreted following CSS units level 3. We had a number of differences: * Units are supposed to be case-insensitive (previously required lowercase) * Missing the units q, rem, ch * ex is supposed to be 0.5em if UA does not know what it is (previously 0.75em) * Absolute units are supposed to assume 96 dpi (previously was 90dpi) Additionally the spec mentions the units vw, vh, vmin, vmax which are missing. Support for those are left as a future TODO. Bug: T364066 Change-Id: Ie18e4fe38c0ab7f8fc861839783a4758fdb09a8b
Diffstat (limited to 'includes/Rest/Module/RouteFileModule.php')
0 files changed, 0 insertions, 0 deletions