Skip to content

devtool/layout: Panic on simple scenario #40851

@yezhizhen

Description

@yezhizhen

Describe the bug:

assertion `left == right` failed
  left: SpatialId(2, PipelineId(1, 1))
 right: SpatialId(1, PipelineId(1, 1)) (thread Script(1,1), at components\layout\display_list\mod.rs:565)

To Reproduce:

  1. Save example in Unspecified overflow hides item from hit-test #40663 (comment) as hit_test_z_index.html
  2. ./mach run -r <path to above file> --devtools=6080
  3. open about:debugging in Firefox, connect and inspect.
  4. Hover over <div> like below.
Image
  1. Bang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-devtoolsA-layout/2020https://github.com/servo/servo/wiki/Layout-2020I-panicServo encounters a panic.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions