Bug 72180 - CSS table with 100% width can overflow their containing block
Summary: CSS table with 100% width can overflow their containing block
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Julien Chaffraix
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 13:59 PST by Julien Chaffraix
Modified: 2011-11-17 13:07 PST (History)
3 users (show)

See Also:


Attachments
test case: the pink and green borders should not be outgrow the black and blue ones. (1.22 KB, text/html)
2011-11-11 14:00 PST, Julien Chaffraix
no flags Details
Proposed change: avoid adding the border to percent length. (16.62 KB, patch)
2011-11-11 15:34 PST, Julien Chaffraix
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2011-11-11 13:59:05 PST
I think this regressed with bug 69709 which included the border in the width HTML table for both fixed and percent length.

The ChangeLog and the provided links mention the need for fixed length only. I could not find anything relevant in the discussions linked to the bug or the spec.

Firefox and IE9 don't seem to include the border in the length in this case.
Comment 1 Julien Chaffraix 2011-11-11 14:00:46 PST
Created attachment 114767 [details]
test case: the pink and green borders should not be outgrow the black and blue ones.
Comment 2 Julien Chaffraix 2011-11-11 14:11:38 PST
Please replace HTML with CSS in my previous analysis (pretty obvious from the change and the test case that we are talking *CSS* table).
Comment 3 Julien Chaffraix 2011-11-11 15:34:56 PST
Created attachment 114789 [details]
Proposed change: avoid adding the border to percent length.
Comment 4 Robert Hogan 2011-11-12 04:30:57 PST
You're absolutely right - percent tables should have been excluded in but 69709.
Comment 5 Dave Hyatt 2011-11-17 11:32:27 PST
Comment on attachment 114789 [details]
Proposed change: avoid adding the border to percent length.

r=me
Comment 6 Julien Chaffraix 2011-11-17 11:52:43 PST
Comment on attachment 114789 [details]
Proposed change: avoid adding the border to percent length.

Thanks, David!
Comment 7 WebKit Review Bot 2011-11-17 13:07:06 PST
Comment on attachment 114789 [details]
Proposed change: avoid adding the border to percent length.

Clearing flags on attachment: 114789

Committed r100661: <http://trac.webkit.org/changeset/100661>
Comment 8 WebKit Review Bot 2011-11-17 13:07:10 PST
All reviewed patches have been landed.  Closing bug.