Bug 130309

Summary: [CSS Regions] Incorrect CSSOM View values for named flow with no region chain
Product: WebKit Reporter: Alan Stearns <stearns>
Component: CSSAssignee: Mihnea Ovidenie <mihnea>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 128165    
Attachments:
Description Flags
test that uses testharness.js none

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
Comment 2 Brent Fulgham 2022-07-12 17:21:23 PDT
CSS Regions were removed in Bug 174978.