diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /khtml/rendering/table_layout.txt | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/table_layout.txt')
-rw-r--r-- | khtml/rendering/table_layout.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/khtml/rendering/table_layout.txt b/khtml/rendering/table_layout.txt index 770dba06f..14a74bd1e 100644 --- a/khtml/rendering/table_layout.txt +++ b/khtml/rendering/table_layout.txt @@ -1,14 +1,14 @@ -CSS describes two ways of tqlayouting tables. Auto tqlayout (the NS4 -compliant HTML table tqlayout) and fixed tqlayout. The fixed tqlayout +CSS describes two ways of layouting tables. Auto layout (the NS4 +compliant HTML table layout) and fixed layout. The fixed layout strategy is described in detail in the CSS specs and will not be repeated here. -Due to the fact that two tqlayout strategies exist, it is rather natural -to encapsulate the tqlayouting process in a TableLayout class. Two types +Due to the fact that two layout strategies exist, it is rather natural +to encapsulate the layouting process in a TableLayout class. Two types (FixedTableLayout and AutoTableLayout) exist. AutoTableLayout is the default and also need a quirks flags for NS compatibility mode. FixedTableLayout will be used if a style rule sets the -table-tqlayout property to fixed. +table-layout property to fixed. The grid of table cells is stored in each table section, as spans can't pass section borders. Changing the number of cols in the grid @@ -25,10 +25,10 @@ structure. -NS & Mozilla compliant table tqlayouting algorithm (AutoTableLayout) +NS & Mozilla compliant table layouting algorithm (AutoTableLayout) ------------------------------------------------------------------ -The table tqlayout algorithm computes a set of tqlayout hints from the +The table layout algorithm computes a set of layout hints from the informations in the table cells, <col> elements and style sheets. Hints from different sources are treated a bit differently in the collection stage. @@ -37,17 +37,17 @@ In addition certain operations are only done in quirks (NS4 compat) mode. Resizing the table doesn't require you to build up this information -again. All that is needed is a list of tqlayout hints for each column. +again. All that is needed is a list of layout hints for each column. The algorithm below describes to the best of our knowledge the way table alyouting is handled in a NS compatible way. There are two stages, the collection stage (assocaited with calcMinMaxWidth() in khtml) and the stage assigning width to cells -(associated with tqlayout()). +(associated with layout()). -A set of hinted widths are used to determine the final table tqlayout in -the tqlayouting stage. +A set of hinted widths are used to determine the final table layout in +the layouting stage. enum hintType { MinWidth, @@ -62,7 +62,7 @@ enum hintType { }; One width (in pixels) for each hintType describes how the column -wishes to be tqlayouted. The tqlayouting stage operates only on an array +wishes to be layouted. The layouting stage operates only on an array of hints for each column. An additional totalCellSpacing variable is used to know about the |