mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Run size_of tests with test-stylo.
MozReview-Commit-ID: KapDMqX6OjH
This commit is contained in:
parent
9f44fd2d9d
commit
6744ed1639
8 changed files with 77 additions and 51 deletions
|
@ -211,11 +211,13 @@ class PropertiesData(object):
|
|||
|
||||
In this situation, the `product` value is ignored while choosing
|
||||
which shorthands and longhands to generate; and instead all properties for
|
||||
which code exists for either servo or stylo are generated.
|
||||
which code exists for either servo or stylo are generated. Note that we skip
|
||||
this behavior when the style crate is being built in gecko mode, because we
|
||||
need manual glue for such properties and we don't have it.
|
||||
"""
|
||||
def __init__(self, product, testing):
|
||||
self.product = product
|
||||
self.testing = testing
|
||||
self.testing = testing and product != "gecko"
|
||||
self.style_structs = []
|
||||
self.current_style_struct = None
|
||||
self.longhands = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue