Dynamic stylesheet test

  1. - styleEl.styleSheet.cssText = STUFF : FAIL. Stylesheet is empty
  2. - addRule('.foo','{ STUFF }', lastIdx) : FAIL. Adds empty rule
  3. - addRule('.foo','{}', lastIdx) : CORRECT
  4. - rule.style.width = '4em'; : FAIL. No reflow
  5. - rule.style.background = '#0F0'; FAIL. No reflow
  6. - rule.style.styleFloat = 'right'; FAIL. No reflow
  7. - rule.style.filter = 'alpha(opacity=VAL)'; CORRECT, and reflow/repaint applies all previous style changes
  8. - rule.style.cssText = STUFF (with filter); CORRECT