Commit Graph
3 Commits
Author SHA1 Message Date
Nicolas Chevobbe add0813306 Bug 1259559 - Units cycling with shift+click persists value in Style editor. r=miker
Add an 'unit-change' event fired when shift+click on color and angle swatches.
Add a listener on this event in text-property-editor.js to call the same function
that's called when tooltip edit is commited to persist the new unit.
Edit some tests to adapt to this new behaviour and create some tests to make sure
the value obtained via shift+click are actually persisted.

MozReview-Commit-ID: CcF4oiBPEzT
2016-03-28 21:01:32 +02:00
Nicolas Chevobbe 00e3dbd919 Bug 1259777 - Remove unnecessary DOMUtils lazy load in css-angle.js . r=pbro
MozReview-Commit-ID: 3byxrCy63Pv
2016-03-25 17:34:51 +01:00
Nicolas Chevobbe b4e805d826 Bug 1250835 - Display swatch for angles in the rules panel. r=miker
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).

MozReview-Commit-ID: CWhoUQTkP1G
2016-03-08 23:04:54 +01:00