Case ce-0124-list-formatting-bold-lost · Scenario scenario-list-formatting-persistence

Bold formatting is lost when pressing Enter in list item in Firefox

OS: Windows 11 Device: Desktop or Laptop Any Browser: Firefox 120.0 Keyboard: US Status: draft
list formatting bold enter firefox

Phenomenon

When applying bold formatting to text in a list item and then pressing Enter to create a new list item, the bold formatting is lost. The new list item does not have bold formatting.

Reproduction example

  1. Create a list: <ul><li><b>Bold item</b></li></ul>
  2. Place cursor at the end of “Bold item”
  3. Press Enter

Observed behavior

  • New list item is created
  • Bold formatting is not applied to new item
  • Formatting is lost
  • User must reapply formatting

Expected behavior

  • Bold formatting should persist in new list item
  • Or formatting should be explicitly cleared
  • Behavior should be consistent
  • User should understand when formatting persists

Browser Comparison

  • Chrome/Edge: Formatting may persist or be lost inconsistently
  • Firefox: Formatting is lost (this case)
  • Safari: Formatting behavior most inconsistent

Notes and possible direction for workarounds

  • Intercept Enter key in list items
  • Preserve formatting when creating new items
  • Or explicitly clear formatting if desired
  • Document formatting persistence behavior
Before
  • Bold item
List item with bold text, cursor at end
After Enter (Bug)
  • Bold item
Enter creates new item, bold formatting not applied to new item
vs
✅ Expected
  • Bold item
Expected: New item also inherits bold formatting

Browser compatibility matrix

This matrix shows which browser and OS combinations have documented cases for this scenario. The current case is highlighted. Click on a cell to view other cases.

Current case
Confirmed
Draft
No case documented

All variants (detailed table)

Complete list of all cases for this scenario with full environment details.

Case OS Device Browser Keyboard Status
ce-0116-list-formatting-lost-paste Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0124-list-formatting-bold-lost Windows 11 Desktop or Laptop Any Firefox 120.0 US draft
ce-0163-list-formatting-across-items Windows 11 Desktop or Laptop Any Chrome 120.0 US draft

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Firefox 120.0
Keyboard: US
Your environment
Sample HTML:
Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.

Comments & Discussion

Have questions, suggestions, or want to share your experience? Join the discussion below.