akzhan/jwysiwyg — pull request #10 by biegel (2012-12-13 18:50:17+00:00)
Title: patched multiple css property bug for toolbar active states

If the css for a toolbar element has more than one property, the button will trigger as active if *any* of the properties match. This works fine for bold, italic, etc., because they only modify the **font-weight** and **font-style** properties, respectively. For something like blockquote, however, several properties are modified. I ran into an error on Chrome for Windows where the **border-width** property on the <body> tag in the iframe was matching the **borderWidth** property for the blockquote element (both were "1px"). As a result, the UI activated the blockquote button no matter where you were in the iframe.

The fix makes sure that all css properties match, not just one.