RESOLVED FIXED 157674
Web Inspector: Computed style shows both prefixed and unprefixed variants of properties
https://bugs.webkit.org/show_bug.cgi?id=157674
Summary Web Inspector: Computed style shows both prefixed and unprefixed variants of ...
Antoine Quint
Reported 2016-05-13 06:16:41 PDT
If you set an animation property, which is supported both prefixed and unprefixed in WebKit, both the prefixed and unprefixed variants will show in the computed styles. Only properties that are explicitly set should be shown.
Attachments
Patch (3.30 KB, patch)
2016-05-13 06:19 PDT, Antoine Quint
no flags
Patch for landing (3.23 KB, patch)
2016-05-16 11:24 PDT, Antoine Quint
bburg: commit-queue-
Radar WebKit Bug Importer
Comment 1 2016-05-13 06:17:01 PDT
Antoine Quint
Comment 2 2016-05-13 06:17:11 PDT
Antoine Quint
Comment 3 2016-05-13 06:19:37 PDT
Timothy Hatcher
Comment 4 2016-05-13 09:54:34 PDT
Comment on attachment 278837 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=278837&action=review > Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js:962 > + return this._orderedStyles.some(function(style) { > + return style.properties.some(function (property) { We have been using arrow functions for things like this. They are fast! Also no space before (.
Matt Baker
Comment 5 2016-05-13 13:41:47 PDT
Comment on attachment 278837 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=278837&action=review > Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:211 > + Lately we've been making simple getters/settings one line: set implicit(implicit) { this._implicit = implicit; }
Antoine Quint
Comment 6 2016-05-16 11:24:55 PDT
Created attachment 279029 [details] Patch for landing
Blaze Burg
Comment 7 2016-05-16 11:25:41 PDT
Blaze Burg
Comment 8 2016-05-16 11:26:14 PDT
Comment on attachment 279029 [details] Patch for landing Already landed it through my local checkout.
Note You need to log in before you can comment on or make changes to this bug.