' );
+
+ $this->assertTrue( $processor->next_tag( 'DIV' ) );
+ $this->assertSame( array( 'HTML', 'BODY', 'TEMPLATE', 'SVG', 'TEMPLATE', 'FOREIGNOBJECT', 'DIV' ), $processor->get_breadcrumbs() );
+ $this->assertTrue( $processor->next_tag( 'DIV' ) );
+ $this->assertSame( array( 'HTML', 'BODY', 'DIV' ), $processor->get_breadcrumbs() );
+ }
+
/**
* Ensures that the tag processor is case sensitive when removing CSS classes in no-quirks mode.
*