mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 795751. Make CSS2Properties stuff work even with pref names that are not identifiers. r=dholbert
This commit is contained in:
parent
2279ce8914
commit
0c92627751
@ -10,7 +10,7 @@ props = ""
|
||||
for [prop, pref] in propList:
|
||||
extendedAttrs = ["Throws", "TreatNullAs=EmptyString"]
|
||||
if pref is not "":
|
||||
extendedAttrs.append("Pref=%s" % pref)
|
||||
extendedAttrs.append('Pref="%s"' % pref)
|
||||
if not prop.startswith("Moz"):
|
||||
prop = prop[0].lower() + prop[1:]
|
||||
# Unfortunately, even some of the getters here are fallible
|
||||
|
Loading…
Reference in New Issue
Block a user