-
11 Dec 2012 2:34 PM #1
ExtJS 3.4: Ext.util.CSS.getRule Issue in IE8
ExtJS 3.4: Ext.util.CSS.getRule Issue in IE8
Ext.util.CSS.getRule doesn't appear to work in IE8 but it works in chrome.
My CSS
My ExtJSCode:.x_3FieldsPerLine input, .x_3FieldsPerLine select { width: 227px; }
classCssRule appears to be undefined in IE8 although in chrome it is object and cssWidth is 227pxCode:var classCssRule = Ext.util.CSS.getRule(".x_3FieldsPerLine input, .x_3FieldsPerLine select"); var cssWidth = classCssRule.style.width;
-
12 Dec 2012 6:43 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
Thanks for the report! I have opened a bug in our bug tracker.
-
12 Dec 2012 7:49 AM #3
Just an update if I add new css rules like below and call Ext.util.CSS.getRule(".x_3FieldsPerLine") it works
Code:.x_3FieldsPerLine { width: 227px; }
You found a bug! We've classified it as
EXTJSIII-94
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote