LibWeb: Implement the "superscript" editing command

This commit is contained in:
Jelle Raaijmakers 2025-01-08 17:10:07 +01:00 committed by Andreas Kling
commit 679fbb5eda
Notes: github-actions[bot] 2025-01-10 22:36:10 +00:00
4 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,4 @@
Div contents: "foobar" state: false selection: #document 0 #document 0
Div contents: "foo<sup>bar</sup>" state: true selection: #text 0 #text 3
Div contents: "<sup>foobar</sup>" state: true selection: #text 0 #text 3
Div contents: "<sup>foo</sup>bar" state: false selection: #text 0 #text 3