Bug 130583 - [CSS Regions] Make mapLocalToContainer regions aware
Summary: [CSS Regions] Make mapLocalToContainer regions aware
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: AdobeTracked
Depends on:
Blocks: 57312
  Show dependency treegraph
 
Reported: 2014-03-21 05:39 PDT by Andrei Bucur
Modified: 2014-03-21 05:39 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Bucur 2014-03-21 05:39:42 PDT
mapLocalToContainer should be able to select the correct region when walking the ancestor path of a renderer inside a flow thread. The problem is that rectangles are shifted from their layout positions through transforms / relative positioning. Correct region information can't be collected using only geometrical values.

Because of this limitation, getClientRects() will return invalid results in some cases (with content overflowing the region).