Skip to content

[BUG] font-size inherited bug #1452

Open
@unclezs

Description

@unclezs

Describe the bug:
font-size inherited error.

HTML to reproduce the issue:

<h2 style="font-size: 2em">
    <span style="font-size: 0.5em"><a>test font size</a></span>
</h2>

Html widget configuration:
example config.

Expected behavior:
expect 'test font size' font size is 14px. actual is 3.5px
h2 default font size is 28px.

Device details and Flutter/Dart/flutter_html versions:
3.0 latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions