Bug 1013911 - Reduce the memory used by tab-selected-start.svg and tab-selected-end.svg. r=mconley

This commit is contained in:
Jonathan Watt 2014-05-30 22:43:05 +01:00
parent 253ee4ef01
commit 42fcd152b8

View File

@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
@ -7,12 +5,9 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
x="0px"
y="0px"
width="30px"
height="31px"
preserveAspectRatio="none"
xml:space="preserve">
preserveAspectRatio="none">
<defs>
<style><![CDATA[
@ -45,11 +40,9 @@
]]></style>
%include ../../base/content/tab-shape.inc.svg
</defs>
<foreignObject class="node" x="0" y="0" width="30" height="31" clip-path="url(#tab-curve-clip-path-@TAB_SIDE@)">
<body xmlns="http://www.w3.org/1999/xhtml" style="all:unset">
<div id="tab-background-fill"></div>
</body>
</defs>
<foreignObject width="30" height="31" clip-path="url(#tab-curve-clip-path-@TAB_SIDE@)">
<div id="tab-background-fill" xmlns="http://www.w3.org/1999/xhtml"></div>
</foreignObject>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB