mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:47:35 +00:00
LibWeb: Implement text-transform: math-auto
This is a simple mapping of some code-points to others. I was going to use a ref test for this, but without knowing that the font contains the code-points (which SerenitySans does not) we'd be comparing a series of replacement characters to a series of replacement characters, which doesn't tell you if they're the right code-points underneath.
This commit is contained in:
parent
ce775ea701
commit
489f9c3151
5 changed files with 268 additions and 0 deletions
|
@ -0,0 +1,17 @@
|
|||
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,16) content-size 784x17.46875 children: not-inline
|
||||
BlockContainer <p> at (8,16) content-size 784x17.46875 children: inline
|
||||
line 0 width: 118.40625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 67, rect: [8,16 118.40625x17.46875]
|
||||
"𝑊𝑒𝑙𝑙, ℎ𝑒𝑙𝑙𝑜 𝑓𝑟𝑖𝑒𝑛𝑑𝑠!"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (8,49.46875) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,16 784x17.46875] overflow: [8,16 784x33.46875]
|
||||
PaintableWithLines (BlockContainer<P>) [8,16 784x17.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,49.46875 784x0]
|
Loading…
Add table
Add a link
Reference in a new issue