Files
ladybird/Tests/LibWeb/Layout/expected/hide-audio-based-on-controls.txt
Psychpsyo 8632ce5cdd LibWeb: Hide audio element when controls is not set
When an audio element has no controls attribute,
it should not render at all and take up no space.
2025-01-04 11:47:09 +00:00

18 lines
967 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x59 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x43 children: inline
frag 0 from AudioBox start: 0, length: 0, rect: [8,8 300x40] baseline: 40
frag 1 from TextNode start: 0, length: 1, rect: [308,34 8x17] baseline: 13.296875
" "
frag 2 from AudioBox start: 0, length: 0, rect: [316,48 0x0] baseline: 0
AudioBox <audio> at (8,8) content-size 300x40 children: not-inline
TextNode <#text>
AudioBox <audio> at (316,48) content-size 0x0 children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x59]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x43]
AudioPaintable (AudioBox<AUDIO>) [8,8 300x40]
TextPaintable (TextNode<#text>)
AudioPaintable (AudioBox<AUDIO>) [316,48 0x0]