Shape path editor breaks when attempting to move center point of circle()
Categories
(DevTools :: Inspector, defect, P1)
Tracking
(firefox65 wontfix, firefox66 verified)
People
(Reporter: mbalfanz, Assigned: rcaliman)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
29.45 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta-
|
Details | Review |
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 2•7 years ago
|
||
This patch handles empty circle() and ellipse() basic shape definitions.
Their computed values will hold default values for center and radius.
For circle(), it is just a case of treating identifiers like "center"
as unitless to allow falling back to computed sizes and pixels.
For ellipse(), the solution is identical, but the issue is compounded
by an incomplete computed style value tracked in Bug 1521508 which is
missing the default values for x and y radii.
Assignee | ||
Comment 3•7 years ago
|
||
Reduced test cases (run code in the address bar):
For empty circle():
data:text/html,<style>div{width:500px;height:500px;background-color:black; clip-path:circle(); }</style><div>
For empty ellipse():
data:text/html,<style>div{width:500px;height:500px;background-color:black; clip-path:ellipse(); }</style><div>
Comment 5•7 years ago
|
||
bugherder |
Assignee | ||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Comment on attachment 9037963 [details]
Bug 1507103 - Account for empty circle() and ellipse() in Shape Path Editor. r=gl
Too late for 65. This can ride with 66.
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #6)
Comment on attachment 9037963 [details]
Bug 1507103 - Account for empty circle() and ellipse() in Shape Path Editor. r=glToo late for 65. This can ride with 66.
It's ok. I can understand.
Did the completed approval request form make it to your end on some dashboard? I see the note is missing from the request on Bugzilla and don't know if it was lost in transit or not.
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #8)
No, it didn't :(
Argh! It was a bug, then. I'll make sure to watch out for it in the future. Thanks!
Assignee | ||
Comment 10•7 years ago
|
||
For context, regression caused by the fix for Bug 1473184.
Updated•7 years ago
|
Updated•7 years ago
|
Comment 11•7 years ago
|
||
I was able to reproduce the issue on a 66.0b1 build (20190121133415) on Windows 10, Windows 7, Mac OS 10.14.2 and Ubuntu 18.04.
After updating to the latest build - 66.0b3 (20190128143734), the issue is verified as fixed on all OS mentioned above.
The center point can be moved without any issues and the coordinates change accordingly.
Description
•