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