class AdjustForeignAttributes extends Alvine

When the steps below require the user agent to adjust foreign attributes for a token, then, if any of the attributes on the token match the strings given in the first column of the following table, let the attribute be a namespaced attribute, with the prefix being the string given in the corresponding cell in the second column, the local name being the string given in the corresponding cell in the third column, and the namespace being the namespace given in the corresponding cell in the fourth column. (This fixes the use of namespaced attributes, in particular lang attributes in the XML namespace.)

Properties

static protected array $map

Methods

static string
map(string $from)

Mappen

static StartTag
adjust(StartTag $token)

No description

Details

at line 69
static string map(string $from)

Mappen

Parameters

string $from

Return Value

string

at line 84
static StartTag adjust(StartTag $token)

Parameters

StartTag $token

Return Value

StartTag