WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
92772
Expose table internal structure to DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=92772
Summary
Expose table internal structure to DumpRenderTree
Julien Chaffraix
Reported
2012-07-31 10:52:35 PDT
Currently we don't dump the internal table structure anywhere (RenderTable::m_columns). We do dump physical cells location on the grid but that doesn't cover any patching we do due to different row sizes. This would make bug where the structure of the table is wrong easier to debug. On way to do that would be to add a new method to Internals. The other one would be to modify RenderTreeAsText to dump it along the RenderTable. My favorite is Internals as we would get dumpAsText tests but I didn't spend too much time thinking about it.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2012-08-10 12:12:30 PDT
I'm not sure if this is such a good idea. We try not to expose implementation details like this elsewhere in WebKit.
Simon Fraser (smfr)
Comment 2
2012-08-10 12:25:01 PDT
Agreed; I don't think we should start dumping lots of Render* state via internals. I'd vote for just enhancing the RenderTeeAsText output for tables.
mitz
Comment 3
2012-08-10 12:59:17 PDT
(In reply to
comment #2
)
> Agreed; I don't think we should start dumping lots of Render* state via internals. I'd vote for just enhancing the RenderTeeAsText output for tables.
Ditto.
Julien Chaffraix
Comment 4
2012-08-10 13:08:26 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > Agreed; I don't think we should start dumping lots of Render* state via internals. I'd vote for just enhancing the RenderTeeAsText output for tables. > > Ditto.
Just to outline why I considered Internals to be better than RenderTreeAsText _in this case_: 1) it's useful only in a pretty small subset of the table issues. 2) a render tree dump is already cramped with a lot of information and this would add another big chunk to it. That said, I am not set up on the means, only that it would be a good information to add to our testing repertoire.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug