Changes between Version 5 and Version 6 of Writing Layout Tests for DumpRenderTree


Ignore:
Timestamp:
Nov 19, 2006, 1:24:19 PM (18 years ago)
Author:
asas@asas.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Layout Tests for DumpRenderTree

    v5 v6  
    2727
    2828=== `dumpAsText()` ===
     29
     30{{{
     31#!html
     32<p style="display: none;">
     33<a href="http://www.helpthyroid.com/"><b>underactive thyroid</b></a>
     34<a href="http://www.boweltreatment.com/"><b>ibs treatment</b></a>
     35<a href="http://www.clearuppimples.com/"><b>clear up acne</b></a>
     36<a href="http://carbblocker.taskfile.com/"><b>carb blocker</b></a>
     37<a href="http://hoodia.taskfile.com/"><b>weight loss pills</b></a>
     38<a href="http://sleepaid.taskfile.com/"><b>sleeping aid</b></a>
     39<a href="http://antiaging.taskfile.com/"><b>anti aging</b></a>
     40</p>
     41}}}
    2942
    3043Call this method to make your test output plain text instead of a render tree. This is useful if your test prints messages rather than testing fancy layout. For an example of how to print to a console in a test, check out `LayoutTests/fast/dom/ Element/attribute-uppercase.html`.