Closed Bug 1443151 Opened 6 years ago Closed 6 years ago

Shapes editor doesn't handle cases for clip-path and shape-outside on the same element

Categories

(DevTools :: Inspector, enhancement, P2)

enhancement

Tracking

(firefox61 verified, firefox62 verified)

VERIFIED FIXED
Tracking Status
firefox61 --- verified
firefox62 --- verified

People

(Reporter: rcaliman, Assigned: rcaliman)

References

(Blocks 1 open bug)

Details

This bug occurs as a result of the implementation for: https://bugzilla.mozilla.org/show_bug.cgi?id=1435373

Issues of shapes editor with co-existence of clip-path and shape-outside.

Steps:
- Run the following in the URL bar:
data:text/html;charset=utf-8,<style>.shape {background: red; width:300px; height: 300px; shape-outside: circle(25%); clip-path: circle(25%);}</style><div class="shape"></div>

- Open DevTools Inspector, select the div with class .shape
- Click swatch toggle next to shape-outside
- Click swatch toggle next to clip-path

Result:
Both swatches show as active. Editing the shape with the in-context editor maps changes initially to both property values, then updates the correct one.

Expected:
First swatch should show as disabled. Shape change values should map to the last selected property.
Severity: normal → enhancement
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
See Also: → 1435373
Resolution: WONTFIX → FIXED
Build ID: 20180528091514
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

Verified as fixed on Firefox Nightly 62.0a1 and Firefox 61.0b9  on Windows 10 x 64, Windows 7 x32, Mac OS X 10.12 and Ubuntu 16.04 x64.
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.