[webkit-dev] Supporting w3c ref tests and changing our convention
rniwa at webkit.org
Fri Nov 4 13:39:24 PDT 2011
On Fri, Nov 4, 2011 at 1:32 PM, Hayato Ito <hayato at chromium.org> wrote:
> Could you clarify why we have to need to modify DRT if we have Link
> Element approach?
> I guess one of the reasons is the performance. It might be better that we
> use DRT to parse and extract reference links from HTML since parsing HTML
> using Python might take unacceptable time and might be inaccurate.
> Is there any other reasons we should modify DRT to support Link Element
That's the primary reason. I can see that there are more than 100,000 .xht
files just in css2.1 test suite, and the number is growing. If we include
css3, and other w3c test suites, we'll end up having tens of thousands of
tests, if not millions.
In addition, link element approach doesn't scale well in that there's no
mandate as to how reference files are named, so we'll end up needlessly
parsing all reference files as well depending on the order they appear in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev