Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Unified Diff: lib/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate

Issue 10905130: Adding IE support to browser prefixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removing test exceptions from html.status. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate b/lib/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
index 63eb605a53f08014a21de21b240fb06a1a06ed23..db7d317ce046e3528686219c65841065c104ce5f 100644
--- a/lib/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
+++ b/lib/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
@@ -8,10 +8,13 @@ String get _browserPrefix() {
if (_cachedBrowserPrefix === null) {
if (_Device.isFirefox) {
_cachedBrowserPrefix = '-moz-';
+ } else if (_Device.isIE) {
+ _cachedBrowserPrefix = '-ms-';
+ } else if (_Device.isOpera) {
+ _cachedBrowserPrefix = '-o-';
} else {
_cachedBrowserPrefix = '-webkit-';
}
- // TODO(jacobr): support IE 9.0 and Opera as well.
}
return _cachedBrowserPrefix;
}
« no previous file with comments | « no previous file | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698