Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsandonato2010-09-28 21:29:49 +0000
committernsandonato2010-09-28 21:29:49 +0000
commit9736130837ff88be9ac9d92436b18a5bd39d4d45 (patch)
tree5df54e2a3a8727b4388fbfe99f0b22859778ce44 /bundles/org.eclipse.wst.html.core/src/org
parentf7fde1ce7f1ef0cb443b1152725ba2638cfb7f31 (diff)
downloadwebtools.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/src/org')
-rw-r--r--bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java2
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());

Back to the top