Skip to content

Commit 9963278

Browse files
committed
Merge pull request facebook#2033 from pekim/master
Add support for <dialog> tag.
1 parent ad52ef9 commit 9963278

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/docs/ref-04-tags-and-attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The following HTML elements are supported:
1717
```
1818
a abbr address area article aside audio b base bdi bdo big blockquote body br
1919
button canvas caption cite code col colgroup data datalist dd del details dfn
20-
div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6
21-
head header hr html i iframe img input ins kbd keygen label legend li link
20+
dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5
21+
h6 head header hr html i iframe img input ins kbd keygen label legend li link
2222
main map mark menu menuitem meta meter nav noscript object ol optgroup option
2323
output p param pre progress q rp rt ruby s samp script section select small
2424
source span strong style sub summary sup table tbody td textarea tfoot th
@@ -58,7 +58,7 @@ className cols colSpan content contentEditable contextMenu controls coords
5858
crossOrigin data dateTime defer dir disabled download draggable encType form
5959
formNoValidate frameBorder height hidden href hrefLang htmlFor httpEquiv icon
6060
id label lang list loop max maxLength mediaGroup method min multiple muted
61-
name noValidate pattern placeholder poster preload radioGroup readOnly rel
61+
name noValidate open pattern placeholder poster preload radioGroup readOnly rel
6262
required role rows rowSpan sandbox scope scrollLeft scrolling scrollTop
6363
seamless selected shape size span spellCheck src srcDoc srcSet start step
6464
style tabIndex target title type useMap value width wmode

src/browser/ReactDOM.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ var ReactDOM = mapObject({
9595
del: false,
9696
details: false,
9797
dfn: false,
98+
dialog: false,
9899
div: false,
99100
dl: false,
100101
dt: false,

src/browser/ui/dom/HTMLDOMPropertyConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ var HTMLDOMPropertyConfig = {
117117
muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
118118
name: null,
119119
noValidate: HAS_BOOLEAN_VALUE,
120+
open: null,
120121
pattern: null,
121122
placeholder: null,
122123
poster: null,

0 commit comments

Comments
 (0)