Bug 158468

Summary: When a continuation is unsplit, the background image is incorrect
Product: WebKit Reporter: s.butkaliuk
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: bfulgham, dino, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test reduction
none
Bug screenshots none

s.butkaliuk
Reported 2016-06-07 01:33:21 PDT
When <hr> element is appended to span inside backgrounded div, background renders twice. Second image is fake and is not deleted from page even after deleting <hr> element. You can see detals here: https://jsfiddle.net/41o976ja/4/ Press button - this adds <hr> element. Press it second time - hr is deleted, but second image is left on the page. This bug can be found in latest chrome, opera, safari browsers.
Attachments
Test reduction (1.65 KB, text/html)
2016-06-08 15:50 PDT, zalan
no flags
Bug screenshots (10.00 KB, image/png)
2016-06-08 23:56 PDT, s.butkaliuk
no flags
Simon Fraser (smfr)
Comment 1 2016-06-08 13:58:08 PDT
Please attach a screenshot of what you are seeing. I can't reproduce it in a recent WebKit build.
zalan
Comment 2 2016-06-08 15:50:54 PDT
Created attachment 280851 [details] Test reduction
s.butkaliuk
Comment 3 2016-06-08 23:56:19 PDT
Created attachment 280888 [details] Bug screenshots Three situations snapshoted from https://jsfiddle.net/41o976ja/4/
Brent Fulgham
Comment 4 2022-07-14 15:47:55 PDT
We seem to get a third box in Alan's test case.
Radar WebKit Bug Importer
Comment 5 2022-07-14 15:48:06 PDT
Note You need to log in before you can comment on or make changes to this bug.