handleFramesetWhitespace( true, $text, $start, $length, $sourceStart, $sourceLength );
}
public function startTag( $name, Attributes $attrs, $selfClose, $sourceStart, $sourceLength ) {
$builder = $this->builder;
$dispatcher = $this->dispatcher;
switch ( $name ) {
case 'html':
$dispatcher->inBody->startTag( $name, $attrs, $selfClose,
$sourceStart, $sourceLength );
break;
case 'noframes':
$dispatcher->inHead->startTag( $name, $attrs, $selfClose,
$sourceStart, $sourceLength );
break;
default:
$builder->error( "unexpected start tag after after frameset", $sourceStart );
}
}
public function endTag( $name, $sourceStart, $sourceLength ) {
$this->builder->error( "unexpected end tag after after frameset", $sourceStart );
}
public function endDocument( $pos ) {
$this->builder->stopParsing( $pos );
}
public function comment( $text, $sourceStart, $sourceLength ) {
$this->builder->comment( [ TreeBuilder::ROOT, null ], $text, $sourceStart, $sourceLength );
}
}