mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2111 - Implement CSSStyleRule.selectorText setter
Unlike the original patch, this copies Chrome behavior: ignores invalid values of selectorText without any console log. Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=37468
This commit is contained in:
parent
87eaaee953
commit
6d3500bb48
4 changed files with 45 additions and 3 deletions
|
|
@ -1618,6 +1618,12 @@ CSSStyleSheet::DidDirty()
|
|||
ClearRuleCascades();
|
||||
}
|
||||
|
||||
void
|
||||
CSSStyleSheet::AssertHasUniqueInner()
|
||||
{
|
||||
MOZ_ASSERT(mInner->mSheets.Length() == 1, "expected unique inner");
|
||||
}
|
||||
|
||||
nsresult
|
||||
CSSStyleSheet::RegisterNamespaceRule(css::Rule* aRule)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue