Open
Bug 1436054
Opened 6 years ago
Updated 2 years ago
Shapes editor: inherit original units when adding new points to a polygon
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: rcaliman, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
95.73 KB,
image/png
|
Details |
When adding new points to a polygon shape, the editor defaults to using percentages as units. Instead, it should respect the unit types for the coordinates originally defined. Steps to reproduce: - Paste and run the following in the URL bar: data:text/html,<style>div {width:100px;height:100px;background:red;clip-path:polygon(0px 0px, 100px 0px, 100px 100px);}</style><div> - Open inspector - Open shapes editor - Double click an edge of the polygon to add a new point Result: Coordinates for new point are percentages. Expected: Coordinates for new points are pixels. Known complications: - mixed units - unitless zero along other unit
Updated•6 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•