JavaScriptãã©ã¦ã¶ã®æåãµã¤ãºã®å¤æ´ã®åº¦åãã調ã¹ããæåãµã¤ãºã大ãããã¦ããã¨ã1.7ãªã©ã®æ°å¤ãè¿ãã function getFontMagnification(){ var elmSample = document.createElement('span'); elmSample.style.fontSize='100px'; return MochiKit.Style.computedStyle(elmSample, 'font-size').match(/^\d+/)[0]/100; } marginãheightãªã©ã®ä»ã®ããããã£ã¨ã¯éããfont-sizeã¯ã¦ã¼ã¶ã¼ãå¤æ´ããå¯è½æ§ãé«ããããã¹ã¿ã¤ã«ã®ããããã£ã®åå¾ãé£ãããããã¨ã¬ã¡ã³ãã«è¨å®ããã¦ãããã©ã³ããµã¤ãºãç¥ãããã«ãgetComputedStyle/currentStyleã®ãã©ã³ããµã¤ãºã
{{#tags}}- {{label}}
{{/tags}}