Show correctly computed element display type in devtools (#35870)

Signed-off-by: Stephen Muss <stephenmuss@gmail.com>
This commit is contained in:
Stephen Muss 2025-03-10 23:32:30 +11:00 committed by GitHub
parent 6cfa94f3bc
commit 79e25a3e77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 1 deletions

View file

@ -244,7 +244,7 @@ impl NodeInfoToProtocol for NodeInfo {
causes_overflow: false,
container_type: None,
display_name: self.node_name.clone().to_lowercase(),
display_type: Some("block".into()),
display_type: self.display,
inline_text_child,
is_after_pseudo_element: false,
is_anonymous: false,