Files
ladybird/Tests/LibWeb/Layout/expected/unicode-password-input.txt
Sam Atkins c747b1c6b5 LibWeb: Calculate hidden password text using code-point count
This means that an `<input type=password>` will show the correct number
of *s in it when non-ASCII characters are entered.

We also don't need to perform text-transform on these as that doesn't
affect the output length, so I've moved it earlier.
2024-11-14 20:23:58 +01:00

20 lines
1.2 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x37 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x21 children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 200x19] baseline: 14.296875
BlockContainer <input> at (9,9) content-size 200x19 inline-block [BFC] children: not-inline
Box <div> at (11,10) content-size 196x17 flex-container(row) [FFC] children: not-inline
BlockContainer <div> at (11,10) content-size 196x17 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [11,10 111.125x17] baseline: 13.296875
"**************"
TextNode <#text>
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x37]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x21]
PaintableWithLines (BlockContainer<INPUT>) [8,8 202x21]
PaintableBox (Box<DIV>) [9,9 200x19]
PaintableWithLines (BlockContainer<DIV>) [11,10 196x17]
TextPaintable (TextNode<#text>)