mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
LibWeb: Mark more body element attributes as presentational hints
This commit is contained in:
committed by
Andreas Kling
parent
a2fa3cbd69
commit
2725142db9
@@ -49,7 +49,13 @@ bool HTMLBodyElement::is_presentational_hint(FlyString const& name) const
|
||||
return first_is_one_of(name,
|
||||
HTML::AttributeNames::bgcolor,
|
||||
HTML::AttributeNames::text,
|
||||
HTML::AttributeNames::background);
|
||||
HTML::AttributeNames::background,
|
||||
HTML::AttributeNames::marginheight,
|
||||
HTML::AttributeNames::marginwidth,
|
||||
HTML::AttributeNames::topmargin,
|
||||
HTML::AttributeNames::rightmargin,
|
||||
HTML::AttributeNames::bottommargin,
|
||||
HTML::AttributeNames::leftmargin);
|
||||
}
|
||||
|
||||
void HTMLBodyElement::apply_presentational_hints(GC::Ref<CSS::CascadedProperties> cascaded_properties) const
|
||||
|
||||
Reference in New Issue
Block a user