| OLD | NEW |
| 1 #!/usr/bin/env python | |
| 2 | |
| 3 # Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 1 # Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 4 # | 2 # |
| 5 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions | 4 # modification, are permitted provided that the following conditions |
| 7 # are met: | 5 # are met: |
| 8 # | 6 # |
| 9 # 1. Redistributions of source code must retain the above | 7 # 1. Redistributions of source code must retain the above |
| 10 # copyright notice, this list of conditions and the following | 8 # copyright notice, this list of conditions and the following |
| 11 # disclaimer. | 9 # disclaimer. |
| 12 # 2. Redistributions in binary form must reproduce the above | 10 # 2. Redistributions in binary form must reproduce the above |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 # through the list to replace the double-digit tokens first | 427 # through the list to replace the double-digit tokens first |
| 430 index = len(test_properties) - 1 | 428 index = len(test_properties) - 1 |
| 431 while index >= 0: | 429 while index >= 0: |
| 432 # Use the unprefixed version | 430 # Use the unprefixed version |
| 433 test_prop = test_properties[index].replace('-webkit-', '') | 431 test_prop = test_properties[index].replace('-webkit-', '') |
| 434 # Replace the token | 432 # Replace the token |
| 435 html = html.replace('@test' + str(index) + '@', test_prop) | 433 html = html.replace('@test' + str(index) + '@', test_prop) |
| 436 index -= 1 | 434 index -= 1 |
| 437 | 435 |
| 438 return (test_properties, html) | 436 return (test_properties, html) |
| OLD | NEW |