// attributes should only effect the element they were specified for
// so to ensure this happens a Matcher is used to match element ids.
// These element ids are set using the current style depth before the
// additional style sheet is added.
String inlineStyleValue = attributes.getAttributeValue(null, "style");
CompiledStyleSheet compiledStyleSheet = null;
int currentStyleDepth = styleSheetStack.depth();
if (inlineStyleValue != null) {
compiledStyleSheet = compileInlineStyleValue(inlineStyleValue);
if (compiledStyleSheet != null) {
pushStyleSheet(compiledStyleSheet);