Skip to content

Position relative uses old dimensions after resize #262

Closed
@nimble0

Description

Reproducing:

  • Open demo sample
  • Go to sandbox tab
  • Paste this in rml box:
<div />
  • Paste this in rcss box:
div
{
width: 100%;
height: 100%;
background-color: red;
position: relative;
left: 100%;
}
  • It should look like this:
    position-relative-1
  • Make the window full screen. The red box should remain aligned with the right of white boxes, but instead it looks something like this:
    position-relative-2

Resizing the window also exhibits the bug but it's less visible.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglayoutLayout engine issues and enhancements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions