зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1345698 part 2 - Add bindings for namespace rule. r=heycam
MozReview-Commit-ID: 5QHeVqfiEGh --HG-- extra : rebase_source : 191fe0a8ff0742ec00022062d819da8e92137e8a
This commit is contained in:
Родитель
c0a293e41b
Коммит
0e0511338c
|
@ -15,3 +15,4 @@ SERVO_ARC_TYPE(ImportRule, RawServoImportRule)
|
|||
SERVO_ARC_TYPE(AnimationValue, RawServoAnimationValue)
|
||||
SERVO_ARC_TYPE(MediaList, RawServoMediaList)
|
||||
SERVO_ARC_TYPE(MediaRule, RawServoMediaRule)
|
||||
SERVO_ARC_TYPE(NamespaceRule, RawServoNamespaceRule)
|
||||
|
|
|
@ -94,6 +94,7 @@ SERVO_BINDING_FUNC(Servo_CssRules_DeleteRule, nsresult,
|
|||
RawServo##type_##RuleBorrowed rule, nsAString* result)
|
||||
BASIC_RULE_FUNCS(Style)
|
||||
BASIC_RULE_FUNCS(Media)
|
||||
BASIC_RULE_FUNCS(Namespace)
|
||||
#undef BASIC_RULE_FUNCS
|
||||
SERVO_BINDING_FUNC(Servo_StyleRule_GetStyle, RawServoDeclarationBlockStrong,
|
||||
RawServoStyleRuleBorrowed rule)
|
||||
|
@ -106,6 +107,10 @@ SERVO_BINDING_FUNC(Servo_MediaRule_GetMedia, RawServoMediaListStrong,
|
|||
RawServoMediaRuleBorrowed rule)
|
||||
SERVO_BINDING_FUNC(Servo_MediaRule_GetRules, ServoCssRulesStrong,
|
||||
RawServoMediaRuleBorrowed rule)
|
||||
SERVO_BINDING_FUNC(Servo_NamespaceRule_GetPrefix, nsIAtom*,
|
||||
RawServoNamespaceRuleBorrowed rule)
|
||||
SERVO_BINDING_FUNC(Servo_NamespaceRule_GetURI, nsIAtom*,
|
||||
RawServoNamespaceRuleBorrowed rule)
|
||||
|
||||
// Animations API
|
||||
SERVO_BINDING_FUNC(Servo_ParseProperty,
|
||||
|
|
Загрузка…
Ссылка в новой задаче