Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin Dahyabhai2019-05-29 11:29:18 -0400
committerNitin Dahyabhai2019-05-29 11:29:18 -0400
commit8304fd9e33c99e19fde79a33ed9833ccfbdee000 (patch)
treef573bb54294c6ba0976a6cf33b674fdfbfd12311
parent48386877fcc82d991bd15980cce8f1eb1a638bf5 (diff)
downloadwebtools.sourceediting-8304fd9e33c99e19fde79a33ed9833ccfbdee000.tar.gz
webtools.sourceediting-8304fd9e33c99e19fde79a33ed9833ccfbdee000.tar.xz
webtools.sourceediting-8304fd9e33c99e19fde79a33ed9833ccfbdee000.zip
[547766] HTML5 script element async attribute should have boolean values
-rw-r--r--web/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java b/web/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
index 4614cb3f0..efad0aae9 100644
--- a/web/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
+++ b/web/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2017 IBM Corporation and others.
+ * Copyright (c) 2010, 2019 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
@@ -1070,7 +1070,7 @@ public class HTML5AttributeCollection extends AttributeCollection implements HTM
attributes.putNamedItem(ATTR_NAME_TYPE, attr);
atype = new HTMLCMDataTypeImpl(CMDataType.ENUM);
- String[] values = {ATTR_NAME_ASYNC};
+ String[] values = {ATTR_VALUE_FALSE,ATTR_VALUE_TRUE};
atype.setEnumValues(values);
attr = new HTMLAttrDeclImpl(ATTR_NAME_ASYNC, atype, CMAttributeDeclaration.OPTIONAL);
attributes.putNamedItem(ATTR_NAME_ASYNC, attr);

Back to the top