Skip to content

isDisabled() returns true, while JS is set to disabled #418

Description

@Deadc00l

Hello,
I have an issue with the display of elements in case javascript is set to disabled:
com.gargoylesoftware.htmlunit.html.HtmlElement.isDisplayed()

Example html

<div id="div" style="display:none;">
    <span id="test">
        Some Text
    </span>
</div>

Expected result of span with id "test" is false (because of style="display:none;")
HtmlUnit returns true.

@rbri, could you please take a look at this?

Thanks and greetings

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions