IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
207 | 207 | |
208 | 208 | if ( block.autoSize ) |
209 | 209 | { |
210 | | // We must adjust first the width or IE6 could include extra lines in the height computation |
211 | | var widthNode = block.element.$; |
| 210 | var panelDoc = block.element.getDocument(); |
| 211 | var width = ( CKEDITOR.env.webkit? block.element : panelDoc.getBody() )[ '$' ].scrollWidth; |
212 | 212 | |
213 | | if ( CKEDITOR.env.gecko || CKEDITOR.env.opera ) |
214 | | widthNode = widthNode.parentNode; |
215 | | |
216 | | if ( CKEDITOR.env.ie ) |
217 | | widthNode = widthNode.document.body; |
218 | | |
219 | | var width = widthNode.scrollWidth; |
220 | 213 | // Account for extra height needed due to IE quirks box model bug: |
221 | 214 | // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug |
222 | 215 | // (#3426) |