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)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
Details
Attachments
(1 file)
|
6.68 KB,
image/png
|
Details |
Steps to reproduce
- Open
data:text/html,<style>div:before {transform: translateX(100px);content: "";width: 20px;height: 20px;display: block;background: pink;}</style><div></div> - Right click on the pink square and select "inspect" to open the inspector
- In the markup view, select the
:beforeelement - In the rule view, hover the
translateXproperty 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)
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•