Skip to content

Commit 0c6eeed

Browse files
committed
DOC-2498: Added new default li element styles to the content CSS to prevent child list elements from inheriting certain parent list item styles.
1 parent 6e1ad61 commit 0c6eeed

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

modules/ROOT/pages/7.5-release-notes.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,26 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
176176

177177
A visual bug introduced in {productname} version xref:7.2.1-release-notes.adoc#long-translations-of-the-bottom-help-text-would-cause-minor-graphical-issues[7.1.2] caused the focus highlight to appear behind the tag name in the statusbar path, making it difficult for users to visually track their focus.
178178

179-
In {productname} {release-version}, this has been corrected. The focus highlight is now correctly displayed above the tag name when navigating through the statusbar path, ensuring a clear and visible focus indication.
180-
179+
In {productname} {release-version}, this has been corrected. The focus highlight is now correctly displayed above the tag name when navigating through the statusbar path, ensuring a clear and visible focus indication.
180+
181+
=== Added new default `li` element styles to the content CSS to prevent child list elements from inheriting certain parent list item styles.
182+
// #TINY-11217
183+
184+
In previous versions of {productname}, child `+<li>+` elements could inherit inline CSS styles from their parent list items, causing unexpected styling behavior in nested lists. This issue was due to native CSS behavior, where child list items would inherit certain parent styles upon post-content insertion.
185+
186+
{productname} {release-version} addresses this issue. Now, new default CSS styles were added for `+<li>+` elements to prevent inheritance of specific parent styles. This ensures that list items in nested structures render independently, maintaining consistent visual formatting.
187+
188+
.Example of nested list items with independent styles
189+
[source,html]
190+
----
191+
<ul>
192+
<li>Parent Item
193+
<ul>
194+
<li>Child Item (Styles are now independent of Parent)</li>
195+
</ul>
196+
</li>
197+
</ul>
198+
----
181199

182200
[[security-fixes]]
183201
== Security fixes

0 commit comments

Comments
 (0)