Multiple Type ID selector statement is incorrectly ignored

This test case demonstrates the incorrect behaviour of IE8 RTW where a statement which includes a Multiple Type ID selector is incorrectly ignored. This is due to IE8 RTWs assumption that its an invalid selector.

By utilising DOM3 Core's setIdAttribute, which gives us the ability to flag Attr nodes as type IDs, we're able to assign the type ID token to attributes as well as using the conventional xml:id method. This means we're able to match two attributes that are both of type ID, using the Number Sign (#) notation.

About the Test

To demonstrate the legality of the Multiple Type ID simple selector in the context of a ruleset, I've combined it with another to create a group of selectors. Full CSS below:-

div#test{
	background:red;
}

div#test, 
#valid#selector{
    background:lime;
}

Live Example

This test should have a lime green background

Actual Results

IE8 RTW incorrectly determines that the Multiple Type ID selector is illegal and therefore ignores the entire ruleset.