@samitouri / QOS-React-2 / commits / 3d45c0ad9d

add scoped property to the list of DOM standard properties

Damien Pellier committed Mar 25, 2015 at 09:41 UTC 3d45c0ad9db3611cc0258db35e3bbdac844b0cf3
3 files changed +7 -1
docs/docs/ref-04-tags-and-attributes.md
+1 -1
@@ -60,7 +60,7 @@ formAction formEncType formMethod formNoValidate formTarget frameBorder height
60 hidden href hrefLang htmlFor httpEquiv icon id label lang list loop manifest
61 marginHeight marginWidth max maxLength media mediaGroup method min multiple
62 muted name noValidate open pattern placeholder poster preload radioGroup
63 -readOnly rel required role rows rowSpan sandbox scope scrolling seamless
63 +readOnly rel required role rows rowSpan sandbox scope scoped scrolling seamless
64 selected shape size sizes span spellCheck src srcDoc srcSet start step style
65 tabIndex target title type useMap value width wmode
66 ```
src/browser/ui/dom/HTMLDOMPropertyConfig.js
+1
@@ -134,6 +134,7 @@ var HTMLDOMPropertyConfig = {
134 rowSpan: null,
135 sandbox: null,
136 scope: null,
137 + scoped: HAS_BOOLEAN_VALUE,
138 scrolling: null,
139 seamless: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
140 selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
src/browser/ui/dom/__tests__/DOMPropertyOperations-test.js
+5
@@ -89,6 +89,11 @@ describe('DOMPropertyOperations', function() {
89 'checked',
90 false
91 )).toBe('');
92 +
93 + expect(DOMPropertyOperations.createMarkupForProperty(
94 + 'scoped',
95 + true
96 + )).toBe('scoped=""');
97 });
98
99 it('should create markup for booleanish properties', function() {