mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
LibWeb: Output display type inline-table in layout dump
This commit is contained in:
parent
276a77f02d
commit
45e85d20b6
3 changed files with 12 additions and 3 deletions
|
@ -659,6 +659,12 @@ bool Node::is_inline_block() const
|
|||
return display.is_inline_outside() && display.is_flow_root_inside();
|
||||
}
|
||||
|
||||
bool Node::is_inline_table() const
|
||||
{
|
||||
auto display = this->display();
|
||||
return display.is_inline_outside() && display.is_table_inside();
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<NodeWithStyle> NodeWithStyle::create_anonymous_wrapper() const
|
||||
{
|
||||
auto wrapper = heap().allocate_without_realm<BlockContainer>(const_cast<DOM::Document&>(document()), nullptr, m_computed_values.clone_inherited_values());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue