From 57500736bdb8954fe4cd150c387163d32c161c0a Mon Sep 17 00:00:00 2001 From: Lin Date: Fri, 26 Aug 2016 15:58:50 -0700 Subject: [PATCH 1/3] Add 'as' keyword (#7543) --- src/renderers/dom/shared/HTMLDOMPropertyConfig.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js b/src/renderers/dom/shared/HTMLDOMPropertyConfig.js index 50e61797c399f..634691e8de685 100644 --- a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js +++ b/src/renderers/dom/shared/HTMLDOMPropertyConfig.js @@ -36,6 +36,8 @@ var HTMLDOMPropertyConfig = { allowFullScreen: HAS_BOOLEAN_VALUE, allowTransparency: 0, alt: 0, + /* 'as' is introduced to links with 'preload' type: https://w3c.github.io/preload/ */ + as: 0, async: HAS_BOOLEAN_VALUE, autoComplete: 0, // autoFocus is polyfilled/normalized by AutoFocusUtils From a687e1b91bbc62508756ae06afcb514c0a4e6a8c Mon Sep 17 00:00:00 2001 From: Kevin S Lin Date: Sat, 27 Aug 2016 20:23:59 -0700 Subject: [PATCH 2/3] fix commenting to adhere to styling --- src/renderers/dom/shared/HTMLDOMPropertyConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js b/src/renderers/dom/shared/HTMLDOMPropertyConfig.js index 634691e8de685..da72b1053d553 100644 --- a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js +++ b/src/renderers/dom/shared/HTMLDOMPropertyConfig.js @@ -36,7 +36,7 @@ var HTMLDOMPropertyConfig = { allowFullScreen: HAS_BOOLEAN_VALUE, allowTransparency: 0, alt: 0, - /* 'as' is introduced to links with 'preload' type: https://w3c.github.io/preload/ */ + // 'as' is keyword to links with 'preload' type as: 0, async: HAS_BOOLEAN_VALUE, autoComplete: 0, From 0b53f8da28b399aa545a423d5da66172281bb8b8 Mon Sep 17 00:00:00 2001 From: Lin Date: Tue, 30 Aug 2016 10:32:51 -0700 Subject: [PATCH 3/3] fix grammar in comment --- src/renderers/dom/shared/HTMLDOMPropertyConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js b/src/renderers/dom/shared/HTMLDOMPropertyConfig.js index da72b1053d553..31b2b9cd4ae72 100644 --- a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js +++ b/src/renderers/dom/shared/HTMLDOMPropertyConfig.js @@ -36,7 +36,7 @@ var HTMLDOMPropertyConfig = { allowFullScreen: HAS_BOOLEAN_VALUE, allowTransparency: 0, alt: 0, - // 'as' is keyword to links with 'preload' type + // specifies target context for links with `preload` type as: 0, async: HAS_BOOLEAN_VALUE, autoComplete: 0,