Class ScriptDataEndTagName
ScriptDataEndTagName
Diese Methode bildet den Status 8.2.4.19 Script data end tag name state der HTML-Spezifikation ab.
- Alvine\Core\Alvine
- Alvine\Markup\Html\Tokenizer\State
- Alvine\Markup\Html\Tokenizer\State\ScriptDataEndTagName
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: identical to the RCDATA (and RAWTEXT) end tag name state, except s/RCDATA/Script data/gConsume the next input character: "tab" (U+0009) "LF" (U+000A) "FF" (U+000C) U+0020 SPACE If the current end tag token is an appropriate end tag token, then switch to the before attribute name state. Otherwise, treat it as per the "anything else" entry below. "/" (U+002F) If the current end tag token is an appropriate end tag token, then switch to the self-closing start tag state. Otherwise, treat it as per the "anything else" entry below. ">" (U+003E) If the current end tag token is an appropriate end tag token, then switch to the data state and emit the current tag token. Otherwise, treat it as per the "anything else" entry below. Uppercase ASCII letter Append the lowercase version of the current input character (add 0x0020 to the character's code point) to the current tag token's tag name. Append the current input character to the temporary buffer. Lowercase ASCII letter Append the current input character to the current tag token's tag name. Append the current input character to the temporary buffer. Anything else Switch to the script data state. Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS character token, and a character token for each of the characters in the temporary buffer (in the order they were added to the buffer). Reconsume the current input character.
Link: alvine.io
Located at tokenizer/state/ScriptDataEndTagName.class.php
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150302
Link: identical to the RCDATA (and RAWTEXT) end tag name state, except s/RCDATA/Script data/gConsume the next input character: "tab" (U+0009) "LF" (U+000A) "FF" (U+000C) U+0020 SPACE If the current end tag token is an appropriate end tag token, then switch to the before attribute name state. Otherwise, treat it as per the "anything else" entry below. "/" (U+002F) If the current end tag token is an appropriate end tag token, then switch to the self-closing start tag state. Otherwise, treat it as per the "anything else" entry below. ">" (U+003E) If the current end tag token is an appropriate end tag token, then switch to the data state and emit the current tag token. Otherwise, treat it as per the "anything else" entry below. Uppercase ASCII letter Append the lowercase version of the current input character (add 0x0020 to the character's code point) to the current tag token's tag name. Append the current input character to the temporary buffer. Lowercase ASCII letter Append the current input character to the current tag token's tag name. Append the current input character to the temporary buffer. Anything else Switch to the script data state. Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS character token, and a character token for each of the characters in the temporary buffer (in the order they were added to the buffer). Reconsume the current input character.
Link: alvine.io
Located at tokenizer/state/ScriptDataEndTagName.class.php
public
|
#
__construct(
Neues Objekt |
public
Alvine\Markup\Html\Tokenizer\ScriptDataEndTagName
|
protected
|
$currentToken
|
$tokenizer
|