[typing-around-link-element-at-collapsed-selection.tentative.html?target=DesignMode&parent=b&child=i]
  [Inserting "XY" after setting caret position to start of a link in <b> and containing <i> (Selection.collapse) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to start of a link in <b> and containing <i> (Selection.addRange) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link in <b> and containing <i> (Selection.collapse) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link in <b> and containing <i> (Selection.addRange) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to start of a link in <b> and containing <i> in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to end of a link in <b> and containing <i> in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link in <b> and containing <i> (Backspace) in <p><b><a href="about:blank"><i>abc</i></a>d[\]</b></p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link in <b> and containing <i> (execCommand("delete")) in <p><b><a href="about:blank"><i>abc</i></a>d[\]</b></p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link in <b> and containing <i> (Delete) in <p><b>[\]z<a href="about:blank"><i>abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link in <b> and containing <i> (execCommand("forwarddelete")) in <p><b>[\]z<a href="about:blank"><i>abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (Backspace) in <p><b><a href="about:blank"><i>abcd[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (execCommand("delete")) in <p><b><a href="about:blank"><i>abcd[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (Delete) in <p><b><a href="about:blank"><i>abc[\]d</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (execCommand("forwarddelete")) in <p><b><a href="about:blank"><i>abc[\]d</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (Backspace) in <p><b><a href="about:blank"><i>z[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (execCommand("delete")) in <p><b><a href="about:blank"><i>z[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (Delete) in <p><b><a href="about:blank"><i>[\]zabc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (execCommand("forwarddelete")) in <p><b><a href="about:blank"><i>[\]zabc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text in <p><b><a href="about:blank" class="bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text in <p><b><a href="about:blank" class="bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text in <p><b><a href="about:blank" style="font-weight: bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text in <p><b><a href="about:blank" style="font-weight: bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text (in CSS mode) in <p><b><a href="about:blank" class="bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text (in CSS mode) in <p><b><a href="about:blank" class="bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text (in CSS mode) in <p><b><a href="about:blank" style="font-weight: bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text (in CSS mode) in <p><b><a href="about:blank" style="font-weight: bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL


[typing-around-link-element-at-collapsed-selection.tentative.html?target=ContentEditable&parent=b&child=i]
  [Inserting "XY" after setting caret position to start of a link in <b> and containing <i> (Selection.collapse) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to start of a link in <b> and containing <i> (Selection.addRange) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link in <b> and containing <i> (Selection.collapse) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link in <b> and containing <i> (Selection.addRange) in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to start of a link in <b> and containing <i> in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to end of a link in <b> and containing <i> in <p><b><a href="about:blank"><i>ab[\]c</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link in <b> and containing <i> (Backspace) in <p><b><a href="about:blank"><i>abc</i></a>d[\]</b></p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link in <b> and containing <i> (execCommand("delete")) in <p><b><a href="about:blank"><i>abc</i></a>d[\]</b></p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link in <b> and containing <i> (Delete) in <p><b>[\]z<a href="about:blank"><i>abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link in <b> and containing <i> (execCommand("forwarddelete")) in <p><b>[\]z<a href="about:blank"><i>abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (Backspace) in <p><b><a href="about:blank"><i>abcd[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (execCommand("delete")) in <p><b><a href="about:blank"><i>abcd[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (Delete) in <p><b><a href="about:blank"><i>abc[\]d</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link in <b> and containing <i> (execCommand("forwarddelete")) in <p><b><a href="about:blank"><i>abc[\]d</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (Backspace) in <p><b><a href="about:blank"><i>z[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (execCommand("delete")) in <p><b><a href="about:blank"><i>z[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (Delete) in <p><b><a href="about:blank"><i>[\]zabc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link in <b> and containing <i> (execCommand("forwarddelete")) in <p><b><a href="about:blank"><i>[\]zabc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text in <p><b><a href="about:blank" class="bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text in <p><b><a href="about:blank" class="bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text in <p><b><a href="about:blank" style="font-weight: bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text in <p><b><a href="about:blank" style="font-weight: bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text (in CSS mode) in <p><b><a href="about:blank" class="bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text (in CSS mode) in <p><b><a href="about:blank" class="bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text (in CSS mode) in <p><b><a href="about:blank" style="font-weight: bold"><i>[\]abc</i></a></b></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text (in CSS mode) in <p><b><a href="about:blank" style="font-weight: bold"><i>abc[\]</i></a></b></p>]
    expected: FAIL


[typing-around-link-element-at-collapsed-selection.tentative.html?target=ContentEditable&parent=b]
  [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following Selection.collapseToEnd) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following Selection.collapseToStart) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following Home key press) in <p><b>[abc\]</b></p>]
    expected: FAIL


[typing-around-link-element-at-collapsed-selection.tentative.html?target=DesignMode&child=b]
  [Inserting "XY" after setting caret position to start of a link containing <b> (Selection.collapse) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to start of a link containing <b> (Selection.addRange) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link containing <b> (Selection.collapse) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link containing <b> (Selection.addRange) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to start of a link containing <b> in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to end of a link containing <b> in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link containing <b> (Backspace) in <p><a href="about:blank"><b>abc</b></a>d[\]</p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link containing <b> (execCommand("delete")) in <p><a href="about:blank"><b>abc</b></a>d[\]</p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link containing <b> (Delete) in <p>[\]z<a href="about:blank"><b>abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link containing <b> (execCommand("forwarddelete")) in <p>[\]z<a href="about:blank"><b>abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (Backspace) in <p><a href="about:blank"><b>abcd[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (execCommand("delete")) in <p><a href="about:blank"><b>abcd[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (Delete) in <p><a href="about:blank"><b>abc[\]d</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (execCommand("forwarddelete")) in <p><a href="about:blank"><b>abc[\]d</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (Backspace) in <p><a href="about:blank"><b>z[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (execCommand("delete")) in <p><a href="about:blank"><b>z[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (Delete) in <p><a href="about:blank"><b>[\]zabc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (execCommand("forwarddelete")) in <p><a href="about:blank"><b>[\]zabc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text in <p><a href="about:blank" class="bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text in <p><a href="about:blank" class="bold"><b>abc[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text in <p><a href="about:blank" style="font-weight: bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text in <p><a href="about:blank" style="font-weight: bold"><b>abc[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text (in CSS mode) in <p><a href="about:blank" class="bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text (in CSS mode) in <p><a href="about:blank" class="bold"><b>abc[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text (in CSS mode) in <p><a href="about:blank" style="font-weight: bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text (in CSS mode) in <p><a href="about:blank" style="font-weight: bold"><b>abc[\]</b></a></p>]
    expected: FAIL


[typing-around-link-element-at-collapsed-selection.tentative.html?target=DesignMode&parent=b]
  [Replacing text in a link in <b> with "XY" in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following Selection.collapseToEnd) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following ArrowRight key press) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following End key press) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following Selection.collapseToStart) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following ArrowLeft key press) in <p><b>[abc\]</b></p>]
    expected: FAIL

  [Inserting "XY" after making a link in <b> (following Home key press) in <p><b>[abc\]</b></p>]
    expected: FAIL


[typing-around-link-element-at-collapsed-selection.tentative.html?target=ContentEditable&child=b]
  [Inserting "XY" after setting caret position to start of a link containing <b> (Selection.collapse) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to start of a link containing <b> (Selection.addRange) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link containing <b> (Selection.collapse) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after setting caret position to end of a link containing <b> (Selection.addRange) in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to start of a link containing <b> in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after modifying caret position to end of a link containing <b> in <p><a href="about:blank"><b>ab[\]c</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link containing <b> (Backspace) in <p><a href="about:blank"><b>abc</b></a>d[\]</p>]
    expected: FAIL

  [Inserting "XY" after deleting following character of a link containing <b> (execCommand("delete")) in <p><a href="about:blank"><b>abc</b></a>d[\]</p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link containing <b> (Delete) in <p>[\]z<a href="about:blank"><b>abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting a previous character of a link containing <b> (execCommand("forwarddelete")) in <p>[\]z<a href="about:blank"><b>abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (Backspace) in <p><a href="about:blank"><b>abcd[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (execCommand("delete")) in <p><a href="about:blank"><b>abcd[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (Delete) in <p><a href="about:blank"><b>abc[\]d</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting last character of a link containing <b> (execCommand("forwarddelete")) in <p><a href="about:blank"><b>abc[\]d</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (Backspace) in <p><a href="about:blank"><b>z[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (execCommand("delete")) in <p><a href="about:blank"><b>z[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (Delete) in <p><a href="about:blank"><b>[\]zabc</b></a></p>]
    expected: FAIL

  [Inserting "XY" after deleting first character of a link containing <b> (execCommand("forwarddelete")) in <p><a href="about:blank"><b>[\]zabc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text in <p><a href="about:blank" class="bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text in <p><a href="about:blank" class="bold"><b>abc[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text in <p><a href="about:blank" style="font-weight: bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text in <p><a href="about:blank" style="font-weight: bold"><b>abc[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has a class for bold text (in CSS mode) in <p><a href="about:blank" class="bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has a class for bold text (in CSS mode) in <p><a href="about:blank" class="bold"><b>abc[\]</b></a></p>]
    expected: FAIL

  [Inserting "XY" at start of a link which has inline style for bold text (in CSS mode) in <p><a href="about:blank" style="font-weight: bold"><b>[\]abc</b></a></p>]
    expected: FAIL

  [Inserting "XY" at end of a link which has inline style for bold text (in CSS mode) in <p><a href="about:blank" style="font-weight: bold"><b>abc[\]</b></a></p>]
    expected: FAIL


[typing-around-link-element-at-collapsed-selection.tentative.html?target=DesignMode]

[typing-around-link-element-at-collapsed-selection.tentative.html?target=ContentEditable]
