while ((parent = parent.parentElement) !== null) {
switch (parent.tagName) {
case "B":
+ case "DEL":
case "EM":
case "I":
case "STRONG":
while ((parent = parent.parentElement) !== null) {
switch (parent.tagName) {
case "B":
+ case "DEL":
case "EM":
case "I":
case "STRONG":
while (($parent = $parent->parentNode) !== null) {
switch ($parent->nodeName) {
case "b":
+ case "del":
case "em":
case "i":
case "strong":