mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
5c43533704
According to the canvas spec [1], we must drop initial values other than font-size and font-family when we serialize canvas font attribute. As for font-size and font-family, the default values, '10px sans-serif' [2] are not dropped at all. [1] https://html.spec.whatwg.org/multipage/scripting.html#dom-context-2d-font [2] https://html.spec.whatwg.org/multipage/scripting.html#canvastextdrawingstyles MozReview-Commit-ID: EyOxzJCQYQl --HG-- extra : rebase_source : d358a8e97fa7849a320a3619e746a526fe2a8439 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |