diff --git a/dev/Common/Html.js b/dev/Common/Html.js
index 12ca77115..c392ffe52 100644
--- a/dev/Common/Html.js
+++ b/dev/Common/Html.js
@@ -187,6 +187,15 @@ export const
oStyle.width = '100%';
}
}
+ if (hasAttribute('height')) {
+ value = getAttribute('height');
+ oStyle.height = value.includes('%') ? value : value + 'px';
+ delAttribute('height');
+ }
+ value = oStyle.removeProperty('height');
+ if (value && !value.includes('%')) {
+ oStyle.maxHeight = value;
+ }
// } else
if ('A' === name) {
value = oElement.href;