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

Unified Diff: client/html/src/CSSStyleDeclarationWrappingImplementation.dart

Issue 8341027: Fix client/html_tests so they use the new framework. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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
Index: client/html/src/CSSStyleDeclarationWrappingImplementation.dart
diff --git a/client/html/src/CSSStyleDeclarationWrappingImplementation.dart b/client/html/src/CSSStyleDeclarationWrappingImplementation.dart
index f6d5577bf75bebcf54395ca218d5771f9607103a..6fa3045b0797eda259f7fc11d3dc3aba84e855df 100644
--- a/client/html/src/CSSStyleDeclarationWrappingImplementation.dart
+++ b/client/html/src/CSSStyleDeclarationWrappingImplementation.dart
@@ -15,6 +15,16 @@ class CSSStyleDeclarationWrappingImplementation extends DOMWrapperBase implement
CSSStyleDeclarationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
+ factory CSSStyleDeclarationWrappingImplementation.css(String css) {
+ var style = new Element.tag('div').style;
+ style.cssText = css;
+ return style;
+ }
+
+ factory CSSStyleDeclarationWrappingImplementation() {
+ return new CSSStyleDeclarationWrappingImplementation.css("");
Jacob 2011/10/25 23:45:51 "" --> ''
nweiz 2011/10/26 00:27:37 Done.
+ }
+
static String get _browserPrefix() {
if (_cachedBrowserPrefix === null) {
if (_Device.isFirefox) {

Powered by Google App Engine
This is Rietveld 408576698