Project

General

Profile

Actions

Bug #22533

closed

Match TS browser condition with all delivered browsers

Added by Steffen Kamper over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

14230.diff (1.05 KB) 14230.diff Administrator Admin, 2010-04-27 23:38

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #22383: No Browser Condition working for IE8 in Compatibility ModeClosed2010-04-06

Actions
Actions #1

Updated by Steffen Kamper over 14 years ago

committed v3 to trunk rev 7443

Actions

Also available in: Atom PDF