Skip to content

[regression in 2.37] getting text of element ignores the value of child's input #128

Description

@php-coder

Simplified example:

<p id="number-of-stamps-block">
    I have <input type="number" value="2"/> out of 2 stamps
</p>

With htmlunit 2.36 when we get the text of the paragraph, the value was I have 2 out of 2 stamps
With htmlunit 2.37 the value is I have out of 2 stamps

The value of an <input> is being ignored now. This is regression and it seems like a bug.

Please, let me know if you need more information.

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