[Webkit-unassigned] [Bug 40420] Web Inspector: Prevent from copying "filename.css" in Styles pane

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 11 09:29:05 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40420





--- Comment #6 from Nikita Vasilev <me at elv1s.ru>  2010-06-11 09:29:04 PST ---
(In reply to comment #5)
> WebCore/inspector/front-end/Section.js:86
>  +          if (x instanceof Node) {
> I don't think we should extend section's api to accept both text and Nodes as subtitles. subtitle setter is a convenience method for setting text. Should client need greater extensibility, he is free to access subtitleElement explicitly.

I borrowed it from the title setter; tried to be consistent.

> WebCore/inspector/front-end/inspector.css:4041
>  +  .styles-section .header [data-uncopyable]::before {
> You should just apply this to ".styles-section .subtitle".

And ".styles-section .subtitle a" in case of a link to CSS file.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list