mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibWeb/HTML: Implement inner text set according to spec
Replaced the ad-hoc implementation with a spec compliant one. This change fixes 36 WPT tests.
This commit is contained in:
parent
58c523ae46
commit
50f642613d
Notes:
github-actions[bot]
2024-10-20 20:15:59 +00:00
Author: https://github.com/samu698 🔰
Commit: 50f642613d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1873
Reviewed-by: https://github.com/AtkinsSJ
4 changed files with 61 additions and 1 deletions
3
Tests/LibWeb/Text/expected/HTML/set-innerText.txt
Normal file
3
Tests/LibWeb/Text/expected/HTML/set-innerText.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Empty string: ""
|
||||
Simple text: "foo"
|
||||
Text with newlines: "<br>foo<br>bar<br>baz<br><br>foobar<br>"
|
Loading…
Add table
Add a link
Reference in a new issue