mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
import from UXP: Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords. (fa8bc1e8)
This commit is contained in:
@@ -999,7 +999,7 @@ OutputPanel.prototype._resize = function () {
|
||||
break;
|
||||
}
|
||||
|
||||
this.document.body.style.width = "-moz-max-content";
|
||||
this.document.body.style.width = "max-content";
|
||||
let style = this._frame.contentWindow.getComputedStyle(this.document.body);
|
||||
let frameWidth = parseInt(style.width, 10);
|
||||
let width = Math.min(maxWidth, frameWidth);
|
||||
|
||||
Reference in New Issue
Block a user