mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibWeb: Don't break for atomic inline elements in white-space: nowrap
This commit is contained in:
parent
17087ac4a2
commit
39f16ecd41
3 changed files with 29 additions and 1 deletions
|
@ -0,0 +1,18 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x33.46875 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 37.15625x17.46875 children: not-inline
|
||||
BlockContainer <div> at (8,8) content-size 37.15625x17.46875 children: inline
|
||||
line 0 width: 37.15625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 3, rect: [8,8 27.15625x17.46875]
|
||||
"foo"
|
||||
frag 1 from ImageBox start: 0, length: 0, rect: [35,11 10x10]
|
||||
TextNode <#text>
|
||||
ImageBox <img> at (35,11) content-size 10x10 children: not-inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x33.46875]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 37.15625x17.46875]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,8 37.15625x17.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
ImagePaintable (ImageBox<IMG>) [35,11 10x10]
|
Loading…
Add table
Add a link
Reference in a new issue