[Webkit-unassigned] [Bug 101495] New: Web Inspector: styled logs should work with multiple log() arguments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 7 11:32:23 PST 2012


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

           Summary: Web Inspector: styled logs should work with multiple
                    log() arguments
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: paulirish at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


Execute:

console.log('%c styled', 'unstyled', 'color:red');

Only the text " styled color:red"  is logged.



I would expect these to work:

console.log('%c red text', 'unstyled', 'color:red');
console.log(window, 'unstyled', '%c red text', 'color:red');
console.log('unstyled', document.body, '%c red text', 'color:red');

I suppose there isn't a spec's behavior here to follow, but this seems an intuitive direction.

-- 
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