From 6d147a5bd3c4729e3f59a2b854d80aba7a8d888b Mon Sep 17 00:00:00 2001
From: Andy Paicu
When a token is emitted, it must immediately be handled by the tree construction stage. The tree construction stage can affect the state of the tokenization stage, and can insert @@ -104054,8 +104056,9 @@ dictionary StorageEventInit : EventInit {
When the user agent leaves the attribute name state (and before emitting the tag token, if appropriate), the complete attribute's name must be compared to the other attributes on the same token; if there is already an attribute on the token with the exact same name, then this is a - duplicate-attribute parse error - and the new attribute must be removed from the token.
+ duplicate-attribute parse error, + the new attribute must be removed from the token and the token's + duplicate attribute flag must be setIf an attribute is so removed from a token, it, and the value that gets associated with it, if any, are never subsequently used by the parser, and are therefore effectively @@ -105737,8 +105740,10 @@ dictionary StorageEventInit : EventInit {
Let element be the result of creating an element given document, localName, given - namespace, null, and is. If will execute script is true, set the - synchronous custom elements flag; otherwise, leave it unset.
+ namespace, null, is, and the + duplicate attribute flag of the token. + If will execute script is true, set the + synchronous custom elements flag; otherwise, leave it unset.This will cause custom element
constructors to run, if will execute script is true. However, since we
From 654efb4d3c0cf476948b62bbcd5cd65b9469ac3b Mon Sep 17 00:00:00 2001
From: Andy Paicu
When a token is emitted, it must immediately be handled by the tree construction stage. The tree construction stage can affect the state of the tokenization stage, and can insert @@ -104057,8 +104057,8 @@ dictionary StorageEventInit : EventInit { appropriate), the complete attribute's name must be compared to the other attributes on the same token; if there is already an attribute on the token with the exact same name, then this is a duplicate-attribute parse error, - the new attribute must be removed from the token and the token's - duplicate attribute flag must be set
+ the new attribute must be removed from the token and the token's duplicate attribute flag must be set.If an attribute is so removed from a token, it, and the value that gets associated with it, if any, are never subsequently used by the parser, and are therefore effectively @@ -105740,10 +105740,8 @@ dictionary StorageEventInit : EventInit {
Let element be the result of creating an element given document, localName, given - namespace, null, is, and the - duplicate attribute flag of the token. - If will execute script is true, set the - synchronous custom elements flag; otherwise, leave it unset. + namespace, null, is. If will execute script is true, + set the synchronous custom elements flag; otherwise, leave it unset.
This will cause custom element constructors to run, if will execute script is true. However, since we @@ -105752,6 +105750,12 @@ dictionary StorageEventInit : EventInit { data-x="dom-document-open">the document to be blown away.
Append each attribute in the given token to element.
From 76b7975630c8dd70fd8474367f619cd9adcef035 Mon Sep 17 00:00:00 2001 From: Andy Paicusrc
attribute of the element at that time.
+ The seventh is a flag indicating whether or not the script has a duplicate attribute. This flag is intially + unset and can be set after the tokenizer creates + the element. This flag is used for security checks in the Content Security Policy spec. +
+Finally, a script
element has the script's script, which is a script
resulting from preparing the element. This is set
@@ -104057,8 +104063,8 @@ dictionary StorageEventInit : EventInit {
appropriate), the complete attribute's name must be compared to the other attributes on the same
token; if there is already an attribute on the token with the exact same name, then this is a
duplicate-attribute parse error,
- the new attribute must be removed from the token and the token's duplicate attribute flag must be set
If an attribute is so removed from a token, it, and the value that gets associated with it, if any, are never subsequently used by the parser, and are therefore effectively @@ -105740,8 +105746,8 @@ dictionary StorageEventInit : EventInit {
Let element be the result of creating an element given document, localName, given - namespace, null, is. If will execute script is true, - set the synchronous custom elements flag; otherwise, leave it unset. + namespace, null, and is. If will execute script is true, set the + synchronous custom elements flag; otherwise, leave it unset.
This will cause custom element constructors to run, if will execute script is true. However, since we @@ -105751,9 +105757,9 @@ dictionary StorageEventInit : EventInit {
script
element and the duplicate attribute flag of the token is set, set element's duplicate attribute flag.
The seventh is a flag indicating whether or not the script has a duplicate attribute. This flag is intially unset and can be set after the tokenizer creates - the element. This flag is used for security checks in the Content Security Policy spec. -
+ the element. This flag is used for security checks in Content Security Policy + .Finally, a script
element has the script's script, which is a script
@@ -103067,12 +103067,12 @@ dictionary StorageEventInit : EventInit {
is created, its name, public identifier, and system identifier must be marked as missing (which is
a distinct state from the empty string), and the force-quirks flag
must be set to off (its other state is on). Start and end tag tokens have a tag name,
- a self-closing flag, a
- duplicate attribute flag, and a list of attributes, each of which has a name and a value.
- When a start or end tag token is created, its self-closing flag
- must be unset (its other state is that it be set), its
- duplicate attribute flag must be unset (its other state is that it be set), and its attributes
- list must be empty. Comment and character tokens have data.
When a token is emitted, it must immediately be handled by the tree construction stage. The tree construction stage can affect the state of the tokenization stage, and can insert @@ -105757,9 +105757,10 @@ dictionary StorageEventInit : EventInit {
script
element and the duplicate attribute flag of the token is set, set element's duplicate attribute flag.
+ If element is a script
element and the duplicate attribute flag of the token is set, then set
+ element's duplicate attribute
+ flag.
The seventh is a flag indicating whether or not the script has a duplicate attribute. This flag is intially unset and can be set after the tokenizer creates - the element. This flag is used for security checks in Content Security Policy - .
+ the element. This flag is used for security checks in Content Security + Policy.Finally, a script
element has the script's script, which is a script