This change adds the ability to mark an iron-iconset-svg as rtl-mirroring. This means that when the iconset stamps its icons, it will check for a special attribute in each source icon (mirror-in-rtl). If such an attribute is present, it will then mirror the icon across the Y axis.
The rationale for two tiers of configuration to make this happen is that A) it will help ensure no-one has a regression due to this change and B) it will help keep the performance impact of measuring the direction of an icon's target parent down.
This change adds the ability to mark an
iron-iconset-svg
asrtl-mirroring
. This means that when the iconset stamps its icons, it will check for a special attribute in each source icon (mirror-in-rtl
). If such an attribute is present, it will then mirror the icon across the Y axis.The rationale for two tiers of configuration to make this happen is that A) it will help ensure no-one has a regression due to this change and B) it will help keep the performance impact of measuring the
direction
of an icon's target parent down.There is a companion PR that must be merged against
iron-icon
to support this new behavior here: https://github.com/PolymerElements/iron-icon/pull/82Fixes #53