Bug 29804 - fast/dom/Element/getClientRects.html is expected to fail on #9
Summary: fast/dom/Element/getClientRects.html is expected to fail on #9
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Erik Arvidsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 05:52 PDT by Andras Becsi
Modified: 2009-10-13 10:11 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 Andras Becsi 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?
Comment 2 Erik Arvidsson 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] "
Comment 3 Sam Weinig 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.
Comment 4 Erik Arvidsson 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.