Bug 123888 - [CSS Regions] offsetTop is wrong calculated for inline elements in multiple regions
Summary: [CSS Regions] offsetTop is wrong calculated for inline elements in multiple r...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Manuel Rego Casasnovas
URL:
Keywords:
Depends on:
Blocks: 128165
  Show dependency treegraph
 
Reported: 2013-11-06 04:53 PST by Manuel Rego Casasnovas
Modified: 2016-05-24 22:04 PDT (History)
8 users (show)

See Also:


Attachments
HTML example showing the issue with offsetTop property (3.20 KB, text/html)
2013-11-06 04:53 PST, Manuel Rego Casasnovas
no flags Details
Patch (11.15 KB, patch)
2013-11-06 05:21 PST, Manuel Rego Casasnovas
beidson: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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-