From be03b76950b1cae961d4910af386838e4a58c8d1 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Tue, 29 Nov 2016 23:21:56 -0500 Subject: [PATCH] use style.cssText rather than style (#44) --- compiler/generate/visitors/attributes/lookup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/generate/visitors/attributes/lookup.js b/compiler/generate/visitors/attributes/lookup.js index f31496d9e1..e36c5c45fb 100644 --- a/compiler/generate/visitors/attributes/lookup.js +++ b/compiler/generate/visitors/attributes/lookup.js @@ -103,7 +103,7 @@ const lookup = { srcset: { appliesTo: [ 'img' ] }, start: { appliesTo: [ 'ol' ] }, step: { appliesTo: [ 'input' ] }, - style: {}, + style: { propertyName: 'style.cssText' }, summary: { appliesTo: [ 'table' ] }, tabindex: { propertyName: 'tabIndex' }, target: { appliesTo: [ 'a', 'area', 'base', 'form' ] },