LibWeb: Implement the "subscript" editing command

This commit is contained in:
Jelle Raaijmakers 2025-01-08 17:06:20 +01:00 committed by Andreas Kling
commit ef8af01e1d
Notes: github-actions[bot] 2025-01-10 22:36:16 +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<sub>bar</sub>" state: true selection: #text 0 #text 3
Div contents: "<sub>foobar</sub>" state: true selection: #text 0 #text 3
Div contents: "<sub>foo</sub>bar" state: false selection: #text 0 #text 3