mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibWeb: Implement Element.innerText
Reading the property has a few warts (see FIXMEs in the included tests), but with this the timestamps on http://45.33.8.238/ get localized :^) Since the Date() constructor currently ignores all arguments, they don't get localized correctly but are all set to the current time, but hey, it's still progress from a certain point of view.
This commit is contained in:
parent
2f85af2a20
commit
2460980d2c
Notes:
sideshowbarker
2024-07-19 03:27:00 +09:00
Author: https://github.com/nico
Commit: 2460980d2c
Pull-request: https://github.com/SerenityOS/serenity/pull/3200
Reviewed-by: https://github.com/awesomekling
6 changed files with 86 additions and 1 deletions
|
@ -87,6 +87,9 @@ public:
|
|||
String inner_html() const;
|
||||
void set_inner_html(StringView);
|
||||
|
||||
String inner_text();
|
||||
void set_inner_text(StringView);
|
||||
|
||||
bool is_focused() const;
|
||||
virtual bool is_focusable() const { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue