WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
219335
[LFC] <br style="position:absolute"> shows up in line runs despite being out-of-flow
https://bugs.webkit.org/show_bug.cgi?id=219335
Summary
[LFC] <br style="position:absolute"> shows up in line runs despite being out-...
Simon Fraser (smfr)
Reported
2020-11-29 11:18:18 PST
For this content: text <br style="position: absolute;"> here the layout tree is: Initial containing block at (0,0) size 1101x1105 (0x237965980) HTML at (0,0) size 1101x1105 (0x237965a70) BODY at (8,8) size 1085x1089 (0x237965b40) -------- -- line at (0.00,0.00) size (23.99x18.00) baseline (14.00) -------- -- Inline level boxes: -------- -- Root inline box at (0.00,0.00) size (23.99x18.00) baseline (14.00) ascent (14.00/14.00) descent (4.00/4.00) -------- -- Line break box at (23.99,0.00) size (0.00x18.00) baseline (14.00) ascent (14.00/14.00) descent (4.00/4.00) -------- -- Runs: -------- -- text run at (0.00,0.00) size 23.99x18.00 run(0, 4) -------- -- box run at (23.99,0.00) size 0.00x18.00 -------- -- line at (0.00,18.00) size (27.53x18.00) baseline (14.00) -------- -- Inline level boxes: -------- -- Root inline box at (0.00,0.00) size (27.53x18.00) baseline (14.00) ascent (14.00/14.00) descent (4.00/4.00) -------- -- Runs: -------- -- text run at (0.00,0.00) size 27.53x18.00 run(1, 5) anonymous inline box (0x23a490640) length->(5) "text\n" line break at (23.98,0) size 0x18 (0x236779130) anonymous inline box (0x23a4907d0) length->(5) "\nhere" so the abs-pos <br> is in the line runs as "box run at (23.99,0.00)" despite being positioned.
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2020-11-29 11:18:43 PST
See also
https://github.com/w3c/csswg-drafts/issues/5749
Radar WebKit Bug Importer
Comment 2
2020-12-06 11:19:35 PST
<
rdar://problem/72025085
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug