Bug 115122 - Setting an inline style property to "" shouldn't cause style recalc unless the property was present.
Summary: Setting an inline style property to "" shouldn't cause style recalc unless th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 12:46 PDT by Andreas Kling
Modified: 2013-04-24 12:58 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.92 KB, patch)
2013-04-24 12:47 PDT, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 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.
Comment 1 Andreas Kling 2013-04-24 12:47:44 PDT
Created attachment 199511 [details]
Patch
Comment 2 Andreas Kling 2013-04-24 12:58:25 PDT
Committed r149059: <http://trac.webkit.org/changeset/149059>