forked from jsantell/firefox-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1007913-svg-in-wae-full-size-dynamic.patch
73 lines (64 loc) · 2.25 KB
/
1007913-svg-in-wae-full-size-dynamic.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
From 818e3f4d734f569014f979abd91a22ef96d20d14 Mon Sep 17 00:00:00 2001
From: Jordan Santell <[email protected]>
Date: Wed, 11 Jun 2014 10:55:31 -0700
Subject: Bug 1007913 - SVG in web audio editor should always be full
size. r=vp
---
browser/devtools/webaudioeditor/webaudioeditor.xul | 2 +-
browser/themes/shared/devtools/webaudioeditor.inc.css | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/browser/devtools/webaudioeditor/webaudioeditor.xul b/browser/devtools/webaudioeditor/webaudioeditor.xul
index fca4fcc..cf3322d 100644
--- a/browser/devtools/webaudioeditor/webaudioeditor.xul
+++ b/browser/devtools/webaudioeditor/webaudioeditor.xul
@@ -55,17 +55,17 @@
<toolbarbutton id="inspector-pane-toggle" class="devtools-toolbarbutton"
tabindex="0"/>
</toolbar>
<splitter class="devtools-horizontal-splitter"/>
<box id="web-audio-content-pane" flex="1">
<hbox flex="1">
<box id="web-audio-graph" class="devtools-responsive-container" flex="1">
<vbox flex="1">
- <svg id="graph-svg" flex="1" viewBox="0 0 1000 500"
+ <svg id="graph-svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph-target" transform="translate(20,20)"/>
</svg>
</vbox>
</box>
</hbox>
<splitter class="devtools-side-splitter"/>
diff --git a/browser/themes/shared/devtools/webaudioeditor.inc.css b/browser/themes/shared/devtools/webaudioeditor.inc.css
index d5d98e9..34d752f 100644
--- a/browser/themes/shared/devtools/webaudioeditor.inc.css
+++ b/browser/themes/shared/devtools/webaudioeditor.inc.css
@@ -35,18 +35,18 @@
}
#requests-menu-reload-notice-button {
min-height: 2em;
}
/* Context Graph */
svg {
- position: fixed;
overflow: hidden;
+ -moz-box-flex: 1;
}
/* Edges in graph */
.edgePath path {
stroke-width: 1px;
fill: none;
}
@@ -146,9 +146,9 @@ text {
#inspector-pane-toggle[pane-collapsed] {
list-style-image: url([email protected]);
}
#inspector-pane-toggle:active {
-moz-image-region: rect(0px,64px,32px,32px);
}
-}
\ No newline at end of file
+}
--
1.8.4.2