Skip to content

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

@php-coder

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.

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