Open Bug 1932312 Opened 15 days ago Updated 2 days ago

overridden declaration in :scope is not marked as overridden in the rules view

Categories

(DevTools :: Inspector: Rules, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

  1. Navigate to data:text/html, <div><style>@scope {:scope {color: red;color: green}}</style>Hello</div>
  2. Inspect the "Hello" element

Expected result: color: red declaration is marked as overridden
Actual result: color: red declaration is not marked as overridden

What's funny is that, with STR from comment 0, if you then resize the page, the declaration get marked as overridden

This does not happen with separate rules, where we do face the same issue:

@scope {
  :scope {
    color: red;
  }
  :scope {
    color: green
  }
}
Severity: -- → S3
Priority: -- → P2
Depends on: 1934914
You need to log in before you can comment on or make changes to this bug.