Summary: | [CSS Regions] offsetTop is wrong calculated for inline elements in multiple regions | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Manuel Rego Casasnovas <rego> | ||||||
Component: | CSS | Assignee: | 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: |
|
Created attachment 216170 [details]
Patch
Comment on attachment 216170 [details]
Patch
Assuming that patches for review since 2013 are stale, r-
CSS Regions were removed in Bug 174978. |
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.