케이스 ce-0031-underline-formatting-firefox-ko · 시나리오 scenario-formatting-persistence

밑줄 서식을 적용한 후 입력 시 밑줄 서식이 손실됨

OS: Linux Ubuntu 22.04 기기: Desktop or Laptop Any 브라우저: Firefox 120.0 키보드: US 초안
formattingunderlinefirefox

현상

선택한 텍스트에 밑줄 서식을 적용한 후 계속 입력하면 Linux의 Firefox에서 새로 입력한 문자에 밑줄 서식이 유지되지 않습니다.

재현 예시

  1. contenteditable div를 만듭니다.
  2. 일부 텍스트를 입력합니다.
  3. 텍스트를 선택하고 밑줄 서식을 적용합니다 (Ctrl+U 또는 execCommand를 통해).
  4. 밑줄이 있는 텍스트 끝에 캐럿을 배치합니다.
  5. 계속 입력합니다.

관찰된 동작

  • Linux의 Firefox에서 밑줄이 있는 텍스트 뒤에 새로 입력한 문자가 밑줄이 없습니다.
  • 캐럿이 이동할 때 서식 상태가 손실된 것으로 보입니다.

예상 동작

  • 캐럿이 서식이 있는 텍스트 내부 또는 바로 뒤에 있을 때 새로 입력한 문자가 앞선 텍스트의 서식을 상속받아야 합니다.

이 시나리오의 변형

케이스 OS 브라우저 상태
ce-0011-bold-formatting-lost-ko macOS 14.0 Safari 17.0 초안
ce-0021-bold-formatting-chrome-ko Windows 11 Chrome 120.0 초안
ce-0029-italic-formatting-edge-ko Windows 11 Edge 120.0 초안
ce-0031-underline-formatting-firefox-ko Linux Ubuntu 22.04 Firefox 120.0 초안

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: Linux Ubuntu 22.04
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.