mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Fix CSSStyleDeclaration.setPropertyPriority
Before, it was a complicated no-op. (`parse_style_attribute` expects input like `a: b; c: d;`, when given just a name it return an empty vector.)
This commit is contained in:
parent
1094ce202c
commit
1033886409
4 changed files with 64 additions and 44 deletions
|
@ -28,7 +28,7 @@ import sys
|
|||
from mako.template import Template
|
||||
from mako import exceptions
|
||||
try:
|
||||
print(Template(filename=os.environ['TEMPLATE']).render())
|
||||
print(Template(filename=os.environ['TEMPLATE'], input_encoding='utf8').render().encode('utf8'))
|
||||
except:
|
||||
sys.stderr.write(exceptions.text_error_template().render().encode('utf8'))
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue