| OLD | NEW |
| 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import re | 5 import re |
| 6 | 6 |
| 7 from failure import Failure | 7 from failure import Failure |
| 8 | 8 |
| 9 CHROMIUM_BUG_URL = "http://crbug.com/" | 9 CHROMIUM_BUG_URL = "http://crbug.com/" |
| 10 | 10 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 <td> </td> | 221 <td> </td> |
| 222 """ | 222 """ |
| 223 html += "</tr>" | 223 html += "</tr>" |
| 224 return html | 224 return html |
| 225 | 225 |
| 226 def _GenerateImageFailureTD(self, filename): | 226 def _GenerateImageFailureTD(self, filename): |
| 227 return ("<td><a href='./layout-test-results-%s/%s'>" | 227 return ("<td><a href='./layout-test-results-%s/%s'>" |
| 228 "<img style='width: %s' src='./layout-test-results-%s/%s' />" | 228 "<img style='width: %s' src='./layout-test-results-%s/%s' />" |
| 229 "</a></td>") % (self.build, filename, self.image_size, | 229 "</a></td>") % (self.build, filename, self.image_size, |
| 230 self.build, filename) | 230 self.build, filename) |
| OLD | NEW |