Add some machinery to allow us to disable CSS properties (or a subset of values for a property) on a per-product basis.

This commit is contained in:
Bobby Holley 2016-04-06 16:16:00 -07:00
parent 39ab006c8f
commit 4861d5add8
6 changed files with 70 additions and 21 deletions

View file

@ -13,7 +13,7 @@ sys.path.insert(0, os.path.join(style, "Mako-0.9.1.zip"))
from mako.template import Template
template = Template(filename=os.path.join(style, "properties.mako.rs"), input_encoding='utf8')
template.render()
template.render(PRODUCT='servo')
properties = dict(
(p.name, {
"flag": p.experimental,