Bug 27199

Summary: css selector div + p doesn't work
Product: WebKit Reporter: iain.dalton
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Minor CC: frances_c
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
fails to render properly
none
safari 17.4.1 vs chrome 124.0.6367.119 vs firefox 125.0.3 none

iain.dalton
Reported 2009-07-12 18:22:32 PDT
Attached is a document that should not wrap the p after the div, and doesn't in Firefox, but does in Safari and Calibre. Notice that the relevant line of css: div + p, hr + p {text-indent: 0em;} works for the p after the hr.
Attachments
fails to render properly (6.10 KB, text/html)
2009-07-12 18:23 PDT, iain.dalton
no flags
safari 17.4.1 vs chrome 124.0.6367.119 vs firefox 125.0.3 (1.04 MB, image/png)
2024-05-03 13:11 PDT, Frances Cornwall
no flags
iain.dalton
Comment 1 2009-07-12 18:23:11 PDT
Created attachment 32638 [details] fails to render properly
Frances Cornwall
Comment 2 2024-05-03 13:11:08 PDT
Created attachment 471272 [details] safari 17.4.1 vs chrome 124.0.6367.119 vs firefox 125.0.3
Frances Cornwall
Comment 3 2024-05-03 13:16:45 PDT
p wraps the same after the div in Firefox 125.0.3, Safari 17.4.1, and Chrome 124.0.6367.119.
Note You need to log in before you can comment on or make changes to this bug.