diff --git a/src/core/xfa/html_utils.js b/src/core/xfa/html_utils.js
index 9d4270631fc37..44c7f31312417 100644
--- a/src/core/xfa/html_utils.js
+++ b/src/core/xfa/html_utils.js
@@ -469,6 +469,7 @@ function createWrapper(node, html) {
"maxHeight",
"transform",
"transformOrigin",
+ "visibility",
]) {
if (style[key] !== undefined) {
wrapper.attributes.style[key] = style[key];