diff options
author | nsandonato | 2010-09-28 21:29:49 +0000 |
---|---|---|
committer | nsandonato | 2010-09-28 21:29:49 +0000 |
commit | 9736130837ff88be9ac9d92436b18a5bd39d4d45 (patch) | |
tree | 5df54e2a3a8727b4388fbfe99f0b22859778ce44 /bundles/org.eclipse.wst.html.core | |
parent | f7fde1ce7f1ef0cb443b1152725ba2638cfb7f31 (diff) | |
download | webtools.sourceediting-9736130837ff88be9ac9d92436b18a5bd39d4d45.tar.gz webtools.sourceediting-9736130837ff88be9ac9d92436b18a5bd39d4d45.tar.xz webtools.sourceediting-9736130837ff88be9ac9d92436b18a5bd39d4d45.zip |
[326471] Script element for HTML5 is lacking attribute declarations
Diffstat (limited to 'bundles/org.eclipse.wst.html.core')
-rw-r--r-- | bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 96221227ee..801dbdff43 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 @@ public class HTML5AttributeCollection extends AttributeCollection implements HTM * (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()); |