Bug 124843

Summary: [CSS Regions] region-break-before and region-break-after are not equivalent in terms of break handling
Product: WebKit Reporter: Mihai Balan <mibalan>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, mihnea, WebkitBugTracker
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 113050    
Attachments:
Description Flags
Test-case none

Mihai Balan
Reported 2013-11-25 08:14:54 PST
Created attachment 217808 [details] Test-case Setting -webkit-region-break-after on an element triggers a different margin handling around the break point than setting -webkit-region-break-before on the next sibling of the element. Namely, -webkit-region-break-before leads to the before margin of the element it is applied to being incorrectly discarded. In the attached file, all lorem ipsum paragraphs should have a yellow margins (actually the background of the region they flow into). When using region-break-before, the top margin is discarded (second heading, second paragraph)
Attachments
Test-case (1.71 KB, text/html)
2013-11-25 08:14 PST, Mihai Balan
no flags
Brent Fulgham
Comment 1 2022-07-12 17:19:46 PDT
CSS Regions were removed in Bug 174978.
Note You need to log in before you can comment on or make changes to this bug.