On Thu, Mar 29, 2012 at 6:23 AM, Milian Wolff <[email protected]> wrote:

> I'm trying to write a unit test for my layouting patch, that prevents page
> breaks in table rows.


You mean layout tests / regression tests? We don't normally write C++ unit
tests for these things.


> So far, I've extended the layoutTestController with
> a pageBreaksInElementById function, similar to pageNumberForElementById.
>

Since you seem to be only testing WebCore rendering code and not WebKit
code, it's better to add methods to internals. (See WebCore/testing).

Do you have a bug for this? Or you're not planning to contribute your
change to WebKit repository?

- Ryosuke
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to