From 9ff50f7c9d7119b49ba33f9d2b5685b6c28e4cc6 Mon Sep 17 00:00:00 2001 From: Kang Minsu Date: Thu, 22 Feb 2024 11:22:53 +0900 Subject: [PATCH] fix: typo --- .../src/native/stylex/index.js | 4 +- .../tests/__snapshots__/html-test.js.snap-dom | 84 +++++++++---------- .../__snapshots__/html-test.js.snap-native | 84 +++++++++---------- packages/react-strict-dom/tests/html-test.js | 2 +- 4 files changed, 87 insertions(+), 87 deletions(-) diff --git a/packages/react-strict-dom/src/native/stylex/index.js b/packages/react-strict-dom/src/native/stylex/index.js index 586159d..e68f125 100644 --- a/packages/react-strict-dom/src/native/stylex/index.js +++ b/packages/react-strict-dom/src/native/stylex/index.js @@ -239,10 +239,10 @@ function preprocessCreate(style: S): S { styleValue != null ) { // have to spread styleValue into a copied object to appease flow - const processsedSubStyle = preprocessCreate({ ...styleValue }); + const processedSubStyle = preprocessCreate({ ...styleValue }); processedStyle[propName] = new CSSMediaQuery( propName, - processsedSubStyle + processedSubStyle ); continue; } diff --git a/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-dom b/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-dom index f880021..d79cda5 100644 --- a/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-dom +++ b/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-dom @@ -47,7 +47,7 @@ exports[`html "a" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -175,7 +175,7 @@ exports[`html "article" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -303,7 +303,7 @@ exports[`html "aside" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -431,7 +431,7 @@ exports[`html "b" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -559,7 +559,7 @@ exports[`html "bdi" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -687,7 +687,7 @@ exports[`html "bdo" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -815,7 +815,7 @@ exports[`html "blockquote" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -943,7 +943,7 @@ exports[`html "br" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1080,7 +1080,7 @@ exports[`html "button" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1210,7 +1210,7 @@ exports[`html "code" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1338,7 +1338,7 @@ exports[`html "div" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1466,7 +1466,7 @@ exports[`html "em" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1594,7 +1594,7 @@ exports[`html "fieldset" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1722,7 +1722,7 @@ exports[`html "footer" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1850,7 +1850,7 @@ exports[`html "form" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1978,7 +1978,7 @@ exports[`html "h1" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2106,7 +2106,7 @@ exports[`html "h2" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2234,7 +2234,7 @@ exports[`html "h3" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2362,7 +2362,7 @@ exports[`html "h4" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2490,7 +2490,7 @@ exports[`html "h5" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2618,7 +2618,7 @@ exports[`html "h6" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2746,7 +2746,7 @@ exports[`html "header" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2874,7 +2874,7 @@ exports[`html "hr" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3002,7 +3002,7 @@ exports[`html "i" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3148,7 +3148,7 @@ exports[`html "img" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3305,7 +3305,7 @@ exports[`html "input" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3441,7 +3441,7 @@ exports[`html "label" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3569,7 +3569,7 @@ exports[`html "main" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3697,7 +3697,7 @@ exports[`html "nav" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3825,7 +3825,7 @@ exports[`html "ol" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3953,7 +3953,7 @@ exports[`html "optgroup" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4081,7 +4081,7 @@ exports[`html "option" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4219,7 +4219,7 @@ exports[`html "p" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4347,7 +4347,7 @@ exports[`html "pre" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4475,7 +4475,7 @@ exports[`html "section" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4618,7 +4618,7 @@ exports[`html "select" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4746,7 +4746,7 @@ exports[`html "span" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4874,7 +4874,7 @@ exports[`html "strong" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5002,7 +5002,7 @@ exports[`html "sub" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5130,7 +5130,7 @@ exports[`html "sup" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5281,7 +5281,7 @@ exports[`html "textarea" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5410,7 +5410,7 @@ exports[`html "ul" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} diff --git a/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-native b/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-native index dbcba9b..dcbbcef 100644 --- a/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-native +++ b/packages/react-strict-dom/tests/__snapshots__/html-test.js.snap-native @@ -68,7 +68,7 @@ exports[`html "a" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -216,7 +216,7 @@ exports[`html "article" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -359,7 +359,7 @@ exports[`html "aside" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -503,7 +503,7 @@ exports[`html "b" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -648,7 +648,7 @@ exports[`html "bdi" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -792,7 +792,7 @@ exports[`html "bdo" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -935,7 +935,7 @@ exports[`html "blockquote" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1080,7 +1080,7 @@ exports[`html "br" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1240,7 +1240,7 @@ exports[`html "button" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1387,7 +1387,7 @@ exports[`html "code" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1531,7 +1531,7 @@ exports[`html "div" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1675,7 +1675,7 @@ exports[`html "em" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1819,7 +1819,7 @@ exports[`html "fieldset" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -1962,7 +1962,7 @@ exports[`html "footer" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2105,7 +2105,7 @@ exports[`html "form" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2251,7 +2251,7 @@ exports[`html "h1" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2401,7 +2401,7 @@ exports[`html "h2" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2551,7 +2551,7 @@ exports[`html "h3" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2701,7 +2701,7 @@ exports[`html "h4" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -2851,7 +2851,7 @@ exports[`html "h5" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3001,7 +3001,7 @@ exports[`html "h6" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3149,7 +3149,7 @@ exports[`html "header" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3295,7 +3295,7 @@ exports[`html "hr" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3442,7 +3442,7 @@ exports[`html "i" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3612,7 +3612,7 @@ exports[`html "img" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3786,7 +3786,7 @@ exports[`html "input" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -3943,7 +3943,7 @@ exports[`html "label" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4085,7 +4085,7 @@ exports[`html "main" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4228,7 +4228,7 @@ exports[`html "nav" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4371,7 +4371,7 @@ exports[`html "ol" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4514,7 +4514,7 @@ exports[`html "optgroup" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4656,7 +4656,7 @@ exports[`html "option" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4813,7 +4813,7 @@ exports[`html "p" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -4956,7 +4956,7 @@ exports[`html "pre" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5100,7 +5100,7 @@ exports[`html "section" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5259,7 +5259,7 @@ exports[`html "select" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5402,7 +5402,7 @@ exports[`html "span" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5546,7 +5546,7 @@ exports[`html "strong" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5690,7 +5690,7 @@ exports[`html "sub" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -5832,7 +5832,7 @@ exports[`html "sup" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -6002,7 +6002,7 @@ exports[`html "textarea" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} @@ -6149,7 +6149,7 @@ exports[`html "ul" supports global attributes 1`] = ` aria-modal={true} aria-multiline={true} aria-multiselectable={true} - aria-orientation="potrait" + aria-orientation="portrait" aria-owns="owns" aria-placeholder="Placeholder" aria-posinset={1} diff --git a/packages/react-strict-dom/tests/html-test.js b/packages/react-strict-dom/tests/html-test.js index 0a186e9..ea8f069 100644 --- a/packages/react-strict-dom/tests/html-test.js +++ b/packages/react-strict-dom/tests/html-test.js @@ -85,7 +85,7 @@ const globalAttributes = { 'aria-modal': true, 'aria-multiline': true, 'aria-multiselectable': true, - 'aria-orientation': 'potrait', + 'aria-orientation': 'portrait', 'aria-owns': 'owns', 'aria-placeholder': 'Placeholder', 'aria-posinset': 1,