You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dom/base/test/test_text-fragments-create-text-directive.html
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -72,10 +72,12 @@
72
72
<td>foo</td>
73
73
</tr>
74
74
</table>
75
-
<!-- (crash)Test case for Bug 1987845; example paragraph found on https://en.wikipedia.org/wiki/Nuclear_weapon-->
75
+
<!-- (crash)Test cases for Bug 1987845; example paragraph found on https://en.wikipedia.org/wiki/Nuclear_weapon-->
76
76
<p>Nuclear<!-- This is needed so that there is an additional match to consider --></p>
77
77
<pid="rangeBasedWihSpaceInTheMiddle">Nuclear weapons have only twice been used in warfare, both times by the United States against Japan at the end of World War II. On August 6, 1945, the United States Army Air Forces (USAAF) detonated a uranium gun-type fission bomb nicknamed "Little Boy" over the Japanese city of Hiroshima; three days later, on August 9, the USAAF[4] detonated a plutonium implosion-type fission bomb nicknamed "Fat Man" over the Japanese city of Nagasaki. These bombings caused injuries that resulted in the deaths of approximately 200,000 civilians and military personnel.[5] The ethics of these bombings and their role in Japan's surrender are to this day, still subjects of debate</p>
78
-
78
+
<!-- note that "text" must already exist in the page to trigger this. -->
79
+
<pid="rangeBasedWithPunctuationAfterFirstWordStart">Text: the colon</p>
80
+
<pid="rangeBasedWithPunctuationAfterFirstWordEnd">is important here</p>
content: "Nuclear weapons have only twice been used in warfare, both times by the United States against Japan at the end of World War II. On August 6, 1945, the United States Army Air Forces (USAAF) detonated a uranium gun-type fission bomb nicknamed \"Little Boy\" over the Japanese city of Hiroshima; three days later, on August 9, the USAAF[4] detonated a plutonium implosion-type fission bomb nicknamed \"Fat Man\" over the Japanese city of Nagasaki. These bombings caused injuries that resulted in the deaths of approximately 200,000 civilians and military personnel.[5] The ethics of these bombings and their role in Japan's surrender are to this day, still subjects of debate",
454
456
textDirective: "text=Nuclear%20weapons,debate",
457
+
},
458
+
{
459
+
name: "Test for Bug 1987845: Punctuation after first word of range",
0 commit comments