diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2012-02-24 18:02:41 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-05-08 11:59:16 -0700 |
commit | 9ab2bdf5c2df6f985038dc022e6bcdb474b7e45b (patch) | |
tree | d9431ba8b0c5488f246d837d59fa03d451876394 /templates | |
parent | 8b1d0e624e4ca0d250cef4545283be89238a5dc5 (diff) |
html: Use the vastly faster "fixed" table layout algorithm.
The usual "auto" table layout algorithm makes the browser look at the
contents of each row in the table in order to determine the layout. We
have 10,000 rows. This is insanely expensive.
The "fixed" algorithm just uses the <col/> info, and possibly the first
row. This works out just fine.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/index.css b/templates/index.css index 16c18087b..b99cd2dad 100644 --- a/templates/index.css +++ b/templates/index.css @@ -5,6 +5,7 @@ table { padding-left: 1.75em; padding-right: 1.75em; min-width: 100%; + table-layout: fixed; } col:not(:first-child) { |