Class BeforeAttributeName
BeforeAttributeName
Diese Methode bildet den Status 8.2.4.34 Before attribute name state der HTML-Spezifikation ab.
- Alvine\Core\Alvine
- Alvine\Markup\Html\Tokenizer\State
- Alvine\Markup\Html\Tokenizer\State\BeforeAttributeName
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. "/" (U+002F) Switch to the self-closing start tag state. ">" (U+003E) Switch to the data state. Emit the current tag token. Uppercase ASCII letter Start a new attribute in the current tag token. Set that attribute's name to the lowercase version of the current input character (add 0x0020 to the character's code point), and its value to the empty string. Switch to the attribute name state. U+0000 NULL Parse error. Start a new attribute in the current tag token. Set that attribute's name to a U+FFFD REPLACEMENT CHARACTER character, and its value to the empty string. Switch to the attribute name state. U+0022 QUOTATION MARK (") "'" (U+0027) "<" (U+003C) "=" (U+003D) Parse error. Treat it as per the "anything else" entry below. EOF Parse error. Switch to the data state. Reconsume the EOF character. Anything else Start a new attribute in the current tag token. Set that attribute's name to the current input character, and its value to the empty string. Switch to the attribute name state.
Link: alvine.io
Located at tokenizer/state/BeforeAttributeName.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. "/" (U+002F) Switch to the self-closing start tag state. ">" (U+003E) Switch to the data state. Emit the current tag token. Uppercase ASCII letter Start a new attribute in the current tag token. Set that attribute's name to the lowercase version of the current input character (add 0x0020 to the character's code point), and its value to the empty string. Switch to the attribute name state. U+0000 NULL Parse error. Start a new attribute in the current tag token. Set that attribute's name to a U+FFFD REPLACEMENT CHARACTER character, and its value to the empty string. Switch to the attribute name state. U+0022 QUOTATION MARK (") "'" (U+0027) "<" (U+003C) "=" (U+003D) Parse error. Treat it as per the "anything else" entry below. EOF Parse error. Switch to the data state. Reconsume the EOF character. Anything else Start a new attribute in the current tag token. Set that attribute's name to the current input character, and its value to the empty string. Switch to the attribute name state.
Link: alvine.io
Located at tokenizer/state/BeforeAttributeName.class.php
public
|
#
__construct(
Neues Objekt |
public
Alvine\Markup\Html\Tokenizer\BeforeAttributeName
|
protected
|
$currentToken
|
$tokenizer
|