Skip to content

Borders of inline elements are wrong for broken lines #12699

Closed

Description

@splav

Minimal test:

<!doctype html>
<html><body>
<style>
div {
  width: 5em;
}
span {
  border-left: yellow solid 0.5em;
  border-right: yellow solid 0.5em;
}
</style>
<div>
  <span>Very long text</span>
</div>
</body></html>

Servo:
screenshot_20160803_010231
Firefox:
firefox

Activity

  1. added
    C-has-manual-testcase
    on Aug 2, 2016
  2. splav commented on Aug 2, 2016

    @splav
    ContributorAuthor

    As it interferes with my PR #12669 I would like to take this, at least in the part of extra borders, not sure about the positioning logic for now.

  3. jdm commented on Aug 2, 2016

    @jdm
    Member

    Go for it!

  4. added
    C-assigned
    on Aug 2, 2016
  5. added 3 commits that reference this issue on Aug 8, 2016
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-assignedC-has-manual-testcase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions