Issue Bug Closed

#22533Match TS browser condition with all delivered browsers

Steffen Kamper 04/27/10, 23:37 updated 07/02/10, 11:16

Description

after having #22511 in core some browsers like chrome have 3 infos in UA:
[webkit] => 532.5
[chrome] => 4.1
[safari] => 532.5

current condition [browser=chrome] doesn’t match as safari is the last browser info delivered.

But the info is in “all” array of $browserInfo.

So simply use the all array for compare and [browser=chrome] will work.
Even something like [browser=webkit] works, which allows adding special css for webkit browsers.

(issue imported from #M14230)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.