Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/server-test-utils/dist/vue-server-test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8084,7 +8084,10 @@ ErrorWrapper.prototype.destroy = function destroy () {
*/

function isStyleVisible(element) {
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
if (
!(element instanceof window.HTMLElement) &&
!(element instanceof window.SVGElement)
) {
return false
}

Expand Down
5 changes: 4 additions & 1 deletion packages/shared/is-visible.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
*/

function isStyleVisible(element) {
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
if (
!(element instanceof window.HTMLElement) &&
!(element instanceof window.SVGElement)
) {
return false
}

Expand Down
5 changes: 4 additions & 1 deletion packages/test-utils/dist/vue-test-utils.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9011,7 +9011,10 @@ ErrorWrapper.prototype.destroy = function destroy () {
*/

function isStyleVisible(element) {
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
if (
!(element instanceof window.HTMLElement) &&
!(element instanceof window.SVGElement)
) {
return false
}

Expand Down
5 changes: 4 additions & 1 deletion packages/test-utils/dist/vue-test-utils.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -9015,7 +9015,10 @@ var VueTestUtils = (function (exports, Vue, vueTemplateCompiler) {
*/

function isStyleVisible(element) {
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
if (
!(element instanceof window.HTMLElement) &&
!(element instanceof window.SVGElement)
) {
return false
}

Expand Down
5 changes: 4 additions & 1 deletion packages/test-utils/dist/vue-test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9019,7 +9019,10 @@ ErrorWrapper.prototype.destroy = function destroy () {
*/

function isStyleVisible(element) {
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
if (
!(element instanceof window.HTMLElement) &&
!(element instanceof window.SVGElement)
) {
return false
}

Expand Down
5 changes: 4 additions & 1 deletion packages/test-utils/dist/vue-test-utils.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -9018,7 +9018,10 @@
*/

function isStyleVisible(element) {
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
if (
!(element instanceof window.HTMLElement) &&
!(element instanceof window.SVGElement)
) {
return false
}

Expand Down