Bug 115122

Summary: Setting an inline style property to "" shouldn't cause style recalc unless the property was present.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kling, macpherson, menard
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Andreas Kling
Reported 2013-04-24 12:46:21 PDT
E.g element.style.display = "" should be a no-op if there is no display property in the element's inline style.
Attachments
Patch (1.92 KB, patch)
2013-04-24 12:47 PDT, Andreas Kling
koivisto: review+
Andreas Kling
Comment 1 2013-04-24 12:47:44 PDT
Andreas Kling
Comment 2 2013-04-24 12:58:25 PDT
Note You need to log in before you can comment on or make changes to this bug.