Bug 219335
| Summary: | [LFC] <br style="position:absolute"> shows up in line runs despite being out-of-flow | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Fraser (smfr)
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)
See also https://github.com/w3c/csswg-drafts/issues/5749
Radar WebKit Bug Importer
<rdar://problem/72025085>