mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 02:04:59 +00:00
LibWeb: Port AttributeNames to FlyString
This commit is contained in:
parent
6a3f27509f
commit
e4f8c59210
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