From 17e914e3aeb28554627b33fe56ca559102a22f8f Mon Sep 17 00:00:00 2001
From: Rahim Abdi
The getter steps are:
- -Let element be the result of running this's get the - element.
Let contentAttributeValue be the result of running this's - get the content attribute.
The getter steps are:
-Let attributeDefinition be the attribute definition of element's - content attribute whose namespace is null and local name is the reflected content - attribute name. +
Let element be the result of running this's get the + element.
If attributeDefinition indicates it is an enumerated attribute and - the reflected IDL attribute is defined to be limited to only known - values:
+Let contentAttributeValue be the result of running this's + get the content attribute.
If contentAttributeValue corresponds to a state of - attributeDefinition with no associated keyword value, then return null.
Let attributeDefinition be the attribute definition of element's + content attribute whose namespace is null and local name is the reflected content + attribute name. -
Return the canonical keyword for the state of - attributeDefinition that contentAttributeValue corresponds to.
If attributeDefinition indicates it is an enumerated attribute and + the reflected IDL attribute is defined to be limited to only known + values:
-If contentAttributeValue is null, then return null.
If contentAttributeValue corresponds to a state of + attributeDefinition with no associated keyword value, then return null.
Return contentAttributeValue.
Return the canonical keyword for the state of + attributeDefinition that contentAttributeValue corresponds to.
If contentAttributeValue is null, then return null.
Return contentAttributeValue.
The setter steps are: