Bug 104024 - [CSS Regions] getClientRects and getBoundingClientRect is not returning the correct rects for the elements inside a flow
Summary: [CSS Regions] getClientRects and getBoundingClientRect is not returning the c...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zoltan Horvath
URL:
Keywords:
Depends on:
Blocks: 57312
  Show dependency treegraph
 
Reported: 2012-12-04 11:45 PST by Alexandru Chiculita
Modified: 2013-01-02 15:54 PST (History)
1 user (show)

See Also:


Attachments
test case (3.67 KB, text/plain)
2013-01-02 15:54 PST, Zoltan Horvath
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Chiculita 2012-12-04 11:45:37 PST
Doing something like document.querySelector("h1").getBoundingClientRect() or document.querySelector("h1").getClientRects() when "h1" is an element inside a flow thread will return invalid rectangles.
Comment 1 Zoltan Horvath 2013-01-02 15:54:13 PST
Created attachment 181091 [details]
test case

Although I can not reproduce the bug, I find another one. This is the test case what I used for trying to reproduce. I'm going to open a separate bug for the new bug, closing this one.