Case ce-0169-blockquote-formatting-breaks · Scenario scenario-blockquote-behavior

Applying formatting in blockquote breaks structure in Firefox

OS: Windows 11 Device: Desktop or Laptop Any Browser: Firefox 120.0 Keyboard: US Status: draft
blockquote formatting structure firefox

Phenomenon

When applying formatting (bold, italic, etc.) to text inside a blockquote in Firefox, the blockquote structure may break. The blockquote may be removed or converted to regular paragraphs.

Reproduction example

  1. Create a blockquote: <blockquote><p>Quoted text</p></blockquote>
  2. Select text inside the blockquote
  3. Apply bold formatting

Observed behavior

  • Blockquote structure may be broken
  • Blockquote may be converted to paragraphs
  • Formatting is applied but structure is lost
  • DOM structure becomes: <p><b>Quoted text</b></p>

Expected behavior

  • Blockquote structure should be maintained
  • Formatting should be applied within blockquote
  • Blockquote should remain as <blockquote>
  • Structure should not break

Browser Comparison

  • Chrome/Edge: Generally maintains structure
  • Firefox: More likely to break structure (this case)
  • Safari: Most likely to break structure

Notes and possible direction for workarounds

  • Intercept formatting in blockquote context
  • Apply formatting within blockquote structure
  • Preserve blockquote during formatting
  • Normalize structure after formatting
Before

Quoted text

Blockquote structure
→
After Bold (Bug)

Quoted text

After formatting applied, blockquote structure damaged, &lt;blockquote&gt; removed
vs
✅ Expected

Quoted text

Expected: Blockquote structure maintained, formatting applied inside

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-0107-blockquote-enter-safari macOS 14.0 Desktop or Laptop Any Safari 17.0 US draft
ce-0137-blockquote-exit-difficult Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0156-blockquote-nested-on-paste Windows 11 Desktop or Laptop Any Safari 17.0 US draft
ce-0169-blockquote-formatting-breaks Windows 11 Desktop or Laptop Any Firefox 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.