diff --git a/core/scripts/screenshot/testing.css b/core/scripts/screenshot/testing.css deleted file mode 100644 index 73c84d7d1a..0000000000 --- a/core/scripts/screenshot/testing.css +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --ion-font-family: Arial; -} diff --git a/core/scripts/screenshot/testing.js b/core/scripts/screenshot/testing.js new file mode 100644 index 0000000000..d767e79632 --- /dev/null +++ b/core/scripts/screenshot/testing.js @@ -0,0 +1,15 @@ +{ + const getStyles = () => { + const tag = document.createElement('style'); + tag.textContent = ` + :root { + --ion-font-family: Arial; + } + `; + return tag; + }; + + if (window.location.search.indexOf('ionic:_testing=true') > -1) { + document.head.appendChild(getStyles()); + } +} diff --git a/core/src/components/action-sheet/test/alert-from-action-sheet/index.html b/core/src/components/action-sheet/test/alert-from-action-sheet/index.html index f432a245a0..2e9631348a 100644 --- a/core/src/components/action-sheet/test/alert-from-action-sheet/index.html +++ b/core/src/components/action-sheet/test/alert-from-action-sheet/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/basic/index.html b/core/src/components/action-sheet/test/basic/index.html index 92121df396..0b019f6010 100644 --- a/core/src/components/action-sheet/test/basic/index.html +++ b/core/src/components/action-sheet/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/cancel-only/index.html b/core/src/components/action-sheet/test/cancel-only/index.html index 65629856d6..9a4aa897aa 100644 --- a/core/src/components/action-sheet/test/cancel-only/index.html +++ b/core/src/components/action-sheet/test/cancel-only/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/custom-css/index.html b/core/src/components/action-sheet/test/custom-css/index.html index 9c15eb7519..c5cea8404d 100644 --- a/core/src/components/action-sheet/test/custom-css/index.html +++ b/core/src/components/action-sheet/test/custom-css/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/icons/index.html b/core/src/components/action-sheet/test/icons/index.html index 9be4bfa91b..aed2e1b18f 100644 --- a/core/src/components/action-sheet/test/icons/index.html +++ b/core/src/components/action-sheet/test/icons/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/no-backdrop-dismiss/index.html b/core/src/components/action-sheet/test/no-backdrop-dismiss/index.html index c4227fb719..4cd85652f7 100644 --- a/core/src/components/action-sheet/test/no-backdrop-dismiss/index.html +++ b/core/src/components/action-sheet/test/no-backdrop-dismiss/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/preview/index.html b/core/src/components/action-sheet/test/preview/index.html index 062a26b7e6..2cf347a5bd 100644 --- a/core/src/components/action-sheet/test/preview/index.html +++ b/core/src/components/action-sheet/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/scroll-without-cancel/index.html b/core/src/components/action-sheet/test/scroll-without-cancel/index.html index 0f865bd43f..38924b55b3 100644 --- a/core/src/components/action-sheet/test/scroll-without-cancel/index.html +++ b/core/src/components/action-sheet/test/scroll-without-cancel/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/scrollable-options/index.html b/core/src/components/action-sheet/test/scrollable-options/index.html index 1466e49c10..13c42ae210 100644 --- a/core/src/components/action-sheet/test/scrollable-options/index.html +++ b/core/src/components/action-sheet/test/scrollable-options/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/standalone/index.html b/core/src/components/action-sheet/test/standalone/index.html index e78f607d4f..0f77409533 100644 --- a/core/src/components/action-sheet/test/standalone/index.html +++ b/core/src/components/action-sheet/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/action-sheet/test/translucent/index.html b/core/src/components/action-sheet/test/translucent/index.html index d4f44b0588..3bbd1654af 100644 --- a/core/src/components/action-sheet/test/translucent/index.html +++ b/core/src/components/action-sheet/test/translucent/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/alert/test/basic/index.html b/core/src/components/alert/test/basic/index.html index 3ae2cfd583..2e50a5182a 100644 --- a/core/src/components/alert/test/basic/index.html +++ b/core/src/components/alert/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/alert/test/preview/index.html b/core/src/components/alert/test/preview/index.html index 139bd5d0a7..3849ccd031 100644 --- a/core/src/components/alert/test/preview/index.html +++ b/core/src/components/alert/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/alert/test/standalone/index.html b/core/src/components/alert/test/standalone/index.html index 68d51e8a6d..4c837de8db 100644 --- a/core/src/components/alert/test/standalone/index.html +++ b/core/src/components/alert/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/alert/test/translucent/index.html b/core/src/components/alert/test/translucent/index.html index d6020465e2..9b6941aef8 100644 --- a/core/src/components/alert/test/translucent/index.html +++ b/core/src/components/alert/test/translucent/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/anchor/test/basic/index.html b/core/src/components/anchor/test/basic/index.html index de5f157032..b86242fbcc 100644 --- a/core/src/components/anchor/test/basic/index.html +++ b/core/src/components/anchor/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/anchor/test/standalone/index.html b/core/src/components/anchor/test/standalone/index.html index 01b582bae1..bb54360ca5 100644 --- a/core/src/components/anchor/test/standalone/index.html +++ b/core/src/components/anchor/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/app/test/cordova/index.html b/core/src/components/app/test/cordova/index.html index a850177442..95ad9bd595 100644 --- a/core/src/components/app/test/cordova/index.html +++ b/core/src/components/app/test/cordova/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/avatar/test/basic/index.html b/core/src/components/avatar/test/basic/index.html index ede97295de..23990e50ee 100644 --- a/core/src/components/avatar/test/basic/index.html +++ b/core/src/components/avatar/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/avatar/test/preview/index.html b/core/src/components/avatar/test/preview/index.html index f716aa233d..90e5f86394 100644 --- a/core/src/components/avatar/test/preview/index.html +++ b/core/src/components/avatar/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/avatar/test/standalone/index.html b/core/src/components/avatar/test/standalone/index.html index 3882a81d72..da6f744842 100644 --- a/core/src/components/avatar/test/standalone/index.html +++ b/core/src/components/avatar/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/back-button/test/basic/index.html b/core/src/components/back-button/test/basic/index.html index f0423c0413..5c5396946e 100644 --- a/core/src/components/back-button/test/basic/index.html +++ b/core/src/components/back-button/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/back-button/test/host-element/index.html b/core/src/components/back-button/test/host-element/index.html index a5fcce4a5b..538e438240 100644 --- a/core/src/components/back-button/test/host-element/index.html +++ b/core/src/components/back-button/test/host-element/index.html @@ -7,7 +7,7 @@ - + - + diff --git a/core/src/components/back-button/test/standalone/index.html b/core/src/components/back-button/test/standalone/index.html index 8f20f1c7a2..b2253d6181 100644 --- a/core/src/components/back-button/test/standalone/index.html +++ b/core/src/components/back-button/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/badge/test/basic/index.html b/core/src/components/badge/test/basic/index.html index 25b01c079d..e4a96caf14 100644 --- a/core/src/components/badge/test/basic/index.html +++ b/core/src/components/badge/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/badge/test/preview/index.html b/core/src/components/badge/test/preview/index.html index 80274a1929..ebd9c863d4 100644 --- a/core/src/components/badge/test/preview/index.html +++ b/core/src/components/badge/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/badge/test/standalone/index.html b/core/src/components/badge/test/standalone/index.html index d3077fac97..a6e604e8ab 100644 --- a/core/src/components/badge/test/standalone/index.html +++ b/core/src/components/badge/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/anchor/index.html b/core/src/components/button/test/anchor/index.html index b6121cfa91..b8b1282757 100644 --- a/core/src/components/button/test/anchor/index.html +++ b/core/src/components/button/test/anchor/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/basic/index.html b/core/src/components/button/test/basic/index.html index 9f2df87ba0..3a639f6c10 100644 --- a/core/src/components/button/test/basic/index.html +++ b/core/src/components/button/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/clear/index.html b/core/src/components/button/test/clear/index.html index 27458cc96c..ecad6cf446 100644 --- a/core/src/components/button/test/clear/index.html +++ b/core/src/components/button/test/clear/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/expand/index.html b/core/src/components/button/test/expand/index.html index 9b2cddbd48..88202eebab 100644 --- a/core/src/components/button/test/expand/index.html +++ b/core/src/components/button/test/expand/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/form/index.html b/core/src/components/button/test/form/index.html index 337d12e46e..14ba7705bc 100644 --- a/core/src/components/button/test/form/index.html +++ b/core/src/components/button/test/form/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/icon/index.html b/core/src/components/button/test/icon/index.html index 9a4d42dcdb..4ab2148f64 100644 --- a/core/src/components/button/test/icon/index.html +++ b/core/src/components/button/test/icon/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/outline/index.html b/core/src/components/button/test/outline/index.html index 9ed635b50f..5559d08f61 100644 --- a/core/src/components/button/test/outline/index.html +++ b/core/src/components/button/test/outline/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/preview/index.html b/core/src/components/button/test/preview/index.html index 97c36cde57..62cc4174bb 100644 --- a/core/src/components/button/test/preview/index.html +++ b/core/src/components/button/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/round/index.html b/core/src/components/button/test/round/index.html index 4e331735ad..6c5082e42e 100644 --- a/core/src/components/button/test/round/index.html +++ b/core/src/components/button/test/round/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/size/index.html b/core/src/components/button/test/size/index.html index 593f5bd8dc..2ac5477533 100644 --- a/core/src/components/button/test/size/index.html +++ b/core/src/components/button/test/size/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/standalone/index.html b/core/src/components/button/test/standalone/index.html index 6cfe7e8f14..80af68bc22 100644 --- a/core/src/components/button/test/standalone/index.html +++ b/core/src/components/button/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/strong/index.html b/core/src/components/button/test/strong/index.html index 9118904846..d97c960652 100644 --- a/core/src/components/button/test/strong/index.html +++ b/core/src/components/button/test/strong/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/button/test/toolbar/index.html b/core/src/components/button/test/toolbar/index.html index 78b0398ff9..d13399ba00 100644 --- a/core/src/components/button/test/toolbar/index.html +++ b/core/src/components/button/test/toolbar/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/buttons/test/icon/index.html b/core/src/components/buttons/test/icon/index.html index 07c158e266..78766e8788 100644 --- a/core/src/components/buttons/test/icon/index.html +++ b/core/src/components/buttons/test/icon/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/card/test/basic/index.html b/core/src/components/card/test/basic/index.html index 708d899623..0449a4be58 100644 --- a/core/src/components/card/test/basic/index.html +++ b/core/src/components/card/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/card/test/preview/index.html b/core/src/components/card/test/preview/index.html index b88512a142..43ad9cf859 100644 --- a/core/src/components/card/test/preview/index.html +++ b/core/src/components/card/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/card/test/standalone/index.html b/core/src/components/card/test/standalone/index.html index 76f68186c3..46500e1548 100644 --- a/core/src/components/card/test/standalone/index.html +++ b/core/src/components/card/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/card/test/translucent/index.html b/core/src/components/card/test/translucent/index.html index 3ed8c0c5ef..9397cb04ee 100644 --- a/core/src/components/card/test/translucent/index.html +++ b/core/src/components/card/test/translucent/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/checkbox/test/basic/index.html b/core/src/components/checkbox/test/basic/index.html index 189a81a085..ce6a86dd81 100644 --- a/core/src/components/checkbox/test/basic/index.html +++ b/core/src/components/checkbox/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/checkbox/test/preview/index.html b/core/src/components/checkbox/test/preview/index.html index ca505ddf6c..23842fe3ad 100644 --- a/core/src/components/checkbox/test/preview/index.html +++ b/core/src/components/checkbox/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/checkbox/test/standalone/index.html b/core/src/components/checkbox/test/standalone/index.html index a97884615a..d8695bd4a0 100644 --- a/core/src/components/checkbox/test/standalone/index.html +++ b/core/src/components/checkbox/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/chip/test/basic/index.html b/core/src/components/chip/test/basic/index.html index 47274c9937..d89c95e158 100644 --- a/core/src/components/chip/test/basic/index.html +++ b/core/src/components/chip/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/chip/test/preview/index.html b/core/src/components/chip/test/preview/index.html index f56f60fb5c..a71f9a1902 100644 --- a/core/src/components/chip/test/preview/index.html +++ b/core/src/components/chip/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/chip/test/standalone/index.html b/core/src/components/chip/test/standalone/index.html index 00cce0c79c..89513c590c 100644 --- a/core/src/components/chip/test/standalone/index.html +++ b/core/src/components/chip/test/standalone/index.html @@ -6,7 +6,7 @@ - +

Text Chips

diff --git a/core/src/components/content/test/basic/index.html b/core/src/components/content/test/basic/index.html index 648ecacaf3..fecd11da3a 100644 --- a/core/src/components/content/test/basic/index.html +++ b/core/src/components/content/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/content/test/fullscreen/index.html b/core/src/components/content/test/fullscreen/index.html index ef05cc2bf9..cbcd9084f4 100644 --- a/core/src/components/content/test/fullscreen/index.html +++ b/core/src/components/content/test/fullscreen/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/content/test/preview/index.html b/core/src/components/content/test/preview/index.html index 3565e67ec3..26e6559827 100644 --- a/core/src/components/content/test/preview/index.html +++ b/core/src/components/content/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/content/test/standalone/index.html b/core/src/components/content/test/standalone/index.html index f18b443c75..943ebbd868 100644 --- a/core/src/components/content/test/standalone/index.html +++ b/core/src/components/content/test/standalone/index.html @@ -6,7 +6,7 @@ - +
diff --git a/core/src/components/datetime/test/basic/index.html b/core/src/components/datetime/test/basic/index.html index 93386612c2..67a4c2138d 100644 --- a/core/src/components/datetime/test/basic/index.html +++ b/core/src/components/datetime/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/datetime/test/preview/index.html b/core/src/components/datetime/test/preview/index.html index 3ff44cf3ba..ecdc0da5dd 100644 --- a/core/src/components/datetime/test/preview/index.html +++ b/core/src/components/datetime/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/datetime/test/standalone/index.html b/core/src/components/datetime/test/standalone/index.html index 6381ecb348..0b11128658 100644 --- a/core/src/components/datetime/test/standalone/index.html +++ b/core/src/components/datetime/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/fab-button/test/standalone/index.html b/core/src/components/fab-button/test/standalone/index.html index b3165a0cc2..361bef2927 100644 --- a/core/src/components/fab-button/test/standalone/index.html +++ b/core/src/components/fab-button/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/fab/test/basic/index.html b/core/src/components/fab/test/basic/index.html index fd9682f719..3bb8ace59e 100644 --- a/core/src/components/fab/test/basic/index.html +++ b/core/src/components/fab/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/fab/test/preview/index.html b/core/src/components/fab/test/preview/index.html index 4023d939a4..d3e95a0aba 100644 --- a/core/src/components/fab/test/preview/index.html +++ b/core/src/components/fab/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/fab/test/standalone/index.html b/core/src/components/fab/test/standalone/index.html index e47da0041b..4d215970e9 100644 --- a/core/src/components/fab/test/standalone/index.html +++ b/core/src/components/fab/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/fab/test/translucent/index.html b/core/src/components/fab/test/translucent/index.html index 7d923e345a..a4b0b50a58 100644 --- a/core/src/components/fab/test/translucent/index.html +++ b/core/src/components/fab/test/translucent/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/footer/test/translucent/index.html b/core/src/components/footer/test/translucent/index.html index b8ab21d16a..5996f8a9a5 100644 --- a/core/src/components/footer/test/translucent/index.html +++ b/core/src/components/footer/test/translucent/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/grid/test/basic/index.html b/core/src/components/grid/test/basic/index.html index bade49d9f1..31122d928f 100644 --- a/core/src/components/grid/test/basic/index.html +++ b/core/src/components/grid/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/grid/test/offsets/index.html b/core/src/components/grid/test/offsets/index.html index 2ebc70bd91..c57f233033 100644 --- a/core/src/components/grid/test/offsets/index.html +++ b/core/src/components/grid/test/offsets/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/grid/test/padding/index.html b/core/src/components/grid/test/padding/index.html index 6e85121960..bbff6d6aa2 100644 --- a/core/src/components/grid/test/padding/index.html +++ b/core/src/components/grid/test/padding/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/grid/test/preview/index.html b/core/src/components/grid/test/preview/index.html index cac6de03d9..f5304d44d6 100644 --- a/core/src/components/grid/test/preview/index.html +++ b/core/src/components/grid/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/grid/test/sizes/index.html b/core/src/components/grid/test/sizes/index.html index 2d3c212fd3..326a9f5f5b 100644 --- a/core/src/components/grid/test/sizes/index.html +++ b/core/src/components/grid/test/sizes/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/grid/test/standalone/index.html b/core/src/components/grid/test/standalone/index.html index b4d2a7cd05..a180c8d6d5 100644 --- a/core/src/components/grid/test/standalone/index.html +++ b/core/src/components/grid/test/standalone/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/header/test/translucent/index.html b/core/src/components/header/test/translucent/index.html index 57601ccc61..39e6362dba 100644 --- a/core/src/components/header/test/translucent/index.html +++ b/core/src/components/header/test/translucent/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/hide-when/test/basic/index.html b/core/src/components/hide-when/test/basic/index.html index 17fdc36272..a4c07aabb9 100644 --- a/core/src/components/hide-when/test/basic/index.html +++ b/core/src/components/hide-when/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/hide-when/test/preview/index.html b/core/src/components/hide-when/test/preview/index.html index 4a3fdf9d56..65b918648b 100644 --- a/core/src/components/hide-when/test/preview/index.html +++ b/core/src/components/hide-when/test/preview/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/icon/test/basic/index.html b/core/src/components/icon/test/basic/index.html index 9cf1d20c4d..fbdb6db9aa 100644 --- a/core/src/components/icon/test/basic/index.html +++ b/core/src/components/icon/test/basic/index.html @@ -7,7 +7,7 @@ - + diff --git a/core/src/components/icon/test/items/index.html b/core/src/components/icon/test/items/index.html index 72f3b38aa4..2780563a41 100644 --- a/core/src/components/icon/test/items/index.html +++ b/core/src/components/icon/test/items/index.html @@ -7,7 +7,7 @@ - +