Class BeforeAttributeValue
BeforeAttributeValue
Diese Methode bildet den Status 8.2.4.37 Before attribute value state der HTML-Spezifikation ab.
- Alvine\Core\Alvine
- Alvine\Markup\Html\Tokenizer\State
- Alvine\Markup\Html\Tokenizer\State\BeforeAttributeValue
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+0022 QUOTATION MARK (") Switch to the attribute value (double-quoted) state. U+0026 AMPERSAND (&) Switch to the attribute value (unquoted) state. Reconsume the current input character. "'" (U+0027) Switch to the attribute value (single-quoted) state. U+0000 NULL Parse error. Append a U+FFFD REPLACEMENT CHARACTER character to the current attribute's value. Switch to the attribute value (unquoted) state. ">" (U+003E) Parse error. Switch to the data state. Emit the current tag token. "<" (U+003C) "=" (U+003D) "`" (U+0060) 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 Append the current input character to the current attribute's value. Switch to the attribute value (unquoted) state.
Link: alvine.io
Located at tokenizer/state/BeforeAttributeValue.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+0022 QUOTATION MARK (") Switch to the attribute value (double-quoted) state. U+0026 AMPERSAND (&) Switch to the attribute value (unquoted) state. Reconsume the current input character. "'" (U+0027) Switch to the attribute value (single-quoted) state. U+0000 NULL Parse error. Append a U+FFFD REPLACEMENT CHARACTER character to the current attribute's value. Switch to the attribute value (unquoted) state. ">" (U+003E) Parse error. Switch to the data state. Emit the current tag token. "<" (U+003C) "=" (U+003D) "`" (U+0060) 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 Append the current input character to the current attribute's value. Switch to the attribute value (unquoted) state.
Link: alvine.io
Located at tokenizer/state/BeforeAttributeValue.class.php
public
|
#
__construct(
Neues Objekt |
protected
|
|
public
Alvine\Markup\Html\Tokenizer\BeforeAttributeValue
|
protected
|
$currentToken
|
$tokenizer
|