Bug 279330 part 2 - execCommand("hilitecolor") should work even in non-CSS mode; r=ehsan
authorAryeh Gregor <ayg@aryeh.name>
Tue, 17 Apr 2012 13:18:08 +0300
changeset 95159 459b7d9d63d7191604d92848f651c775df5e0ad9
parent 95158 52e2737720a568d2b378ee8429d2ce4d326ed67d
child 95160 307272b019d4dd45a6afa29032b57c9acd51512d
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs279330
milestone14.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 279330 part 2 - execCommand("hilitecolor") should work even in non-CSS mode; r=ehsan
editor/composer/src/nsComposerCommands.cpp
editor/idl/nsIHTMLEditor.idl
editor/libeditor/html/nsHTMLEditorStyle.cpp
editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js
editor/libeditor/html/tests/browserscope/lib/richtext2/currentStatus.js
layout/reftests/bugs/388980-1.html
--- a/editor/composer/src/nsComposerCommands.cpp
+++ b/editor/composer/src/nsComposerCommands.cpp
@@ -909,18 +909,18 @@ nsHighlightColorStateCommand::SetState(n
 
   nsresult rv;
   nsCOMPtr<nsIAtom> fontAtom = do_GetAtom("font");
 
   if (newState.IsEmpty() || newState.EqualsLiteral("normal")) {
 //    rv = RemoveOneProperty(htmlEditor, NS_LITERAL_STRING("font"), NS_LITERAL_STRING("bgcolor"));
     rv = htmlEditor->RemoveInlineProperty(fontAtom, NS_LITERAL_STRING("bgcolor"));
   } else {
-    rv = htmlEditor->SetCSSInlineProperty(fontAtom, NS_LITERAL_STRING("bgcolor"),
-                                          newState);
+    rv = htmlEditor->SetInlineProperty(fontAtom, NS_LITERAL_STRING("bgcolor"),
+                                       newState);
   }
 
   return rv;
 }
 
 NS_IMETHODIMP
 nsHighlightColorStateCommand::IsCommandEnabled(const char * aCommandName,
                                                nsISupports *refCon,
--- a/editor/idl/nsIHTMLEditor.idl
+++ b/editor/idl/nsIHTMLEditor.idl
@@ -47,17 +47,17 @@ interface nsISupportsArray;
 interface nsISelection;
 interface nsIContentFilter;
 
 %{C++
 #define NS_EDITOR_ELEMENT_NOT_FOUND \
   NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_EDITOR, 1)
 
 %}
-[scriptable, uuid(FF67AD39-ED58-4CD1-A1A3-DCD988390A97)]
+[scriptable, uuid(833f30de-94c7-4630-a852-2300ef329d7b)]
 
 interface nsIHTMLEditor : nsISupports
 {
 %{C++
   typedef short EAlignment;
 %}
 
   // used by GetAlignment()
@@ -113,19 +113,16 @@ interface nsIHTMLEditor : nsISupports
    * @param aAttribute  the attribute of the property, if applicable.
    *                    May be null.
    *                    Example: aProperty="font", aAttribute="color"
    * @param aValue      if aAttribute is not null, the value of the attribute.
    *                    May be null.
    *                    Example: aProperty="font", aAttribute="color",
    *                             aValue="0x00FFFF"
    */
-  void setCSSInlineProperty(in nsIAtom aProperty, 
-                            in AString aAttribute,
-                            in AString aValue);
   void setInlineProperty(in nsIAtom aProperty, 
                          in AString aAttribute,
                          in AString aValue);
 
   /**
    * getInlineProperty() gets aggregate properties of the current selection.
    * All object in the current selection are scanned and their attributes are
    * represented in a list of Property object.
--- a/editor/libeditor/html/nsHTMLEditorStyle.cpp
+++ b/editor/libeditor/html/nsHTMLEditorStyle.cpp
@@ -104,28 +104,16 @@ NS_IMETHODIMP nsHTMLEditor::RemoveAllDef
   {
     delete mDefaultStyles[j];
   }
   mDefaultStyles.Clear();
   return NS_OK;
 }
 
 
-// Add the CSS style corresponding to the HTML inline style defined
-// by aProperty aAttribute and aValue to the selection
-NS_IMETHODIMP nsHTMLEditor::SetCSSInlineProperty(nsIAtom *aProperty, 
-                            const nsAString & aAttribute, 
-                            const nsAString & aValue)
-{
-  if (IsCSSEnabled()) {
-    return SetInlineProperty(aProperty, aAttribute, aValue);
-  }
-  return NS_OK;
-}
-
 NS_IMETHODIMP nsHTMLEditor::SetInlineProperty(nsIAtom *aProperty, 
                             const nsAString & aAttribute, 
                             const nsAString & aValue)
 {
   if (!aProperty) { return NS_ERROR_NULL_POINTER; }
   if (!mRules) { return NS_ERROR_NOT_INITIALIZED; }
   ForceCompositionEnd();
 
@@ -380,70 +368,68 @@ nsHTMLEditor::SetInlinePropertyOnNode( n
 {
   NS_ENSURE_TRUE(aNode && aProperty, NS_ERROR_NULL_POINTER);
 
   nsresult res = NS_OK;
   nsCOMPtr<nsIDOMNode> tmp;
   nsAutoString tag;
   aProperty->ToString(tag);
   ToLowerCase(tag);
+
+  bool useCSS = (IsCSSEnabled() &&
+    mHTMLCSSUtils->IsCSSEditableProperty(aNode, aProperty, aAttribute)) ||
+    // bgcolor is always done using CSS
+    aAttribute->EqualsLiteral("bgcolor");
   
-  if (IsCSSEnabled())
-  {
-    // we are in CSS mode
-    if (mHTMLCSSUtils->IsCSSEditableProperty(aNode, aProperty, aAttribute))
+  if (useCSS) {
+    nsCOMPtr<nsIDOMNode> tmp = aNode;
+    if (IsTextNode(tmp))
     {
-      // the HTML style defined by aProperty/aAttribute has a CSS equivalence
-      // in this implementation for the node aNode
-      nsCOMPtr<nsIDOMNode> tmp = aNode;
-      if (IsTextNode(tmp))
-      {
-        // we are working on a text node and need to create a span container
-        // that will carry the styles
-        InsertContainerAbove( aNode, 
-                              address_of(tmp), 
-                              NS_LITERAL_STRING("span"),
-                              nsnull,
-                              nsnull);
-      }
-      nsCOMPtr<nsIDOMElement>element;
-      element = do_QueryInterface(tmp);
-      // first we have to remove occurences of the same style hint in the
-      // children of the aNode
-      res = RemoveStyleInside(tmp, aProperty, aAttribute, true);
+      // we are working on a text node and need to create a span container
+      // that will carry the styles
+      InsertContainerAbove(aNode, 
+                           address_of(tmp), 
+                           NS_LITERAL_STRING("span"),
+                           nsnull,
+                           nsnull);
+    }
+    nsCOMPtr<nsIDOMElement>element;
+    element = do_QueryInterface(tmp);
+    // first we have to remove occurences of the same style hint in the
+    // children of the aNode
+    res = RemoveStyleInside(tmp, aProperty, aAttribute, true);
+    NS_ENSURE_SUCCESS(res, res);
+    PRInt32 count;
+    // then we add the css styles corresponding to the HTML style request
+    res = mHTMLCSSUtils->SetCSSEquivalentToHTMLStyle(element, aProperty, aAttribute, aValue, &count, false);
+    NS_ENSURE_SUCCESS(res, res);
+
+    nsCOMPtr<nsIDOMNode> nextSibling, previousSibling;
+    GetNextHTMLSibling(tmp, address_of(nextSibling));
+    GetPriorHTMLSibling(tmp, address_of(previousSibling));
+    if (nextSibling || previousSibling)
+    {
+      nsCOMPtr<nsIDOMNode> mergeParent;
+      res = tmp->GetParentNode(getter_AddRefs(mergeParent));
       NS_ENSURE_SUCCESS(res, res);
-      PRInt32 count;
-      // then we add the css styles corresponding to the HTML style request
-      res = mHTMLCSSUtils->SetCSSEquivalentToHTMLStyle(element, aProperty, aAttribute, aValue, &count, false);
-      NS_ENSURE_SUCCESS(res, res);
-
-      nsCOMPtr<nsIDOMNode> nextSibling, previousSibling;
-      GetNextHTMLSibling(tmp, address_of(nextSibling));
-      GetPriorHTMLSibling(tmp, address_of(previousSibling));
-      if (nextSibling || previousSibling)
+      if (previousSibling &&
+          nsEditor::NodeIsType(previousSibling, nsEditProperty::span) &&
+          NodesSameType(tmp, previousSibling))
       {
-        nsCOMPtr<nsIDOMNode> mergeParent;
-        res = tmp->GetParentNode(getter_AddRefs(mergeParent));
+        res = JoinNodes(previousSibling, tmp, mergeParent);
         NS_ENSURE_SUCCESS(res, res);
-        if (previousSibling &&
-            nsEditor::NodeIsType(previousSibling, nsEditProperty::span) &&
-            NodesSameType(tmp, previousSibling))
-        {
-          res = JoinNodes(previousSibling, tmp, mergeParent);
-          NS_ENSURE_SUCCESS(res, res);
-        }
-        if (nextSibling &&
-            nsEditor::NodeIsType(nextSibling, nsEditProperty::span) &&
-            NodesSameType(tmp, nextSibling))
-        {
-          res = JoinNodes(tmp, nextSibling, mergeParent);
-        }
       }
-      return res;
+      if (nextSibling &&
+          nsEditor::NodeIsType(nextSibling, nsEditProperty::span) &&
+          NodesSameType(tmp, nextSibling))
+      {
+        res = JoinNodes(tmp, nextSibling, mergeParent);
+      }
     }
+    return res;
   }
   
   // don't need to do anything if property already set on node
   bool bHasProp;
   nsCOMPtr<nsIDOMNode> styleNode;
   IsTextPropertySetByContent(aNode, aProperty, aAttribute, aValue, bHasProp, getter_AddRefs(styleNode));
   if (bHasProp) return NS_OK;
 
--- a/editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js
+++ b/editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js
@@ -17,17 +17,16 @@ var knownFailures = {
   'query' : {
     '0-undefined' : true
   },
   'a' : {
     'backcolor-0' : true,
     'backcolor-1' : true,
     'createbookmark-0' : true,
     'fontsize-1' : true,
-    'hilitecolor-0' : true,
     'subscript-1' : true,
     'superscript-1' : true,
   },
   'u': {
     'removeformat-1' : true,
     'removeformat-2' : true,
     'strikethrough-2' : true,
     'subscript-1' : true,
--- a/editor/libeditor/html/tests/browserscope/lib/richtext2/currentStatus.js
+++ b/editor/libeditor/html/tests/browserscope/lib/richtext2/currentStatus.js
@@ -4592,47 +4592,47 @@ const TEST_RESULTS = {
           "innerHTML": "`foo[´<font color=\"blue\">`bar]´</font>`baz´",
           "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo[´<font color=\"blue\">`bar]´</font>`baz´</div>",
           "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo[´<font color=\"blue\">`bar]´</font>`baz´</div>CAN<br>ARY",
           "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo[´<font color=\"blue\">`bar]´</font>`baz´</div>CAN<br>ARY</body>"
         }
       },
       "HC:blue_TEXT-1_SI": {
         "dM": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "`foo[bar]baz´",
-          "innerHTML": "`foo[bar]baz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo[bar]baz´</body>",
-          "bodyInnerHTML": "`foo[bar]baz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo[bar]baz´</body>"
-        },
-        "body": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "`foo[bar]baz´",
-          "innerHTML": "`foo[bar]baz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo[bar]baz´</body>",
-          "bodyInnerHTML": "`foo[bar]baz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo[bar]baz´</body>"
-        },
-        "div": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "`foo[bar]baz´",
-          "innerHTML": "`foo[bar]baz´",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo[bar]baz´</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo[bar]baz´</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo[bar]baz´</div>CAN<br>ARY</body>"
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "innerHTML": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</body>",
+          "bodyInnerHTML": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "innerHTML": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</body>",
+          "bodyInnerHTML": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "innerHTML": "`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo[´<span style=\"background-color: blue;\">`bar]´</span>`baz´</div>CAN<br>ARY</body>"
         }
       },
       "FN:a_TEXT-1_SI": {
         "dM": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 2,
@@ -6140,117 +6140,117 @@ const TEST_RESULTS = {
           "innerHTML": "<font color=\"blue\" size=\"6\">`foo[´<font color=\"green\">`bar]´</font>`baz´</font>",
           "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><font size=\"6\" color=\"blue\">`foo[´<font color=\"green\">`bar]´</font>`baz´</font></div>",
           "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><font color=\"blue\" size=\"6\">`foo[´<font color=\"green\">`bar]´</font>`baz´</font></div>CAN<br>ARY",
           "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><font size=\"6\" color=\"blue\">`foo[´<font color=\"green\">`bar]´</font>`baz´</font></div>CAN<br>ARY</body>"
         }
       },
       "HC:g_FONTs:c:b-1_SW": {
         "dM": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<font style=\"background-color: green;\">`[foobarbaz]´</font>",
+          "innerHTML": "<font style=\"background-color: green;\">`[foobarbaz]´</font>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><font style=\"background-color: green;\">`[foobarbaz]´</font></body>",
+          "bodyInnerHTML": "<font style=\"background-color: green;\">`[foobarbaz]´</font>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><font style=\"background-color: green;\">`[foobarbaz]´</font></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<font style=\"background-color: green;\">`[foobarbaz]´</font>",
+          "innerHTML": "<font style=\"background-color: green;\">`[foobarbaz]´</font>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><font style=\"background-color: green;\">`[foobarbaz]´</font></body>",
+          "bodyInnerHTML": "<font style=\"background-color: green;\">`[foobarbaz]´</font>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><font style=\"background-color: green;\">`[foobarbaz]´</font></body>"
+        },
+        "div": {
+          "valscore": 0,
+          "selscore": 0,
+          "valresult": 6,
+          "selresult": 3,
+          "output": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>",
           "innerHTML": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><font style=\"background-color: blue\">`[foobarbaz]´</font></body>",
-          "bodyInnerHTML": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><font style=\"background-color: blue\">`[foobarbaz]´</font></body>"
-        },
-        "body": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "innerHTML": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><font style=\"background-color: blue\">`[foobarbaz]´</font></body>",
-          "bodyInnerHTML": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><font style=\"background-color: blue\">`[foobarbaz]´</font></body>"
-        },
-        "div": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "innerHTML": "<font style=\"background-color: blue\">`[foobarbaz]´</font>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>CAN<br>ARY</body>"
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div style=\"background-color: green;\" id=\"editor-div\" contenteditable=\"true\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><font style=\"background-color: blue\">`[foobarbaz]´</font></div>CAN<br>ARY</body>"
         }
       },
       "HC:g_SPANs:c:g-1_SW": {
         "dM": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<span style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "innerHTML": "<span style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: green;\">`[foobarbaz]´</span></body>",
+          "bodyInnerHTML": "<span style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: green;\">`[foobarbaz]´</span></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<span style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "innerHTML": "<span style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: green;\">`[foobarbaz]´</span></body>",
+          "bodyInnerHTML": "<span style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: green;\">`[foobarbaz]´</span></body>"
+        },
+        "div": {
+          "valscore": 0,
+          "selscore": 0,
+          "valresult": 6,
+          "selresult": 3,
+          "output": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>",
           "innerHTML": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: blue\">`[foobarbaz]´</span></body>",
-          "bodyInnerHTML": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: blue\">`[foobarbaz]´</span></body>"
-        },
-        "body": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "innerHTML": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: blue\">`[foobarbaz]´</span></body>",
-          "bodyInnerHTML": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: blue\">`[foobarbaz]´</span></body>"
-        },
-        "div": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "innerHTML": "<span style=\"background-color: blue\">`[foobarbaz]´</span>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>CAN<br>ARY</body>"
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div style=\"background-color: green;\" id=\"editor-div\" contenteditable=\"true\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><span style=\"background-color: blue\">`[foobarbaz]´</span></div>CAN<br>ARY</body>"
         }
       },
       "HC:g_SPAN.ass.s:c:rgb-1_SW": {
         "dM": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<span class=\"Apple-style-span\" style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "innerHTML": "<span class=\"Apple-style-span\" style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: green;\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>",
+          "bodyInnerHTML": "<span class=\"Apple-style-span\" style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: green;\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<span class=\"Apple-style-span\" style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "innerHTML": "<span class=\"Apple-style-span\" style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: green;\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>",
+          "bodyInnerHTML": "<span class=\"Apple-style-span\" style=\"background-color: green;\">`[foobarbaz]´</span>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: green;\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>"
+        },
+        "div": {
+          "valscore": 0,
+          "selscore": 0,
+          "valresult": 6,
+          "selresult": 3,
+          "output": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></div>",
           "innerHTML": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>",
-          "bodyInnerHTML": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>"
-        },
-        "body": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "innerHTML": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>",
-          "bodyInnerHTML": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></body>"
-        },
-        "div": {
-          "valscore": 0,
-          "selscore": 0,
-          "valresult": 6,
-          "selresult": 3,
-          "output": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "innerHTML": "<span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></div>CAN<br>ARY</body>"
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div style=\"background-color: green;\" id=\"editor-div\" contenteditable=\"true\"><span class=\"Apple-style-span\" style=\"background-color: rgb(255, 0, 0);\">`[foobarbaz]´</span></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\" style=\"background-color: green;\"><span style=\"background-color: rgb(255, 0, 0);\" class=\"Apple-style-span\">`[foobarbaz]´</span></div>CAN<br>ARY</body>"
         }
       },
       "FN:c_FONTf:a-1_SW": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
@@ -15752,568 +15752,568 @@ const TEST_RESULTS = {
   "I": {
     "Proposed": {
       "IHR_TEXT-1_SC": {
         "dM": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 4,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|`bar´</body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|`bar´</body>"
+          "output": "`foo´<hr>|`bar´",
+          "innerHTML": "`foo´<hr>|`bar´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|`bar´</body>",
+          "bodyInnerHTML": "`foo´<hr>|`bar´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|`bar´</body>"
         },
         "body": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 4,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|`bar´</body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|`bar´</body>"
+          "output": "`foo´<hr>|`bar´",
+          "innerHTML": "`foo´<hr>|`bar´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|`bar´</body>",
+          "bodyInnerHTML": "`foo´<hr>|`bar´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|`bar´</body>"
         },
         "div": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 4,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`bar´",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|`bar´</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr size=\"2\" width=\"100%\">|`bar´</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|`bar´</div>CAN<br>ARY</body>"
+          "output": "`foo´<hr>|`bar´",
+          "innerHTML": "`foo´<hr>|`bar´",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|`bar´</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr>|`bar´</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|`bar´</div>CAN<br>ARY</body>"
         }
       },
       "IHR_TEXT-1_SI": {
         "dM": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 4,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|`baz´</body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|`baz´</body>"
+          "output": "`foo´<hr>|`baz´",
+          "innerHTML": "`foo´<hr>|`baz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|`baz´</body>",
+          "bodyInnerHTML": "`foo´<hr>|`baz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|`baz´</body>"
         },
         "body": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 4,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|`baz´</body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|`baz´</body>"
+          "output": "`foo´<hr>|`baz´",
+          "innerHTML": "`foo´<hr>|`baz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|`baz´</body>",
+          "bodyInnerHTML": "`foo´<hr>|`baz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|`baz´</body>"
         },
         "div": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 4,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|`baz´",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|`baz´</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr size=\"2\" width=\"100%\">|`baz´</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|`baz´</div>CAN<br>ARY</body>"
+          "output": "`foo´<hr>|`baz´",
+          "innerHTML": "`foo´<hr>|`baz´",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|`baz´</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr>|`baz´</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|`baz´</div>CAN<br>ARY</body>"
         }
       },
       "IHR_DIV-B-1_SX": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "innerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div></body>",
-          "bodyInnerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "innerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div></body>",
-          "bodyInnerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "innerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div></div>CAN<br>ARY</body>"
+          "output": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "innerHTML": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></body>",
+          "bodyInnerHTML": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "innerHTML": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></body>",
+          "bodyInnerHTML": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "innerHTML": "<div><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr>|<b>`bar´</b></div></div>CAN<br>ARY</body>"
         }
       },
       "IHR_DIV-B-2_SO": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "innerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`baz´</b></div></body>",
-          "bodyInnerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`baz´</b></div></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "innerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`baz´</b></div></body>",
-          "bodyInnerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`baz´</b></div></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "innerHTML": "<div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`baz´</b></div></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><div><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`baz´</b></div></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`baz´</b></div></div>CAN<br>ARY</body>"
+          "output": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "innerHTML": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></body>",
+          "bodyInnerHTML": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "innerHTML": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></body>",
+          "bodyInnerHTML": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "innerHTML": "<div><b>`foo´</b><hr>|<b>`baz´</b></div>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><div><b>`foo´</b><hr>|<b>`baz´</b></div></div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-1_SC": {
         "dM": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 2,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 0,
-          "valresult": 8,
-          "selresult": 2,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 0,
-          "valresult": 8,
-          "selresult": 2,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr size=\"2\" width=\"100%\">|<b>`bar´</b></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<b>`bar´</b></div>CAN<br>ARY</body>"
+          "output": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "innerHTML": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|<b>`bar´</b></body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|<b>`bar´</b></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "innerHTML": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|<b>`bar´</b></body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|<b>`bar´</b></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "innerHTML": "<b>`foo´</b><hr>|<b>`bar´</b>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|<b>`bar´</b></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr>|<b>`bar´</b></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|<b>`bar´</b></div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-1_SS": {
         "dM": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 2,
-          "output": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "innerHTML": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr width=\"100%\" size=\"2\">|<b>`foobar´</b></body>",
-          "bodyInnerHTML": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr width=\"100%\" size=\"2\">|<b>`foobar´</b></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 0,
-          "valresult": 8,
-          "selresult": 2,
-          "output": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "innerHTML": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr width=\"100%\" size=\"2\">|<b>`foobar´</b></body>",
-          "bodyInnerHTML": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr width=\"100%\" size=\"2\">|<b>`foobar´</b></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 0,
-          "valresult": 8,
-          "selresult": 2,
-          "output": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "innerHTML": "<hr size=\"2\" width=\"100%\">|<b>`foobar´</b>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><hr width=\"100%\" size=\"2\">|<b>`foobar´</b></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><hr size=\"2\" width=\"100%\">|<b>`foobar´</b></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><hr width=\"100%\" size=\"2\">|<b>`foobar´</b></div>CAN<br>ARY</body>"
+          "output": "<hr>|<b>`foobar´</b>",
+          "innerHTML": "<hr>|<b>`foobar´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr>|<b>`foobar´</b></body>",
+          "bodyInnerHTML": "<hr>|<b>`foobar´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr>|<b>`foobar´</b></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "<hr>|<b>`foobar´</b>",
+          "innerHTML": "<hr>|<b>`foobar´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr>|<b>`foobar´</b></body>",
+          "bodyInnerHTML": "<hr>|<b>`foobar´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr>|<b>`foobar´</b></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "<hr>|<b>`foobar´</b>",
+          "innerHTML": "<hr>|<b>`foobar´</b>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><hr>|<b>`foobar´</b></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><hr>|<b>`foobar´</b></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><hr>|<b>`foobar´</b></div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-1_SE": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "innerHTML": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foobar´</b><hr width=\"100%\" size=\"2\">|</body>",
-          "bodyInnerHTML": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foobar´</b><hr width=\"100%\" size=\"2\">|</body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "innerHTML": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foobar´</b><hr width=\"100%\" size=\"2\">|</body>",
-          "bodyInnerHTML": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foobar´</b><hr width=\"100%\" size=\"2\">|</body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "innerHTML": "<b>`foobar´</b><hr size=\"2\" width=\"100%\">|",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foobar´</b><hr width=\"100%\" size=\"2\">|</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foobar´</b><hr size=\"2\" width=\"100%\">|</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foobar´</b><hr width=\"100%\" size=\"2\">|</div>CAN<br>ARY</body>"
+          "output": "<b>`foobar´</b><hr>|",
+          "innerHTML": "<b>`foobar´</b><hr>|",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foobar´</b><hr>|</body>",
+          "bodyInnerHTML": "<b>`foobar´</b><hr>|",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foobar´</b><hr>|</body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foobar´</b><hr>|",
+          "innerHTML": "<b>`foobar´</b><hr>|",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foobar´</b><hr>|</body>",
+          "bodyInnerHTML": "<b>`foobar´</b><hr>|",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foobar´</b><hr>|</body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foobar´</b><hr>|",
+          "innerHTML": "<b>`foobar´</b><hr>|",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foobar´</b><hr>|</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foobar´</b><hr>|</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foobar´</b><hr>|</div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-2_SL": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></div>CAN<br>ARY</body>"
+          "output": "`foo´<hr>|<b>`qoz´</b>",
+          "innerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|<b>`qoz´</b></body>",
+          "bodyInnerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|<b>`qoz´</b></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "`foo´<hr>|<b>`qoz´</b>",
+          "innerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|<b>`qoz´</b></body>",
+          "bodyInnerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|<b>`qoz´</b></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "`foo´<hr>|<b>`qoz´</b>",
+          "innerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|<b>`qoz´</b></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr>|<b>`qoz´</b></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|<b>`qoz´</b></div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-2_SLR": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>",
-          "bodyInnerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "innerHTML": "`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr size=\"2\" width=\"100%\">|<b>`qoz´</b></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr width=\"100%\" size=\"2\">|<b>`qoz´</b></div>CAN<br>ARY</body>"
+          "output": "`foo´<hr>|<b>`qoz´</b>",
+          "innerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|<b>`qoz´</b></body>",
+          "bodyInnerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\">`foo´<hr>|<b>`qoz´</b></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "`foo´<hr>|<b>`qoz´</b>",
+          "innerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|<b>`qoz´</b></body>",
+          "bodyInnerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\">`foo´<hr>|<b>`qoz´</b></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "`foo´<hr>|<b>`qoz´</b>",
+          "innerHTML": "`foo´<hr>|<b>`qoz´</b>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|<b>`qoz´</b></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\">`foo´<hr>|<b>`qoz´</b></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\">`foo´<hr>|<b>`qoz´</b></div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-3_SR": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</div>CAN<br>ARY</body>"
+          "output": "<b>`foo´</b><hr>|`quoz´",
+          "innerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|`quoz´</body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|`quoz´</body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foo´</b><hr>|`quoz´",
+          "innerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|`quoz´</body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|`quoz´</body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foo´</b><hr>|`quoz´",
+          "innerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|`quoz´</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr>|`quoz´</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|`quoz´</div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-3_SRR": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr size=\"2\" width=\"100%\">|`quoz´</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|`quoz´</div>CAN<br>ARY</body>"
+          "output": "<b>`foo´</b><hr>|`quoz´",
+          "innerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|`quoz´</body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|`quoz´</body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foo´</b><hr>|`quoz´",
+          "innerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|`quoz´</body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|`quoz´</body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foo´</b><hr>|`quoz´",
+          "innerHTML": "<b>`foo´</b><hr>|`quoz´",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|`quoz´</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr>|`quoz´</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|`quoz´</div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-I-1_SM": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></div>CAN<br>ARY</body>"
+          "output": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "innerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|<i>`quoz´</i></body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|<i>`quoz´</i></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "innerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|<i>`quoz´</i></body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|<i>`quoz´</i></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "innerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|<i>`quoz´</i></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr>|<i>`quoz´</i></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|<i>`quoz´</i></div>CAN<br>ARY</body>"
         }
       },
       "IHR_B-I-1_SMR": {
         "dM": {
           "valscore": 1,
           "selscore": 0,
           "valresult": 8,
           "selresult": 2,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 0,
-          "valresult": 8,
-          "selresult": 2,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>",
-          "bodyInnerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 0,
-          "valresult": 8,
-          "selresult": 2,
-          "output": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "innerHTML": "<b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr size=\"2\" width=\"100%\">|<i>`quoz´</i></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr width=\"100%\" size=\"2\">|<i>`quoz´</i></div>CAN<br>ARY</body>"
+          "output": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "innerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|<i>`quoz´</i></body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><b>`foo´</b><hr>|<i>`quoz´</i></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "innerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|<i>`quoz´</i></body>",
+          "bodyInnerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><b>`foo´</b><hr>|<i>`quoz´</i></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 0,
+          "valresult": 8,
+          "selresult": 2,
+          "output": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "innerHTML": "<b>`foo´</b><hr>|<i>`quoz´</i>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|<i>`quoz´</i></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><b>`foo´</b><hr>|<i>`quoz´</i></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><b>`foo´</b><hr>|<i>`quoz´</i></div>CAN<br>ARY</body>"
         }
       },
       "IHR_P-1_SC": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "innerHTML": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foo´</p><hr width=\"100%\" size=\"2\">|<p>`bar´</p></body>",
-          "bodyInnerHTML": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foo´</p><hr width=\"100%\" size=\"2\">|<p>`bar´</p></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "innerHTML": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foo´</p><hr width=\"100%\" size=\"2\">|<p>`bar´</p></body>",
-          "bodyInnerHTML": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foo´</p><hr width=\"100%\" size=\"2\">|<p>`bar´</p></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "innerHTML": "<p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><p>`foo´</p><hr width=\"100%\" size=\"2\">|<p>`bar´</p></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><p>`foo´</p><hr size=\"2\" width=\"100%\">|<p>`bar´</p></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><p>`foo´</p><hr width=\"100%\" size=\"2\">|<p>`bar´</p></div>CAN<br>ARY</body>"
+          "output": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "innerHTML": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foo´</p><hr>|<p>`bar´</p></body>",
+          "bodyInnerHTML": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foo´</p><hr>|<p>`bar´</p></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "innerHTML": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foo´</p><hr>|<p>`bar´</p></body>",
+          "bodyInnerHTML": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foo´</p><hr>|<p>`bar´</p></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "innerHTML": "<p>`foo´</p><hr>|<p>`bar´</p>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><p>`foo´</p><hr>|<p>`bar´</p></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><p>`foo´</p><hr>|<p>`bar´</p></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><p>`foo´</p><hr>|<p>`bar´</p></div>CAN<br>ARY</body>"
         }
       },
       "IHR_P-1_SS": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "innerHTML": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr width=\"100%\" size=\"2\">|<p>`foobar´</p></body>",
-          "bodyInnerHTML": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr width=\"100%\" size=\"2\">|<p>`foobar´</p></body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "innerHTML": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr width=\"100%\" size=\"2\">|<p>`foobar´</p></body>",
-          "bodyInnerHTML": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr width=\"100%\" size=\"2\">|<p>`foobar´</p></body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "innerHTML": "<hr size=\"2\" width=\"100%\">|<p>`foobar´</p>",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><hr width=\"100%\" size=\"2\">|<p>`foobar´</p></div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><hr size=\"2\" width=\"100%\">|<p>`foobar´</p></div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><hr width=\"100%\" size=\"2\">|<p>`foobar´</p></div>CAN<br>ARY</body>"
+          "output": "<hr>|<p>`foobar´</p>",
+          "innerHTML": "<hr>|<p>`foobar´</p>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr>|<p>`foobar´</p></body>",
+          "bodyInnerHTML": "<hr>|<p>`foobar´</p>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><hr>|<p>`foobar´</p></body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<hr>|<p>`foobar´</p>",
+          "innerHTML": "<hr>|<p>`foobar´</p>",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr>|<p>`foobar´</p></body>",
+          "bodyInnerHTML": "<hr>|<p>`foobar´</p>",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><hr>|<p>`foobar´</p></body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<hr>|<p>`foobar´</p>",
+          "innerHTML": "<hr>|<p>`foobar´</p>",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><hr>|<p>`foobar´</p></div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><hr>|<p>`foobar´</p></div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><hr>|<p>`foobar´</p></div>CAN<br>ARY</body>"
         }
       },
       "IHR_P-1_SE": {
         "dM": {
           "valscore": 1,
           "selscore": 1,
           "valresult": 8,
           "selresult": 5,
-          "output": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "innerHTML": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foobar´</p><hr width=\"100%\" size=\"2\">|</body>",
-          "bodyInnerHTML": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foobar´</p><hr width=\"100%\" size=\"2\">|</body>"
-        },
-        "body": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "innerHTML": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foobar´</p><hr width=\"100%\" size=\"2\">|</body>",
-          "bodyInnerHTML": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foobar´</p><hr width=\"100%\" size=\"2\">|</body>"
-        },
-        "div": {
-          "valscore": 1,
-          "selscore": 1,
-          "valresult": 8,
-          "selresult": 5,
-          "output": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "innerHTML": "<p>`foobar´</p><hr size=\"2\" width=\"100%\">|",
-          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><p>`foobar´</p><hr width=\"100%\" size=\"2\">|</div>",
-          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><p>`foobar´</p><hr size=\"2\" width=\"100%\">|</div>CAN<br>ARY",
-          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><p>`foobar´</p><hr width=\"100%\" size=\"2\">|</div>CAN<br>ARY</body>"
+          "output": "<p>`foobar´</p><hr>|",
+          "innerHTML": "<p>`foobar´</p><hr>|",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foobar´</p><hr>|</body>",
+          "bodyInnerHTML": "<p>`foobar´</p><hr>|",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" onload=\"setDesignMode()\"><p>`foobar´</p><hr>|</body>"
+        },
+        "body": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<p>`foobar´</p><hr>|",
+          "innerHTML": "<p>`foobar´</p><hr>|",
+          "outerHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foobar´</p><hr>|</body>",
+          "bodyInnerHTML": "<p>`foobar´</p><hr>|",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\"><p>`foobar´</p><hr>|</body>"
+        },
+        "div": {
+          "valscore": 1,
+          "selscore": 1,
+          "valresult": 8,
+          "selresult": 5,
+          "output": "<p>`foobar´</p><hr>|",
+          "innerHTML": "<p>`foobar´</p><hr>|",
+          "outerHTML": "<div xmlns=\"http://www.w3.org/1999/xhtml\" contenteditable=\"true\" id=\"editor-div\"><p>`foobar´</p><hr>|</div>",
+          "bodyInnerHTML": "CAN<br>ARY<div id=\"editor-div\" contenteditable=\"true\"><p>`foobar´</p><hr>|</div>CAN<br>ARY",
+          "bodyOuterHTML": "<body xmlns=\"http://www.w3.org/1999/xhtml\">CAN<br>ARY<div contenteditable=\"true\" id=\"editor-div\"><p>`foobar´</p><hr>|</div>CAN<br>ARY</body>"
         }
       },
       "IP_P-1_SC": {
         "dM": {
           "valscore": 0,
           "selscore": 0,
           "valresult": 6,
           "selresult": 3,
--- a/layout/reftests/bugs/388980-1.html
+++ b/layout/reftests/bugs/388980-1.html
@@ -1,17 +1,17 @@
 <html>
 <head>
 <title>Reftest for bug 388980</title></html>
 <script type="text/javascript">
 
 var text = '<html><head></head><body style="font-size:16px;">'
 	+ '<p id="redpar">This paragraph should be red</p>'
 	+ '<p id="bluepar">This paragraph should be blue</p>'
-	+ '<p id="normalpar">This paragraph should not be colored</p>'
+	+ '<p>This paragraph should not be colored</p>'
 	+'</body></html>';
 
 
 function colorPar(par, color) {
 	var doc = document.getElementById('theIFrame').contentDocument;
 	var win = document.getElementById('theIFrame').contentWindow;
 	win.getSelection().selectAllChildren(doc.getElementById(par));
 	doc.execCommand("hilitecolor", false, color);
@@ -23,22 +23,21 @@ function initIFrame() {
 	doc.designMode = 'on';
 	doc.open('text/html');
 	doc.write(text);
 	doc.close();
 	
 	// Test hilighting with styleWithCSS, should hilight the text...
 	doc.execCommand("styleWithCSS", false, true);
 	colorPar("redpar", "red");
+
+	// Test highlighting without styleWithCSS, should also work.
+	doc.execCommand("styleWithCSS", false, false);
 	colorPar("bluepar", "blue");
 
-	// Test highlighting without styleWithCSS, should do nothing.
-	doc.execCommand("styleWithCSS", false, false);
-	colorPar("normalpar", "red");
-
 }
 </script>
 </head>
 <body>
 <iframe id="theIFrame" onload="initIFrame()">
 </iframe>
 </body>
 </html>