mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords.
This commit is contained in:
parent
91b51a6509
commit
fa8bc1e81c
7 changed files with 15 additions and 18 deletions
|
|
@ -1032,7 +1032,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue