Bug 29804

Summary: fast/dom/Element/getClientRects.html is expected to fail on #9
Product: WebKit Reporter: Andras Becsi <abecsi>
Component: Layout and RenderingAssignee: Erik Arvidsson <arv>
Status: ASSIGNED    
Severity: Normal CC: arv, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   

Andras Becsi
Reported 2009-09-28 05:52:12 PDT
The platform independent fast/dom/Element/getClientRects-expected.txt file contains: Client bounding rects for #9 FAIL testRects.length should be 2. Was 1 Is it really the expected behaviour to fail?
Attachments
Erik Arvidsson
Comment 2 2009-10-12 15:21:26 PDT
I should have done my research first: http://www.w3.org/TR/cssom-view/#the-getclientrects "If the element on which the method was invoked has a computed value for display property of table or inline-table include both the table box and the caption box, if any, but not the anonymous container box. [CSS21] "
Sam Weinig
Comment 3 2009-10-12 16:36:45 PDT
Yeah, the expectation comes from the spec, but if this does not match reality, we should lobby to change the spec.
Erik Arvidsson
Comment 4 2009-10-13 10:11:17 PDT
I brought this up to www-style@ and I'm convinced that the spec is for the better. I'll take a stab at fixing this.
Note You need to log in before you can comment on or make changes to this bug.