mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
parent
39ab006c8f
commit
4861d5add8
6 changed files with 70 additions and 21 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue