Merge lp:~makyo/juju-core/enable-viewboxing into lp:juju-core/docs
Status: | Merged |
---|---|
Merge reported by: | Nick Veitch |
Merged at revision: | not available |
Proposed branch: | lp:~makyo/juju-core/enable-viewboxing |
Merge into: | lp:juju-core/docs |
Diff against target: |
38 lines (+12/-2) 1 file modified
htmldocs/authors-charm-icon.html (+12/-2) |
To merge this branch: | bzr merge lp:~makyo/juju-core/enable-viewboxing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nick Veitch | Pending | ||
Review via email:
|
Description of the change
Add information about viewboxing.
Certain browsers, such as FireFox and IE10, will not size an SVG within a
viewport, but rather size the viewport and clip the SVG (that is, it's
not scaled); this is important now that the GUI displays the charm icons
within the service blocks. To fix this. SVGs require the viewBox
attribute to be set on the root element. This branch includes
instructions and screenshots for how to do this in Inkscape. There will
be subsequent branches in lp:charmworld to either a) check for the
existence of the viewBox attribute on ingest or possibly b) add the
attribute in the process of ingesting the SVG.
As a drive-by, the title of the charm icon page was changed from "None"
to "Charm Icons"