Yes, I think that on chrome it does return the calculated value, but not
sure about other browsers or if the api might change once chrome is able to
return the original value.

Anyway this is just for completition since the rest of the code aaaumes it
can be either value. We probably won't be able to test it. But if we don't
add it here we should assume that we alwaya get px and remove the em bit
and be sure that it will work on other browsers. Ao maybe that is for
another clean up, and I think that it might have been discussed before.
El 08/04/2014 02:09, "Lance Campbell" <notifications@github.com> escribió:

> In src/view/ViewCommandHandlers.js:
>
> > @@ -113,6 +117,11 @@ define(function (require, exports, module) {
> >          }
> >          editor.refreshAll();
> >
> > +        delta = /em$/.test(oldFontSize) ? 10 : 1;
>
> @TomMalbran <https://github.com/TomMalbran>, if the value of
> $(".CodeMirror").css("font-size") always comes back in pixels, and I
> think it does, we don't have to check for ems, correct? Or am I wrong about
> it always coming back as pixels?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/adobe/brackets/pull/7443/files#r11376458>
> .
>