mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Make WrapperGenerator generate nullable wrapper types
Previously it was not doing so, and some code relied on this not being the case. In particular, set_caption, set_t_head and set_t_foot in HTMLTableElement relied on this. This commit is not here to fix this, so I added an assertion to make it equivalent to a reference for now.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 10:24:06 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/a826df773ef Pull-request: https://github.com/SerenityOS/serenity/pull/8449
@@ -22,17 +22,17 @@ public:
|
||||
virtual ~HTMLTableElement() override;
|
||||
|
||||
RefPtr<HTMLTableCaptionElement> caption();
|
||||
void set_caption(HTMLTableCaptionElement&);
|
||||
void set_caption(HTMLTableCaptionElement*);
|
||||
NonnullRefPtr<HTMLTableCaptionElement> create_caption();
|
||||
void delete_caption();
|
||||
|
||||
RefPtr<HTMLTableSectionElement> t_head();
|
||||
DOM::ExceptionOr<void> set_t_head(HTMLTableSectionElement& thead);
|
||||
DOM::ExceptionOr<void> set_t_head(HTMLTableSectionElement* thead);
|
||||
NonnullRefPtr<HTMLTableSectionElement> create_t_head();
|
||||
void delete_t_head();
|
||||
|
||||
RefPtr<HTMLTableSectionElement> t_foot();
|
||||
DOM::ExceptionOr<void> set_t_foot(HTMLTableSectionElement& thead);
|
||||
DOM::ExceptionOr<void> set_t_foot(HTMLTableSectionElement* tfoot);
|
||||
NonnullRefPtr<HTMLTableSectionElement> create_t_foot();
|
||||
void delete_t_foot();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user