Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word breaking with nested spans bug #2102

Open
survtur opened this issue Mar 19, 2024 · 0 comments
Open

Word breaking with nested spans bug #2102

survtur opened this issue Mar 19, 2024 · 0 comments
Labels
bug Existing features not working as expected

Comments

@survtur
Copy link
Contributor

survtur commented Mar 19, 2024

That long word breaks if i wrap it into additional span.
Tested on Weasy 61.2

image

<body style="  word-wrap: break-word">
<div style="width: 20em; background-color: #fafaff">
    <em>
        some text
        <span style='color: red'>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyy</span>
        zzzz wwwwwwwwwwwww
        aaaaaa
    </em>
</div>
<br/><br/>
<div style="width: 20em; background-color: #fafaff">
    <em>
        some text
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyy
        zzzz wwwwwwwwwwwww
        aaaaaa
    </em>
</div>
</body>
@survtur survtur changed the title word-wrapping bug word-wrapping with nested spans bug Mar 19, 2024
@survtur survtur changed the title word-wrapping with nested spans bug Word breaking with nested spans bug Mar 19, 2024
@liZe liZe added the bug Existing features not working as expected label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants