1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibWeb: Add input number up down UI buttons

This commit is contained in:
Bastiaan van der Plaat 2023-12-09 08:26:50 +01:00 committed by Andreas Kling
parent 234d084876
commit f8509e2183
4 changed files with 83 additions and 31 deletions

View file

@ -1,22 +1,22 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x21.46875 children: inline
line 0 width: 191.875, height: 21.46875, bottom: 21.46875, baseline: 13.53125
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 189.875x19.46875]
BlockContainer <input#foo> at (9,9) content-size 189.875x19.46875 inline-block [BFC] children: not-inline
Box <div> at (11,10) content-size 185.875x17.46875 flex-container(row) [FFC] children: not-inline
BlockContainer <div> at (11,10) content-size 49.734375x17.46875 flex-item [BFC] children: inline
line 0 width: 49.734375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 4, rect: [11,10 49.734375x17.46875]
BlockContainer <html> at (0,0) content-size 800x41.84375 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x25.84375 children: inline
line 0 width: 202, height: 25.84375, bottom: 25.84375, baseline: 16.921875
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 200x23.84375]
BlockContainer <input#foo> at (9,9) content-size 200x23.84375 inline-block [BFC] children: not-inline
Box <div> at (11,10) content-size 196x21.84375 flex-container(row) [FFC] children: not-inline
BlockContainer <div> at (11,10) content-size 196x21.84375 flex-item [BFC] children: inline
line 0 width: 62.171875, height: 21.84375, bottom: 21.84375, baseline: 16.921875
frag 0 from TextNode start: 0, length: 4, rect: [11,10 62.171875x21.84375]
"PASS"
TextNode <#text>
TextNode <#text>
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x21.46875]
PaintableWithLines (BlockContainer<INPUT>#foo) [8,8 191.875x21.46875]
PaintableBox (Box<DIV>) [9,9 189.875x19.46875]
PaintableWithLines (BlockContainer<DIV>) [11,10 49.734375x17.46875]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x41.84375]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x25.84375]
PaintableWithLines (BlockContainer<INPUT>#foo) [8,8 202x25.84375]
PaintableBox (Box<DIV>) [9,9 200x23.84375]
PaintableWithLines (BlockContainer<DIV>) [11,10 196x21.84375]
TextPaintable (TextNode<#text>)