Switch back to using nodeBefore for finding previous node with a break statement
displayedElementBefore
was causing issues with the break-before handling by looking for a the previous element instead of the direct previous node.
displayedElementBefore
was causing issues with the break-before handling by looking for a the previous element instead of the direct previous node.