From 9e63f117c45ccc4d13fd3dd6da316cb45398d601 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 8 Jun 2026 10:48:57 +1000 Subject: [PATCH 1/2] Docs: DOC-3526 - CSS custom property names and color values in the style attribute were lowercased when parsed --- modules/ROOT/pages/8.7.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.7.0-release-notes.adoc b/modules/ROOT/pages/8.7.0-release-notes.adoc index 60a84540ef..d3c70e1a9f 100644 --- a/modules/ROOT/pages/8.7.0-release-notes.adoc +++ b/modules/ROOT/pages/8.7.0-release-notes.adoc @@ -94,6 +94,13 @@ The following premium plugin updates were released alongside {productname} {rele // CCFR here. +=== CSS custom property names and color values in the style attribute were lowercased when parsed +// #TINY-11524 + +Previously, the {productname} style parser converted CSS custom property names and color values in the `style` attribute to lowercase. Values that relied on their original casing, such as CSS custom properties referenced with mixed-case names, could be altered, which in some cases changed how the content was rendered. + +In {productname} {release-version}, the style parser retains the original case of CSS custom property names and color values in the `style` attribute. Styles that depend on case are now preserved as authored. + [[security-fixes]] == Security fixes From 189845b9485af4ebb0a1c1c8a8e8abf1ede3e350 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 8 Jun 2026 12:52:34 +1000 Subject: [PATCH 2/2] Docs: DOC-3526 - Align TINY-11524 entry with updated JIRA documentation section --- modules/ROOT/pages/8.7.0-release-notes.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/8.7.0-release-notes.adoc b/modules/ROOT/pages/8.7.0-release-notes.adoc index d3c70e1a9f..09fa6e5c4e 100644 --- a/modules/ROOT/pages/8.7.0-release-notes.adoc +++ b/modules/ROOT/pages/8.7.0-release-notes.adoc @@ -97,9 +97,9 @@ The following premium plugin updates were released alongside {productname} {rele === CSS custom property names and color values in the style attribute were lowercased when parsed // #TINY-11524 -Previously, the {productname} style parser converted CSS custom property names and color values in the `style` attribute to lowercase. Values that relied on their original casing, such as CSS custom properties referenced with mixed-case names, could be altered, which in some cases changed how the content was rendered. +Previously, the {productname} style parser lowercased CSS custom property names (such as `--MyColor`) and `color` and `background-color` values when reading the `style` attribute. This altered case-sensitive values, including CSS custom properties, template placeholders such as `{{FooBar}}`, and hex colors such as `#AABBCC`, so the affected styling sometimes did not render as authored. -In {productname} {release-version}, the style parser retains the original case of CSS custom property names and color values in the `style` attribute. Styles that depend on case are now preserved as authored. +In {productname} {release-version}, the style parser preserves the original case of CSS custom property names and `color` and `background-color` values. Standard property names are still lowercased, and other processing, such as RGB-to-hex conversion, shorthand merging, and security filtering, is unchanged. Case-sensitive colors and custom properties now stay exactly as authored. [[security-fixes]]