Closed Bug 1581155 Opened 5 years ago Closed 5 years ago

Following the link from the box-model to the rule-view does not flash the CSS property anymore

Categories

(DevTools :: Inspector: Rules, defect)

defect
Not set
normal

Tracking

(firefox-esr60 unaffected, firefox-esr68 wontfix, firefox69 wontfix, firefox70 fixed, firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- wontfix
firefox69 --- wontfix
firefox70 --- fixed
firefox71 --- fixed

People

(Reporter: pbro, Assigned: mtigley)

Details

(Keywords: regression)

Attachments

(1 file)

In bug 1493677 we add a new feature to link box-model values to their corresponding authored styles in the rule-view (only enabled in nightly now).
When the link is followed, the style in the rule-view gets highlighted in yellow briefly to draw attention.
This flashing does not work anymore.

Try this:

  • open the inspector on this page (using nightly)
  • select an element that has some padding, border or margin
  • hold shift and hover over one of the padding, border or margin values in the box-model
  • look at the rule-view

The rule-view automatically scrolls to reveal where the property is defined.
But the property is not flashed as it should.

Assignee: nobody → mtigley
Status: NEW → ASSIGNED

In this revision, mimic flashing a property element like in the markup view.

Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/17eb7c5a88c4
Fix flashing a CSS property from box-model link. r=gl
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71

Is this something we should consider uplifting to Beta?

Yes, let's uplift this fix.

Flags: needinfo?(mtigley)

Comment on attachment 9092735 [details]
Bug 1581155 - Fix flashing a CSS property from box-model link.

Beta/Release Uplift Approval Request

  • User impact if declined: Users will not see the yellow highlight when scrolling to the selected CSS property.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Minor fix
  • String changes made/needed:
Attachment #9092735 - Flags: approval-mozilla-beta?

Comment on attachment 9092735 [details]
Bug 1581155 - Fix flashing a CSS property from box-model link.

Fix for regression from 67, looks straightforward.
OK for uplift for beta 9.

Attachment #9092735 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: