From 8920edee2043e51b9aa5d0deaee999f4dfd34542 Mon Sep 17 00:00:00 2001
From: Ian Hickson 12.2.5.4.3 The "<
a tag name subject for which the algorithm is being run, consists of the
following steps:
Let outer loop counter be zero.
If the current node is an HTML element whose + tag name is subject, then run these substeps: + +
Let element be the current node.
Pop element off the stack of open elements.
If element is also in the list of active formatting + elements, remove the element from the list.
Abort the adoption agency algorithm.
Let outer loop counter be zero.
Outer loop: If outer loop counter is greater than or equal to eight, then abort these steps.
Let outer loop counter be zero.
If the current node is an HTML element whose + tag name is subject, then run these substeps: + +
Let element be the current node.
Pop element off the stack of open elements.
If element is also in the list of active formatting + elements, remove the element from the list.
Abort the adoption agency algorithm.
Let outer loop counter be zero.
Outer loop: If outer loop counter is greater than or equal to eight, then abort these steps.
If the current node is an HTML element whose + tag name is subject, then run these substeps: + +
Let element be the current node.
Pop element off the stack of open elements.
If element is also in the list of active formatting + elements, remove the element from the list.
Abort the adoption agency algorithm.
Let outer loop counter be zero.
Outer loop: If outer loop counter is greater than or equal to