Bug 179956 - Remove unsound assertion; r=ehsan
authorMs2ger <ms2ger@gmail.com>
Thu, 09 Aug 2012 09:20:06 +0200
changeset 101940 b0b9d41f016a77944e9c218e1ac356c2aab7dd69
parent 101939 753b39a6e95753f20aeb7ffba717e9c127f9dc0f
child 101941 144b21a87da45f1447c4556efccbfef8baa3bf72
push id13237
push useremorley@mozilla.com
push dateThu, 09 Aug 2012 11:51:38 +0000
treeherdermozilla-inbound@f799dd180292 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs179956
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 179956 - Remove unsound assertion; r=ehsan
editor/libeditor/html/nsHTMLEditor.cpp
--- a/editor/libeditor/html/nsHTMLEditor.cpp
+++ b/editor/libeditor/html/nsHTMLEditor.cpp
@@ -706,17 +706,16 @@ AssertParserServiceIsCorrect(nsIAtom* aT
       aTag==nsEditProperty::ol         ||
       aTag==nsEditProperty::dl         ||
       aTag==nsEditProperty::noscript   ||
       aTag==nsEditProperty::form       ||
       aTag==nsEditProperty::hr         ||
       aTag==nsEditProperty::table      ||
       aTag==nsEditProperty::fieldset   ||
       aTag==nsEditProperty::address    ||
-      aTag==nsEditProperty::caption    ||
       aTag==nsEditProperty::col        ||
       aTag==nsEditProperty::colgroup   ||
       aTag==nsEditProperty::li         ||
       aTag==nsEditProperty::dt         ||
       aTag==nsEditProperty::dd         ||
       aTag==nsEditProperty::legend     )
   {
     if (!aIsBlock) {