Title: [200551] trunk/Websites/perf.webkit.org
- Revision
- 200551
- Author
- [email protected]
- Date
- 2016-05-07 21:57:09 -0700 (Sat, 07 May 2016)
Log Message
Add horizontal between categories of tests
https://bugs.webkit.org/show_bug.cgi?id=157386
Reviewed by Darin Adler.
Wrap tests in each category by tbody and add a horizontal bar between each category.
* public/v3/pages/summary-page.js:
(SummaryPage.prototype._constructTable):
(SummaryPage.cssTemplate):
Modified Paths
Diff
Modified: trunk/Websites/perf.webkit.org/ChangeLog (200550 => 200551)
--- trunk/Websites/perf.webkit.org/ChangeLog 2016-05-08 04:39:13 UTC (rev 200550)
+++ trunk/Websites/perf.webkit.org/ChangeLog 2016-05-08 04:57:09 UTC (rev 200551)
@@ -1,3 +1,16 @@
+2016-05-07 Ryosuke Niwa <[email protected]>
+
+ Add horizontal between categories of tests
+ https://bugs.webkit.org/show_bug.cgi?id=157386
+
+ Reviewed by Darin Adler.
+
+ Wrap tests in each category by tbody and add a horizontal bar between each category.
+
+ * public/v3/pages/summary-page.js:
+ (SummaryPage.prototype._constructTable):
+ (SummaryPage.cssTemplate):
+
2016-05-04 Dewei Zhu <[email protected]>
Summary page should show warnings when current or baseline data is missing.
Modified: trunk/Websites/perf.webkit.org/public/v3/pages/summary-page.js (200550 => 200551)
--- trunk/Websites/perf.webkit.org/public/v3/pages/summary-page.js 2016-05-08 04:39:13 UTC (rev 200550)
+++ trunk/Websites/perf.webkit.org/public/v3/pages/summary-page.js 2016-05-08 04:57:09 UTC (rev 200551)
@@ -74,13 +74,13 @@
this._table.heading.map(function (label) { return element('td', label); }),
])),
this._table.groups.map(function (rowGroup) {
- return rowGroup.rows.map(function (row, rowIndex) {
+ return element('tbody', rowGroup.rows.map(function (row, rowIndex) {
var headings;
headings = [element('th', {class: 'minorHeader'}, row.name)];
if (!rowIndex)
headings.unshift(element('th', {class: 'majorHeader', rowspan: rowGroup.rows.length}, rowGroup.name));
return element('tr', [headings, row.cells.map(self._constructRatioGraph.bind(self))]);
- });
+ }));
}),
];
}
@@ -124,8 +124,8 @@
.summary-table {
border-collapse: collapse;
border: none;
- margin: 0 1rem;
- width: calc(100% - 2rem - 2px);
+ margin: 0;
+ width: 100%;
}
.summary-table td,
@@ -146,7 +146,11 @@
padding-left: 5rem;
}
- .summary-table > tr:nth-child(even) > *:not(.majorHeader) {
+ .summary-table tbody tr:first-child > * {
+ border-top: solid 1px #ddd;
+ }
+
+ .summary-table tbody tr:nth-child(even) > *:not(.majorHeader) {
background: #f9f9f9;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes