Hi,
I may have found a bug in XXE's behaviour when styling processing
instructions. Basically, the PI target is not well recognised if it
contains upper case letters.
A document containing:
<?Test pi1?>
<?test pi2?>
and using the following CSS:
*::processing-instruction(Test) {
background-color: blue;
}
*::processing-instruction(test) {
background-color: yellow;
}
If both "test" and "Test" are defined in CSS, then pi1 has a light green
background (default PI rule) and pi2 has a yellow background.
If only "test" is defined in CSS, the result is the same (which is
correct, here).
If only "Test" is defined in CSS, then pi1 is still in light green but
pi2 is in blue.
Cheers,
Benoit
--
Benoit Maisonny benoit at synclude.com
Director & Consultant http://synclude.com
Synclude