This attribute was added in Ia0f601c1d5. Use it instead of
extracting the information from the SVG.
Change-Id: Ib6d6f4c9480ae00ccb2977b57c7b93de8ebb03f2
Sub-pixel alignment errors are unavoidable as the browser will rasterise
the SVG then round percentage offsets to the pixel grid.
Change-Id: I704db755d49be189db9670594e2ae2f193e6052d
This was set low to avoid issues with local servers, but the new default
server (wmflabs.org) can handle a higher value, and the script runs
much faster.
Change-Id: I69b06c59fc03c4c4b15619e8dff7bfc904dba96f
If a symbol has "backgroundPosition" set to true, adjust
its vertical position in the button, according to the
vertical-align property on the SVG, by adding a
background-position property on its CSS rule.
Also set "backgroundPosition" to true for a number of
symbols and generate a new CSS file.
Bug: T123397
Change-Id: Ic9bbb65d2bedf38f569d8922599a2e3d2575f153
Also keep the CSS file in alphabetical order so additions make
for clean diffs. (The async built file had a pseudo-random order)
Change-Id: Iad76ef36c90f42ba3232f135b05465408f42b2ba
Also produces a CSS file for the symbol buttons, using the
SVG filenames. Gets the list of symbols from symbols.json.
Bug: T118660
Change-Id: Iaa792418d870a7e266b6455ef037994e31278278