getMatchedCSSRules and IE


  1. extract all IHTMLStyleSheetRules of document.
  2. filter those by interesting style value.
  3. test whether a element is able to be applied to rule by msMatchesSelector method,
    which is invoked with arguments;selectorText of rule and the element.


CSSUtilities seems not to support IE10+.

댓글

이 블로그의 인기 게시물

Oracle NLS_DATE_FORMAT 변경

Stop console process using Ctrl+C.

Alternative to IValueConvert, QuickConverter