Avoid cloning nodes containing linkified URLs in StylesSidebatrPane. This is an intermediate step to use JS properties instead of "preferred_panel" and "line_number" attributes on linkified URLs.
Created attachment 116970 [details] Patch
Comment on attachment 116970 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116970&action=review Looks good > Source/WebCore/inspector/front-end/StylesSidebarPane.js:1132 > + this.identifier = identifier ; at the end lost
Created attachment 116971 [details] Patch
Comment on attachment 116970 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116970&action=review > Source/WebCore/inspector/front-end/StylesSidebarPane.js:-925 > - function linkifyUncopyable(url, line) Lets fix linkify uncopyable first.
Created attachment 116977 [details] Patch
Comment on attachment 116970 [details] Patch Cleaning r? that I have set accidentally.
Comment on attachment 116977 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116977&action=review > Source/WebCore/inspector/front-end/StylesSidebarPane.js:-935 > - if (this.styleRule.sourceURL) Is there a reason behind the change of behavior? > Source/WebCore/inspector/front-end/StylesSidebarPane.js:1124 > + _updateRuleOrigin: function(text) You don't need to update the origin. Extracting a method that would create a DOM elements link for given section is sufficient for getting rid of the clone.
Created attachment 117186 [details] Patch
Created attachment 117188 [details] Patch
- dropped StylePropertiesSection.identifier - dropped updateOrigintText() - dropped url extraction from styleRule.rule
Committed r101518: <http://trac.webkit.org/changeset/101518>