Case ce-0126-table-cell-editing-breaks · Scenario scenario-table-editing

Editing table cell content breaks table structure in Safari

OS: Windows 11 Device: Desktop or Laptop Any Browser: Safari 17.0 Keyboard: US Status: draft
table cell structure safari

Phenomenon

When editing text within a table cell in Safari, the table structure may break. Cells may be removed, rows may be deleted, or the table may become malformed.

Reproduction example

  1. Create a table: <table><tr><td>Cell 1</td><td>Cell 2</td></tr></table>
  2. Edit text in a cell
  3. Apply formatting or delete text
  4. Observe table structure

Observed behavior

  • Table cells may be removed
  • Rows may be deleted
  • Table structure becomes malformed
  • DOM structure breaks

Expected behavior

  • Table structure should be maintained
  • Cells should remain intact
  • Rows should not be deleted
  • Structure should be preserved during editing

Browser Comparison

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

Notes and possible direction for workarounds

  • Intercept editing operations in table cells
  • Prevent operations that break structure
  • Validate table structure after operations
  • Restore structure if broken
Before
Cell 1Cell 2
Table structure, editing 'Cell 1'
After Editing (Bug)
Cell 2
After editing, cell deleted or table structure damaged
vs
✅ Expected
New Cell 1Cell 2
Expected: Table structure maintained, only cell content changed

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-0115-table-tab-navigation Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0126-table-cell-editing-breaks Windows 11 Desktop or Laptop Any Safari 17.0 US draft
ce-0148-table-paste-breaks-structure Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0158-table-cell-selection-difficult Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0171-table-row-deletion-difficult 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: Safari 17.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.