Bug 42213 - Show IDs and classnames in layer tree dumps
Summary: Show IDs and classnames in layer tree dumps
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 16:53 PDT by Simon Fraser (smfr)
Modified: 2010-07-13 17:38 PDT (History)
1 user (show)

See Also:


Attachments
Patch (4.33 KB, patch)
2010-07-13 16:59 PDT, Simon Fraser (smfr)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2010-07-13 16:53:19 PDT
The results of showLayerTree() should contain classes and IDs for ease of use.
Comment 1 Simon Fraser (smfr) 2010-07-13 16:59:14 PDT
Created attachment 61435 [details]
Patch
Comment 2 mitz 2010-07-13 17:28:49 PDT
Comment on attachment 61435 [details]
Patch

> +    RenderAsTextShowAttributes = 1 << 4, // Show id and class attributes

You could save the comment by naming this RenderAsTextShowIDAndClass
Comment 3 Simon Fraser (smfr) 2010-07-13 17:38:48 PDT
http://trac.webkit.org/changeset/63269