Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Conversation

@Connormiha
Copy link
Contributor

This patch fixes toShow for correct matching not hidden element.

Previos realization has some problems:

  1. element.style.display is '' (empty string) if property setted via not inline style. We should use getComputedStyle for correct detecting css rules instead of style property.
  2. Checked only block and inline-block. What's about table, inline, flex, etc? It's enough just check for not none
  3. Ignored style.visibility and hidden property

@sadick254 sadick254 merged commit ea4cbb7 into atom:master May 24, 2021
UziTech added a commit to UziTech/jasmine2-atom-matchers that referenced this pull request May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants