mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface.
This commit is contained in:
parent
bb2aaeac9f
commit
5a522d9145
13 changed files with 118 additions and 18 deletions
|
|
@ -61,7 +61,7 @@ public:
|
|||
|
||||
virtual CSSStyleSheet* GetParentObject() override;
|
||||
|
||||
virtual nsIDOMCSSRule*
|
||||
virtual css::Rule*
|
||||
IndexedGetter(uint32_t aIndex, bool& aFound) override;
|
||||
virtual uint32_t
|
||||
Length() override;
|
||||
|
|
@ -101,7 +101,7 @@ CSSRuleListImpl::Length()
|
|||
return AssertedCast<uint32_t>(mStyleSheet->StyleRuleCount());
|
||||
}
|
||||
|
||||
nsIDOMCSSRule*
|
||||
css::Rule*
|
||||
CSSRuleListImpl::IndexedGetter(uint32_t aIndex, bool& aFound)
|
||||
{
|
||||
aFound = false;
|
||||
|
|
@ -1648,7 +1648,7 @@ CSSStyleSheet::Media()
|
|||
return mMedia;
|
||||
}
|
||||
|
||||
nsIDOMCSSRule*
|
||||
css::Rule*
|
||||
CSSStyleSheet::GetDOMOwnerRule() const
|
||||
{
|
||||
return mOwnerRule;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue