summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-02-25 02:02:41 (GMT)
committerKenneth Graunke <kenneth@whitecape.org>2013-05-08 18:59:16 (GMT)
commit9ab2bdf5c2df6f985038dc022e6bcdb474b7e45b (patch)
treed9431ba8b0c5488f246d837d59fa03d451876394 /templates
parent8b1d0e624e4ca0d250cef4545283be89238a5dc5 (diff)
downloadpiglit-9ab2bdf5c2df6f985038dc022e6bcdb474b7e45b.tar.gz
piglit-9ab2bdf5c2df6f985038dc022e6bcdb474b7e45b.tar.xz
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.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/index.css b/templates/index.css
index 16c1808..b99cd2d 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) {