Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <svg version="1.1"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:svg="http://www.w3.org/2000/svg"
10 x="0px"
11 y="0px"
12 width="30px"
13 height="31px"
14 preserveAspectRatio="none"
15 xml:space="preserve">
16 <defs>
17 <style><![CDATA[
19 %filter substitution
21 %ifdef XP_MACOSX
22 %include ../osx/shared.inc
23 %elif defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
24 %include ../linux/linuxShared.inc
25 %else
26 %include ../windows/windowsShared.inc
27 %endif
29 #tab-background-fill {
30 background-color: @fgTabBackgroundColor@;
31 background-image: @fgTabTexture@;
32 background-repeat: no-repeat;
33 height: 100%;
34 width: 100%;
35 }
37 %ifdef WINDOWS_AERO
38 @media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),
39 (-moz-windows-default-theme) and (-moz-os-version: windows-win7) {
40 #tab-background-fill {
41 background-color: @customToolbarColor@;
42 }
43 }
44 %endif
45 ]]></style>
47 %include ../../base/content/tab-shape.inc.svg
48 </defs>
50 <foreignObject class="node" x="0" y="0" width="30" height="31" clip-path="url(#tab-curve-clip-path-@TAB_SIDE@)">
51 <body xmlns="http://www.w3.org/1999/xhtml" style="all:unset">
52 <div id="tab-background-fill"></div>
53 </body>
54 </foreignObject>
55 </svg>