commit | 30eb22e6fd17e1f7a45cd93634641268383944f0 | [log] [tgz] |
---|---|---|
author | nsandonato <nsandonato> | Tue Sep 28 21:28:08 2010 +0000 |
committer | nsandonato <nsandonato> | Tue Sep 28 21:28:08 2010 +0000 |
tree | ec8bbb06fe694b35cec625ccad7d5c1280fd7b56 | |
parent | 19ae1aeb6f468499133d4899d061a46cd467e6c8 [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());