mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1016047 - Stop box model highlighter causing toolbox jumping on small screen r=bgrins
This commit is contained in:
parent
cbe5d2d41f
commit
0626f25d04
@ -508,6 +508,10 @@ BoxModelHighlighter.prototype = Heritage.extend(XULBasedHighlighter.prototype, {
|
||||
|
||||
this._svgRoot = this._createSVGNode("root", "svg", this._highlighterContainer);
|
||||
|
||||
// Set the SVG canvas height to 0 to stop content jumping around on small
|
||||
// screens.
|
||||
this._svgRoot.setAttribute("height", "0");
|
||||
|
||||
this._boxModelContainer = this._createSVGNode("container", "g", this._svgRoot);
|
||||
|
||||
this._boxModelNodes = {
|
||||
|
Loading…
Reference in New Issue
Block a user