mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +00:00
LibWeb: Port AttributeNames to FlyString
This commit is contained in:
parent
6a3f27509f
commit
e4f8c59210
Notes:
sideshowbarker
2024-07-18 04:46:35 +09:00
Author: https://github.com/shannonbooth
Commit: e4f8c59210
Pull-request: https://github.com/SerenityOS/serenity/pull/21376
93 changed files with 148 additions and 149 deletions
|
@ -116,7 +116,7 @@ unsigned int HTMLTableCellElement::col_span() const
|
|||
|
||||
WebIDL::ExceptionOr<void> HTMLTableCellElement::set_col_span(unsigned int value)
|
||||
{
|
||||
return set_attribute(HTML::AttributeNames::colspan, DeprecatedString::number(value));
|
||||
return set_attribute(HTML::AttributeNames::colspan, MUST(String::number(value)));
|
||||
}
|
||||
|
||||
// This implements step 9 in the spec here:
|
||||
|
@ -136,7 +136,7 @@ unsigned int HTMLTableCellElement::row_span() const
|
|||
|
||||
WebIDL::ExceptionOr<void> HTMLTableCellElement::set_row_span(unsigned int value)
|
||||
{
|
||||
return set_attribute(HTML::AttributeNames::rowspan, DeprecatedString::number(value));
|
||||
return set_attribute(HTML::AttributeNames::rowspan, MUST(String::number(value)));
|
||||
}
|
||||
|
||||
Optional<ARIA::Role> HTMLTableCellElement::default_role() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue