Closed
Bug 1007913
Opened 10 years ago
Closed 10 years ago
SVG element in Web Audio Editor should be full size and dynamically resize
Categories
(DevTools Graveyard :: Web Audio Editor, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 33
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(2 files, 1 obsolete file)
83.93 KB,
image/png
|
Details | |
2.25 KB,
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
Right now, the SVG element has a set viewBox property, and the dimensions of the svg element needs to match its outer element. Also necessary for changing to side host so that it can be in portrait rather than landscape mode.
Assignee | ||
Comment 1•10 years ago
|
||
Also, the SVG box hovers over the the tabbar, probably related.
Assignee | ||
Comment 2•10 years ago
|
||
Overlap on tabbar tracked in bug 1007913
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment on attachment 8437974 [details] [diff] [review] 1007913-svg-in-wae-full-size-dynamic.patch Review of attachment 8437974 [details] [diff] [review]: ----------------------------------------------------------------- r+ with comments below. ::: browser/devtools/webaudioeditor/webaudioeditor.xul @@ +59,5 @@ > <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" No more viewBox? I guess this won't scale child nodes anymore, but that's probably ok. Also, is the "flex" attribute necessary? -moz-box-flex: 1 does the same thing. If not, you should use display: -moz-box in the css. It's better to have both of these properties in the same place. ::: browser/themes/shared/devtools/webaudioeditor.inc.css @@ +43,2 @@ > overflow: hidden; > + /* Allows full size rendering inside parent */ Nit: I don't think this comment is really necessary.
Attachment #8437974 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Removed comment and redundant attribute -- -moz-box-flex is still needed for this
Attachment #8437974 -
Attachment is obsolete: true
Attachment #8438581 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/689a8f84e7f1
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/689a8f84e7f1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•