Commit Graph

4 Commits

Author SHA1 Message Date
Nicolas Chevobbe
3976954edf 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

--HG--
extra : transplant_source : %1B%40%A24%EDW.%C5%96%C8m%3C%1F4%DA%F78%D1%26%8B
2016-03-28 21:01:32 +02:00
Nicolas Chevobbe
c123351274 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

--HG--
extra : transplant_source : %5B%E5%AD%22%D2%20uk%07%EE%A9%E4%91YS%B3R%C3%DF%21
2016-03-08 23:04:54 +01:00
Alexandre Poirot
d3b05e8c5a Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Tom Tromey
7a8e331bed Bug 1223035 - move output-parser.js to devtools/client/shared. r=jryans
--HG--
rename : devtools/shared/output-parser.js => devtools/client/shared/output-parser.js
2015-11-11 08:58:00 +01:00