Open Bug 1741822 Opened 4 years ago Updated 4 years ago

Transform highlighter for `translate` on `:before` element are erroneous

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce

  1. Open data:text/html,<style>div:before {transform: translateX(100px);content: "";width: 20px;height: 20px;display: block;background: pink;}</style><div></div>
  2. Right click on the pink square and select "inspect" to open the inspector
  3. In the markup view, select the :before element
  4. In the rule view, hover the translateX property value

Expected results

The highlighter is displayed, and shows that the square was moved 100px to the right

Actual results

The highlighter is displayed, but it seems that all the points of the square are link to the (0,0) point on the page (see attached screenshot)


Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: