mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 02:10:26 +00:00
LibWeb: Apply base presentational hints across the board
This commit is contained in:
parent
ff2acd1d33
commit
b8b0522cdc
Notes:
github-actions[bot]
2026-02-06 10:35:23 +00:00
Author: https://github.com/Psychpsyo
Commit: b8b0522cdc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7754
19 changed files with 23 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ bool HTMLTableColElement::is_presentational_hint(FlyString const& name) const
|
|||
|
||||
void HTMLTableColElement::apply_presentational_hints(GC::Ref<CSS::CascadedProperties> cascaded_properties) const
|
||||
{
|
||||
Base::apply_presentational_hints(cascaded_properties);
|
||||
for_each_attribute([&](auto& name, auto& value) {
|
||||
// https://html.spec.whatwg.org/multipage/rendering.html#tables-2:maps-to-the-dimension-property-2
|
||||
if (name == HTML::AttributeNames::width) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue