diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-12-17 16:44:37 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-03-12 12:00:40 -0700 |
commit | 586c12ccc4de666c0cfbef84689c2e8ed7d7719d (patch) | |
tree | 55413c66c201e37efbd2370736c7e91343297a24 /components/script/dom/mod.rs | |
parent | e8f1a046c6c704915419cb75181f6e0bc402ef98 (diff) | |
download | servo-586c12ccc4de666c0cfbef84689c2e8ed7d7719d.tar.gz servo-586c12ccc4de666c0cfbef84689c2e8ed7d7719d.zip |
layout: Implement `border-spacing` per CSS 2.1 § 17.6.1 and the legacy
`cellspacing` attribute per HTML5 § 14.3.9.
Table layout code has been refactored to push the spacing down to
rowgroups and rows; this will aid the implementation of
`border-collapse` as well.
This commit also fixes two nasty issues in table layout:
* In fixed layout, extra space would not be divided among columns that
had auto width but had nonzero minimum width.
* In automatic layout, extra space would be distributed to constrained
columns as well even if unconstrained columns with percentage equal to
zero were present.
Diffstat (limited to 'components/script/dom/mod.rs')
0 files changed, 0 insertions, 0 deletions