| Index: chrome/browser/resources/print_preview/margins_ui.js
|
| diff --git a/chrome/browser/resources/print_preview/margins_ui.js b/chrome/browser/resources/print_preview/margins_ui.js
|
| index 8f142c59b04e672021a59852e58d77ddaf4809d7..6279a1dc17247a4d3f3c437fbd6bee8889900f05 100644
|
| --- a/chrome/browser/resources/print_preview/margins_ui.js
|
| +++ b/chrome/browser/resources/print_preview/margins_ui.js
|
| @@ -107,13 +107,17 @@ cr.define('print_preview', function() {
|
| */
|
| show: function() {
|
| this.hidden = false;
|
| + this.classList.remove('invisible');
|
| },
|
|
|
| /**
|
| - * Hides the margins UI.
|
| + * Hides the margins UI and removes from the rendering flow if requested.
|
| + * @param {boolean} removeFromFlow True if |this| should also be removed
|
| + * from the rendering flow (in order to not interfere with the tab
|
| + * order).
|
| */
|
| - hide: function() {
|
| - this.hidden = true;
|
| + hide: function(removeFromFlow) {
|
| + removeFromFlow ? this.hidden = true : this.classList.add('invisible');
|
| },
|
|
|
| /**
|
|
|