Case ce-0166-font-size-persistence-edge · Scenario scenario-font-size-change

Font size persists correctly when typing after applying in Edge

OS: Windows 11 Device: Desktop or Laptop Any Browser: Edge 120.0 Keyboard: US Status: draft
font size persistence edge

Phenomenon

When applying a font size to selected text in Edge and then continuing to type, the new text inherits the font size. This is the expected behavior and works correctly in Edge.

Reproduction example

  1. Select some text in a contenteditable element
  2. Apply a font size (e.g., 18px)
  3. Place cursor after the formatted text
  4. Type new text

Observed behavior

  • The newly typed text inherits the applied font size
  • Font size formatting persists for new text
  • This is the correct and expected behavior
  • Works consistently in Edge/Chrome

Expected behavior

  • Newly typed text should inherit the font size (current behavior is correct)
  • Font size formatting should persist until explicitly changed
  • Behavior should be consistent (which it is in Edge/Chrome)

Browser Comparison

  • Chrome/Edge: Font size persists correctly (this case - correct behavior)
  • Firefox: Size persistence may be less reliable
  • Safari: Font size does not persist

Notes and possible direction for workarounds

  • This behavior is correct and expected
  • May need to handle size removal explicitly
  • Consider if size should persist across paragraphs
  • Document expected behavior for users
Before
Hello World
Basic text
After Font Size
Hello World
18px font size applied
vs
✅ Expected
Hello World New
Expected: Newly typed text also inherits font size (current behavior is correct)

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-0119-font-size-persistence-safari macOS 14.0 Desktop or Laptop Any Safari 17.0 US draft
ce-0144-font-size-unit-conversion Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0166-font-size-persistence-edge Windows 11 Desktop or Laptop Any Edge 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: Edge 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.