Closed
Bug 1507749
Opened 7 years ago
Closed 7 years ago
Shape Path Editor throws error and stops working for inline style
Categories
(DevTools :: Inspector, defect, P1)
DevTools
Inspector
Tracking
(firefox65 verified)
VERIFIED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox65 | --- | verified |
People
(Reporter: rcaliman, Assigned: rcaliman)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Steps to reproduce:
- go to https://developer.mozilla.org/en-US/docs/Web/CSS/shape-outside
- inspect the balloon image
- toggle on the Shape Path Editor for the `shape-outside` property in the Rule view
- attempt to drag the outer circle to resize the circle
Result:
The shape updates slightly, then stops working. Inspecting the browser console shows an error thrown:
```
Error: Invalid index -1. Expected positive integer:
```
Assignee | ||
Comment 1•7 years ago
|
||
The patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1467076 makes it that TextProperty instances created for the element's inline style are overwritten when the inline style is edited.
The Shape Path Editor kept a reference to an old TextProperty.
Updated•7 years ago
|
Attachment #9025744 -
Attachment description: Bug 1507749 - Account for changing TextProperty on when editing inline styles. r=pbro → Bug 1507749 - Account for changing TextProperty when editing inline styles. r=pbro
Pushed by rcaliman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b78e1686da9
Account for changing TextProperty when editing inline styles. r=pbro
Comment 3•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Updated•7 years ago
|
Flags: qe-verify+
Comment 4•7 years ago
|
||
Confirmed the issue with 65.0a1 (20181116220054).
Fix verified with 65.0b12 on Windows 10, macOS10.11, Ubuntu 18.04.
You need to log in
before you can comment on or make changes to this bug.
Description
•