From 812d4ea4dfaecacf32e0265b451366c02a286c75 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 10 Feb 2010 23:02:06 +0000 Subject: [PATCH] Add comment for r62191 --- skins/common/IE80Fixes.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/skins/common/IE80Fixes.css b/skins/common/IE80Fixes.css index d20e518b1f..b6360f60eb 100644 --- a/skins/common/IE80Fixes.css +++ b/skins/common/IE80Fixes.css @@ -1,9 +1,15 @@ /** - * Fixes textarea scrolling bug (bug #19334) + * Fixes textarea scrolling bug (bug #19334). The bug only occurs when a + * percentage width is given, so instead of width: 100%, use min-width: 100%; + * max-width: 100%. We also need to give a fixed width for the actual width + * property for the hack to work, although the actual value (500px here) ends + * up being ignored; min/max-width take precedence. + * + * More info: http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/ */ #wpTextbox1 { height: 390px; width: 500px; min-width: 100%; max-width: 100%; -} \ No newline at end of file +} -- 2.20.1