Bug 130309 - [CSS Regions] Incorrect CSSOM View values for named flow with no region chain
Summary: [CSS Regions] Incorrect CSSOM View values for named flow with no region chain
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mihnea Ovidenie
URL:
Keywords:
Depends on:
Blocks: 128165
  Show dependency treegraph
 
Reported: 2014-03-16 12:59 PDT by Alan Stearns
Modified: 2014-05-26 08:29 PDT (History)
0 users

See Also:


Attachments
test that uses testharness.js (3.85 KB, text/html)
2014-03-16 12:59 PDT, Alan Stearns
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Stearns 2014-03-16 12:59:05 PDT
Created attachment 226856 [details]
test that uses testharness.js

When a named flow has no region chain associated, its contents are not visually formatted. So various CSSOM-View attributes and methods should return zero or null for content in this state. This is not happening aside from the x and y image attributes, which are returning zero in all cases (bug https://bugs.webkit.org/show_bug.cgi?id=130308).
Comment 1 Alan Stearns 2014-03-16 13:07:02 PDT
The last test (for getBoundingClientRect) assumes that the object returned is a DOMRect with x and y attributes, which is a fairly new thing. The WebKit test might be better off checking left and top for now