Skip to content

Painting issue: missing text and half a div #7074

Closed

Description

@paulrouget

Using servo -o img.png with the following code, I get the expected rendering. But with the regular glutin window (osx), painting is messed up:

screen shot 2015-08-07 at 15 19 46

<!DOCTYPE html>

<html>

  <style>
    body > div {
      position: absolute;
      top: 0;
      background: #EEE;
      padding: 0 30px
    }
  </style>

  <body style="margin:0">
    <div style="left: 0;"> 
      <div>0</div>
      <div>1</div>
      <div>2</div>
      <div>3</div>
      <div>4</div>
      <div>5</div>
      <div>6</div>
      <div>7</div>
      <div>8</div>
      <div>9</div>
    </div>
    <div style="left: 100px;"> 
      <div>0</div>
      <div>1</div>
      <div>2</div>
      <div>3</div>
      <div>4</div>
      <div>5</div>
      <div>6</div>
      <div>7</div>
      <div>8</div>
      <div>9</div>
    </div>
    <div style="left: 200px;"> 
      <div>0</div>
      <div>1</div>
      <div>2</div>
      <div>3</div>
      <div>4</div>
      <div>5</div>
      <div>6</div>
      <div>7</div>
      <div>8</div>
      <div>9</div>
    </div>

  </body>

</html>

Activity

  1. changed the title [-]Painting issue: missing text and half a div missing[/-] [+]Painting issue: missing text and half a div[/+] on Aug 7, 2015
  2. added
    I-wrong
    on Aug 7, 2015
  3. HarryLovesCode commented on Aug 7, 2015

    @HarryLovesCode
    Contributor

    Looks like a duplicate of this: #7018 which was supposed to have been resolved by this: #7021.

    Try running Servo with the -s flag set to...

    • 128
    • 256
    • 512

    and see if the output changes each time. If so, then I think that would confirm the issue was not resolved. I'll test your example in a few minutes after master builds on my Mac.

  4. HarryLovesCode commented on Aug 7, 2015

    @HarryLovesCode
    Contributor

    @paulrouget You must be using an outdated version of Servo. The issue was indeed fixed ~8 hours ago.
    screen shot 2015-08-07 at 10 28 39 am

  5. paulrouget commented on Aug 7, 2015

    @paulrouget
    ContributorAuthor

    Updated. It's indeed fixed. Thanks.

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-gfx/renderingI-wrong

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions