Class BeforeDoctypeName
BeforeDoctypeName
Diese Methode bildet den Status 8.2.4.53 Before DOCTYPE name state der HTML-Spezifikation ab.
- Alvine\Core\Alvine
- Alvine\Markup\Html\Tokenizer\State
- Alvine\Markup\Html\Tokenizer\State\BeforeDoctypeName
Namespace: Alvine\Markup\Html\Tokenizer\State
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150302
Link: Consume the next input character: "tab" (U+0009) "LF" (U+000A) "FF" (U+000C) U+0020 SPACE Ignore the character. Uppercase ASCII letter Create a new DOCTYPE token. Set the token's name to the lowercase version of the current input character (add 0x0020 to the character's code point). Switch to the DOCTYPE name state. U+0000 NULL Parse error. Create a new DOCTYPE token. Set the token's name to a U+FFFD REPLACEMENT CHARACTER character. Switch to the DOCTYPE name state. ">" (U+003E) Parse error. Create a new DOCTYPE token. Set its force-quirks flag to on. Switch to the data state. Emit the token. EOF Parse error. Switch to the data state. Create a new DOCTYPE token. Set its force-quirks flag to on. Emit the token. Reconsume the EOF character. Anything else Create a new DOCTYPE token. Set the token's name to the current input character. Switch to the DOCTYPE name state.
Link: alvine.io
Located at tokenizer/state/BeforeDoctypeName.class.php
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150302
Link: Consume the next input character: "tab" (U+0009) "LF" (U+000A) "FF" (U+000C) U+0020 SPACE Ignore the character. Uppercase ASCII letter Create a new DOCTYPE token. Set the token's name to the lowercase version of the current input character (add 0x0020 to the character's code point). Switch to the DOCTYPE name state. U+0000 NULL Parse error. Create a new DOCTYPE token. Set the token's name to a U+FFFD REPLACEMENT CHARACTER character. Switch to the DOCTYPE name state. ">" (U+003E) Parse error. Create a new DOCTYPE token. Set its force-quirks flag to on. Switch to the data state. Emit the token. EOF Parse error. Switch to the data state. Create a new DOCTYPE token. Set its force-quirks flag to on. Emit the token. Reconsume the EOF character. Anything else Create a new DOCTYPE token. Set the token's name to the current input character. Switch to the DOCTYPE name state.
Link: alvine.io
Located at tokenizer/state/BeforeDoctypeName.class.php
public
Alvine\Markup\Html\Tokenizer\BeforeDoctypeName
|
__construct()
|
$tokenizer
|