Bug 1363590 - Remove the assertions for dynamic change of @counter-style. r=emilio

MozReview-Commit-ID: 43PV3LfOARP

--HG--
extra : rebase_source : 4cd76765d85be324883fef97b3620feaa828efe3
This commit is contained in:
Xidorn Quan 2017-05-26 17:22:36 +10:00
Родитель ce54435767
Коммит 709c3520fa
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -2391,8 +2391,6 @@ nsCSSCounterStyleRule::SetName(const nsAString& aName)
if (StyleSheet* sheet = GetStyleSheet()) {
if (sheet->IsGecko()) {
sheet->AsGecko()->SetModifiedByChildRule();
} else {
NS_ERROR("stylo: Dynamic change on @counter-style not yet supported");
}
if (doc) {
doc->StyleRuleChanged(sheet, this);
@ -2440,8 +2438,6 @@ nsCSSCounterStyleRule::SetDesc(nsCSSCounterDesc aDescID, const nsCSSValue& aValu
if (StyleSheet* sheet = GetStyleSheet()) {
if (sheet->IsGecko()) {
sheet->AsGecko()->SetModifiedByChildRule();
} else {
NS_ERROR("stylo: Dynamic change on @counter-style not yet supported");
}
if (doc) {
doc->StyleRuleChanged(sheet, this);

Просмотреть файл

@ -53,9 +53,6 @@ to mochitest command.
* test_transitions_and_reframes.html `pseudo-element`: bug 1366422 [4]
* Events:
* test_animations_event_order.html [2]
* dynamic change on \@counter-style rule bug 1363590
* test_counter_style.html asserts [11]
* test_counter_descriptor_storage.html asserts [110]
* symbols() function and string value on list-style-type bug 1363596
* test_value_storage.html `symbols(` [30]
* ... `list-style-type` [8]