diff --git a/ts/html-filter/styling.ts b/ts/html-filter/styling.ts
index 1d05a0bc5..a9853fdc3 100644
--- a/ts/html-filter/styling.ts
+++ b/ts/html-filter/styling.ts
@@ -25,6 +25,10 @@ const stylingInternal: BlockProperties = [
"background-color",
"font-size",
"font-family",
+ "width",
+ "height",
+ "max-width",
+ "max-height",
];
const allowPropertiesBlockValues =