@media rules

corrupted rules and Parse Errors...

chaotic test page
#10
01.apr.2005
rev: 24.oct.2005

testing ground

...this is a variant of the browser-targeting stylesheet used on some regular pages.

- Blue styles are applied (in sequense).
- Green styles are seen but not applied (because they are blocked by further filtering).
- Gray styles are not seen at all.

1: border-color: blue - open2: IE/Mac [ image ] - /* commented */3: IE/win [ image ] - @media screen {...}4: Safari [ image ] - @media screen {...}5: Gecko [ image ] - @media screen {...}6: Opera 9.0+ [ image ] - @media screen & min-width {...}-- corruption --6a: Opera 7.20+ [ image ] - @media screen & min-width {...}6b: Opera 7.50+ [ image ] - @media screen & min-width {...}7: border-color: brown - open

Work in progress.

CSS is constantly
changing, so see 
source code for
the latest.

Note:
6a & 6b (Opera) are
inside the same wrapper.

Notes:

Testing how browsers recovers from parse errors caused by corrupted @media rules. This is by definition: non-valid CSS.

I'm introducing additional hurdles in order to strengthen browser-separation. Older Opera versions can recover from most hurdles, mostly in line with IE/win. Opera 9.0+ is much stricter, and dictated a revision of the filter.

Ordinary filters used for IE/win & IE/Mac.

Javascript "detection" used for IE/win. This filter can be seen/testet below 600px browser-width.

tested browsers:

Opera:
win2K: 7.22, 7.50, 7.54, 8.50
win2K: 9.0 preview 1
Mac OS-X: 7.54
Moz:
win2K: 1.4, 1.7.2
FF:
win2K: (0.6), 0.8, 1.0
Mac OS-X: 1.0
Safari:
Mac OS-X: 1.2.4
IE:
win2K: 5.0, 6.0
Mac OS-X: 5.2
Netscape (Moz):
win2K: 7.2(Moz 1.7.2)

rev: 24.oct.2005 - strengtening target-filter for Opera.

go to test-menu

testing ground