Bug 115899 - [CSSRegions] Fix offsetLeft / offsetTop for elements inside named flow
Summary: [CSSRegions] Fix offsetLeft / offsetTop for elements inside named flow
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: AdobeTracked
Depends on:
Blocks: 57312
  Show dependency treegraph
Reported: 2013-05-10 04:50 PDT by Radu Stavila
Modified: 2013-05-20 14:38 PDT (History)
4 users (show)

See Also:

Patch (48.12 KB, patch)
2013-05-20 08:02 PDT, Radu Stavila
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Stavila 2013-05-10 04:50:20 PDT
If an element in a named flow thread has no offsetParent inside the named flow, its offsetParent will be the document's body (http://dev.w3.org/csswg/css-regions/#cssomview-offset-attributes). In this situation, the offsetLeft and offsetTop values are not correctly computed.
Comment 1 Radu Stavila 2013-05-10 04:55:28 PDT
Related to https://bugs.webkit.org/show_bug.cgi?id=113276
Comment 2 Radu Stavila 2013-05-20 08:02:37 PDT
Created attachment 202277 [details]
Comment 3 Dave Hyatt 2013-05-20 08:19:14 PDT
Comment on attachment 202277 [details]

Comment 4 WebKit Commit Bot 2013-05-20 14:38:14 PDT
Comment on attachment 202277 [details]

Clearing flags on attachment: 202277

Committed r150383: <http://trac.webkit.org/changeset/150383>
Comment 5 WebKit Commit Bot 2013-05-20 14:38:15 PDT
All reviewed patches have been landed.  Closing bug.