Bug 123888

Summary: [CSS Regions] offsetTop is wrong calculated for inline elements in multiple regions
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: CSSAssignee: Manuel Rego Casasnovas <rego>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, commit-queue, esprehn+autocc, glenn, jfernandez, kondapallykalyan, mihnea, stavila, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 128165    
Attachments:
Description Flags
HTML example showing the issue with offsetTop property
none
Patch beidson: review-

Description Manuel Rego Casasnovas 2013-11-06 04:53:28 PST
Created attachment 216166 [details]
HTML example showing the issue with offsetTop property

As you can see in the attached HTML example, offsetTop doesn't return the same value than getBoundingClientRect().top for an inline element in the second region.

If you mark the element like "display:block" the issue disappears.
Comment 1 Manuel Rego Casasnovas 2013-11-06 05:21:52 PST
Created attachment 216170 [details]
Patch
Comment 2 Brady Eidson 2016-05-24 22:04:58 PDT
Comment on attachment 216170 [details]
Patch

Assuming that patches for review since 2013 are stale, r-
Comment 3 Brent Fulgham 2022-07-13 09:21:28 PDT
CSS Regions were removed in Bug 174978.