зеркало из https://github.com/mozilla/gecko-dev.git
Bug 795751. Make CSS2Properties stuff work even with pref names that are not identifiers. r=dholbert
This commit is contained in:
Родитель
b055233788
Коммит
2fc4fa0309
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче