commit | 9736130837ff88be9ac9d92436b18a5bd39d4d45 | [log] [tgz] |
---|---|---|
author | nsandonato <nsandonato> | Tue Sep 28 21:29:49 2010 +0000 |
committer | nsandonato <nsandonato> | Tue Sep 28 21:29:49 2010 +0000 |
tree | 5df54e2a3a8727b4388fbfe99f0b22859778ce44 | |
parent | f7fde1ce7f1ef0cb443b1152725ba2638cfb7f31 [diff] |
[326471] Script element for HTML5 is lacking attribute declarations
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java index 9622122..801dbdf 100644 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java +++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
@@ -851,7 +851,7 @@ * (event CDATA #IMPLIED) * (for %URI; #IMPLIED) */ - else if (elementName.equals(HTML40Namespace.ElementName.TEXTAREA)){ + else if (elementName.equals(HTML40Namespace.ElementName.SCRIPT)){ String[] names = {ATTR_NAME_CHARSET, ATTR_NAME_SRC, ATTR_NAME_DEFER}; getDeclarations(attributes, Arrays.asList(names).iterator());