title: Get computed font size for DOM element in JS
body: <p>Is it possible to detect the computed <code>font-size</code> of a DOM element, taking into consideration generic settings made elsewhere (In the <code>body</code> tag for example), inherited values, and so on? </p>
  
  <p>A framework-independent approach would be nice, as I'm working on a script that should work standalone, but that is not a requirement of course.</p>
  
  <p>Background: I'm trying to tweak <a href="http://ckeditor.com/" rel="noreferrer">CKEditor's</a> font selector plugin (source <a href="http://svn.fckeditor.net/CKEditor/releases/stable/_source/plugins/font/plugin.js" rel="noreferrer">here</a>) so that it always shows the font size of the current cursor position (as opposed to only when within a <code>span</code> that has an explicit <code>font-size</code> set, which is the current behaviour).</p>