summaryrefslogtreecommitdiffstats
path: root/client/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-10-09 18:38:28 +0300
committerArtur Signell <artur@vaadin.com>2012-10-23 16:10:56 +0300
commit21f8f85da95b2a3e555c46bfaf595fe61824fb94 (patch)
tree60aa29c536ba8552b0e594514ec65747f167915a /client/src/com
parent1baeeab1dbbb0f774c249bedc98b403bb5cd1c1f (diff)
downloadvaadin-framework-21f8f85da95b2a3e555c46bfaf595fe61824fb94.tar.gz
vaadin-framework-21f8f85da95b2a3e555c46bfaf595fe61824fb94.zip
Added BrowserInfo.isIE10() and test for IE10 user agent (#9217)
Change-Id: Ie81dcbfeaad30859db8b53ffec1f51024d832fd4
Diffstat (limited to 'client/src/com')
-rw-r--r--client/src/com/vaadin/client/BrowserInfo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/BrowserInfo.java b/client/src/com/vaadin/client/BrowserInfo.java
index fab393eedc..2f8c70e183 100644
--- a/client/src/com/vaadin/client/BrowserInfo.java
+++ b/client/src/com/vaadin/client/BrowserInfo.java
@@ -229,6 +229,10 @@ public class BrowserInfo {
return isIE() && getBrowserMajorVersion() == 9;
}
+ public boolean isIE10() {
+ return isIE() && getBrowserMajorVersion() == 10;
+ }
+
public boolean isChrome() {
return browserDetails.isChrome();
}