[wp-trac] [WordPress Trac] #17927: DFW improperly increasing TinyMCE iframe body height on WebKit browsers w/ zoom !=100%

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 29 05:41:42 UTC 2011


#17927: DFW improperly increasing TinyMCE iframe body height on WebKit browsers w/
zoom !=100%
--------------------------+-----------------------------
 Reporter:  zekeweeks     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When entering DFW from a WebKit browser with zoom set to something other
 than 100%, the MCE iframe's <body> element increases its height with some
 wildly exaggerated math. With zoom set to 120%, a post with containing,
 "Don't forget to bring a towel!" increases the iframe <body> - and thus
 its container and the overall page vertical scroll - to 85,058px height.

 Steps to reproduce:
 1. Launch Chrome/Safari
 2. Set browser zoom to something higher than 100%.
 3. Edit a new/existing post with DFW enabled and write just a sentence or
 so worth of characters. Note that the TinyMCE body and entire page height
 will increase with some disproportionate math as you add each character.
 4. Change your browser zoom to something lower than 100% and note that the
 same thing occurs until you've hit the TinyMCE container's minimum height.

 Suspected issue: The math auto-adjusting TinyMCE body/container height as
 character increases conflicts with WebKit's zooming metrics.

 Occurs on:
 * 3.2-RC2-18370
 * wordpress.com as of this filing

 * Chrome 12 (Mac, Windows)
 * Safari 5 (Mac)
 * Doesn't occur on Firefox/IE.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17927>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list