add scoped property to the list of DOM standard properties

This commit is contained in:
Damien Pellier
2015-03-25 09:41:05 +01:00
parent 45fdb4ba79
commit 3d45c0ad9d
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ formAction formEncType formMethod formNoValidate formTarget frameBorder height
hidden href hrefLang htmlFor httpEquiv icon id label lang list loop manifest
marginHeight marginWidth max maxLength media mediaGroup method min multiple
muted name noValidate open pattern placeholder poster preload radioGroup
readOnly rel required role rows rowSpan sandbox scope scrolling seamless
readOnly rel required role rows rowSpan sandbox scope scoped scrolling seamless
selected shape size sizes span spellCheck src srcDoc srcSet start step style
tabIndex target title type useMap value width wmode
```
@@ -134,6 +134,7 @@ var HTMLDOMPropertyConfig = {
rowSpan: null,
sandbox: null,
scope: null,
scoped: HAS_BOOLEAN_VALUE,
scrolling: null,
seamless: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
@@ -89,6 +89,11 @@ describe('DOMPropertyOperations', function() {
'checked',
false
)).toBe('');
expect(DOMPropertyOperations.createMarkupForProperty(
'scoped',
true
)).toBe('scoped=""');
});
it('should create markup for booleanish properties', function() {