Skip to content

<wbr> element is not working for word break #21722

Closed

Description

@CYBAI

When I tried to navigate to MDN requestAnimationFrame, I found the breadcrumb on Servo is not word-break-ed. Then, I found the issue is related to <wbr> element.

screen shot 2018-09-15 at 5 00 45 pm

Here's small test case:

<p>
To learn AJAX, you must be familiar with the XML<wbr>Http<wbr>Request Object.
</p>

screen shot 2018-09-15 at 5 07 48 pm

Built with 0ecd671 on macOS 10.13.6

Activity

  1. added
    A-content/dom
    C-has-manual-testcase
    on Sep 15, 2018
  2. lumiscosity commented on Jul 26, 2025

    @lumiscosity
    Member

    Still broken. Tested on Arch Linux x86_64, Servo built against commit 9d29017, profiling build, compared against Firefox 141.0, Epiphany 48.5 and Chromium 138.0.7204.168 (ordered top to bottom).

    Image
  3. added and removed
    A-content/dom
    on Jul 26, 2025
  4. added a commit that references this issue on Oct 9, 2026
    60e4c92
  5. added a commit that references this issue on Oct 12, 2026
    0781015
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

    A-layout/inlineC-has-manual-testcase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions