Changeset 2272:026dafc53491 in livinglogic.python.xist

Show
Ignore:
Timestamp:
02/22/05 16:25:22 (15 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Remove trailing spaces.

Remove bogus comment in csstokenizer.cxx::initcsstokenizer().

Location:
_xist
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • _xist/csstokenizer.cxx

    r1957 r2272  
    15461546initcsstokenizer(void) 
    15471547{ 
    1548     // PyANSIStream_Type.ob_type = &PyType_Type; /* fix the type pointer */ 
    15491548    Py_InitModule3("csstokenizer", _functions, module__doc__); 
    15501549} 
     
    15541553                   The Apache Software License, Version 1.1 
    15551554 ============================================================================ 
    1556   
     1555 
    15571556 Copyright (C) 2000 The Apache Software Foundation. All rights reserved. 
    1558   
     1557 
    15591558 Redistribution and use in source and binary forms, with or without modifica- 
    15601559 tion, are permitted provided that the following conditions are met: 
    1561   
     1560 
    15621561 1. Redistributions of  source code must  retain the above copyright  notice, 
    15631562    this list of conditions and the following disclaimer. 
    1564   
     1563 
    15651564 2. Redistributions in binary form must reproduce the above copyright notice, 
    15661565    this list of conditions and the following disclaimer in the documentation 
    15671566    and/or other materials provided with the distribution. 
    1568   
     1567 
    15691568 3. The end-user documentation included with the redistribution, if any, must 
    15701569    include  the following  acknowledgment:  "This product includes  software 
     
    15721571    Alternately, this  acknowledgment may  appear in the software itself,  if 
    15731572    and wherever such third-party acknowledgments normally appear. 
    1574   
     1573 
    15751574 4. The names "Batik" and  "Apache Software Foundation"  must not be  used to 
    15761575    endorse  or promote  products derived  from this  software without  prior 
    15771576    written permission. For written permission, please contact 
    15781577    apache@apache.org. 
    1579   
     1578 
    15801579 5. Products  derived from this software may not  be called "Apache", nor may 
    15811580    "Apache" appear  in their name,  without prior written permission  of the 
    15821581    Apache Software Foundation. 
    1583   
     1582 
    15841583 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, 
    15851584 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
     
    15921591 (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF 
    15931592 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    1594   
     1593 
    15951594 This software  consists of voluntary contributions made  by many individuals 
    15961595 on  behalf  of the Apache Software  Foundation. For more  information on the 
  • _xist/ns/css.py

    r2235 r2272  
    1111""" 
    1212<par>An &xist; module that contains elements that can be used to generate &css;2 files.</par> 
    13 <par>For further info about &css;2 see  
     13<par>For further info about &css;2 see 
    1414<link href="http://www.w3.org/TR/REC-CSS2">http://www.w3.org/TR/REC-CSS2</link>.</par> 
    1515""" 
     
    126126    are set to the second. If there are three values, the top is set to the first value, 
    127127    the left and right are set to the second, and the bottom is set to the third. 
    128     If there are four values, they apply to the top, right, bottom, and left, respectively.</par>  
     128    If there are four values, they apply to the top, right, bottom, and left, respectively.</par> 
    129129    """ 
    130130 
     
    223223    If there are three values, the top is set to the first value, the left and right are set to the second, 
    224224    and the bottom is set to the third. If there are four values, they apply to the top, right, 
    225     bottom, and left, respectively.</par>  
     225    bottom, and left, respectively.</par> 
    226226    """ 
    227227    xmlname = "border-width" 
     
    267267    <par>The <class>border_color</class> property can have from one to four values, 
    268268    and the values are set on the different sides as for 
    269     <pyref class="border_width"><class>border_width</class></pyref>.</par>  
    270  
    271     <par>If an element's border color is not specified with a border property,  
     269    <pyref class="border_width"><class>border_width</class></pyref>.</par> 
     270 
     271    <par>If an element's border color is not specified with a border property, 
    272272    user agents must use the value of the element's <pyref class="color"><class>color</class></pyref> 
    273273    property as the computed value for the border color.</par> 
     
    278278class border_top_style(prop): 
    279279    """ 
    280     <par>The <class>border_top_style</class> properties specify the line style of a  
     280    <par>The <class>border_top_style</class> properties specify the line style of a 
    281281    box's top border. Allow values are:</par> 
    282282 
    283283    <ulist> 
    284     <item><lit>none</lit>: No border. This value forces the computed value of  
    285     <pyref class="border_top_width"><class>border_top_width</class></pyref> to be <lit>0</lit>.</item>  
    286     <item><lit>hidden</lit>: Same as <lit>none</lit>, except in terms of border conflict resolution  
     284    <item><lit>none</lit>: No border. This value forces the computed value of 
     285    <pyref class="border_top_width"><class>border_top_width</class></pyref> to be <lit>0</lit>.</item> 
     286    <item><lit>hidden</lit>: Same as <lit>none</lit>, except in terms of border conflict resolution 
    287287    for table elements.</item> 
    288     <item><lit>dotted</lit>: The border is a series of dots.</item>  
     288    <item><lit>dotted</lit>: The border is a series of dots.</item> 
    289289    <item><lit>dashed</lit>: The border is a series of short line segments.</item> 
    290     <item><lit>solid</lit>: The border is a single line segment.</item>  
    291     <item><lit>double</lit>: The border is two solid lines. The sum of the two lines and the  
    292     space between them equals the value of <pyref class="border_top_width"><class>border_top_width</class></pyref>.</item>  
     290    <item><lit>solid</lit>: The border is a single line segment.</item> 
     291    <item><lit>double</lit>: The border is two solid lines. The sum of the two lines and the 
     292    space between them equals the value of <pyref class="border_top_width"><class>border_top_width</class></pyref>.</item> 
    293293    <item><lit>groove</lit>: The border looks as though it were carved into the canvas.</item> 
    294     <item><lit>ridge</lit>: The opposite of <lit>groove</lit>: the border looks as though it were  
     294    <item><lit>ridge</lit>: The opposite of <lit>groove</lit>: the border looks as though it were 
    295295    coming out of the canvas.</item> 
    296     <item><lit>inset</lit>: The border makes the entire box look as though it were embedded  
     296    <item><lit>inset</lit>: The border makes the entire box look as though it were embedded 
    297297    in the canvas.</item> 
    298     <item><lit>outset</lit>: The opposite of <lit>inset</lit>: the border makes the entire box  
     298    <item><lit>outset</lit>: The opposite of <lit>inset</lit>: the border makes the entire box 
    299299    look as though it were coming out of the canvas.</item> 
    300300    </ulist> 
    301301 
    302     <par>All borders are drawn on top of the box's background. The color of borders drawn for values  
    303     of <lit>groove</lit>, <lit>ridge</lit>, <lit>inset</lit>, and <lit>outset</lit> depends on the  
    304     element's <pyref class="color"><class>color</class></pyref> property.  
     302    <par>All borders are drawn on top of the box's background. The color of borders drawn for values 
     303    of <lit>groove</lit>, <lit>ridge</lit>, <lit>inset</lit>, and <lit>outset</lit> depends on the 
     304    element's <pyref class="color"><class>color</class></pyref> property. 
    305305    """ 
    306306    xmlname = "border-top-style" 
     
    309309class border_right_style(prop): 
    310310    """ 
    311     <par>The <class>border_right_style</class> properties specify the line style of a  
     311    <par>The <class>border_right_style</class> properties specify the line style of a 
    312312    box's right border. For allowed values refer to 
    313313    <pyref class="border_top_style"><class>border_top_style</class></pyref>.</par> 
     
    318318class border_bottom_style(prop): 
    319319    """ 
    320     <par>The <class>border_bottom_style</class> properties specify the line style of a  
     320    <par>The <class>border_bottom_style</class> properties specify the line style of a 
    321321    box's bottom border. For allowed values refer to 
    322322    <pyref class="border_bottom_style"><class>border_bottom_style</class></pyref>.</par> 
     
    327327class border_left_style(prop): 
    328328    """ 
    329     <par>The <class>border_left_style</class> properties specify the line style of a  
     329    <par>The <class>border_left_style</class> properties specify the line style of a 
    330330    box's left border. For allowed values refer to 
    331331    <pyref class="border_left_style"><class>border_left_style</class></pyref>.</par> 
     
    858858    <par>The <class>counter_reset</class> property contains a list of one or more names of counters, 
    859859    each one optionally followed by an integer. The integer gives the value that the counter is set to 
    860     on each occurrence of the element. The default is 0.</par>  
     860    on each occurrence of the element. The default is 0.</par> 
    861861    """ 
    862862    xmlname = "counter-reset" 
     
    865865class counter_increment(prop): 
    866866    """ 
    867     <par>The <class>counter_increment</class> property accepts one or more names of counters  
    868     (identifiers), each one optionally followed by an integer. The integer indicates by how much  
     867    <par>The <class>counter_increment</class> property accepts one or more names of counters 
     868    (identifiers), each one optionally followed by an integer. The integer indicates by how much 
    869869    the counter is incremented for every occurrence of the element. The default increment is 1. 
    870870    Zero and negative integers are allowed.</par> 
     
    877877    <par>This property specifies the distance between the nearest border edges of a marker box 
    878878    and its associated principal box. The offset may either be a user-specified length or 
    879     chosen by the UA (<lit>auto</lit>). Lengths may be negative, but there may be  
     879    chosen by the UA (<lit>auto</lit>). Lengths may be negative, but there may be 
    880880    implementation-specific limits.</par> 
    881881    """ 
     
    891891     
    892892    <par>Glyphs are specified with <lit>disc</lit>, <lit>circle</lit>, and <lit>square</lit>. 
    893     Their exact rendering depends on the user agent.</par>  
     893    Their exact rendering depends on the user agent.</par> 
    894894     
    895895    <par>Numbering systems are specified with:</par> 
     
    20272027    <par>An <class>atmedia</class> rule specifies the target media types 
    20282028    (separated by commas in the attribute <lit>media</lit>) of a set of rules (in the content). 
    2029     The <class>atmedia</class> element allows style sheet rules for various media in the same  
     2029    The <class>atmedia</class> element allows style sheet rules for various media in the same 
    20302030    style sheet.</par> 
    20312031    <par>Possible media types are:</par> 
  • _xist/ns/html.py

    r2235 r2272  
    593593class code(xsc.Element): 
    594594    """ 
    595     Designates a fragment of computer code.  
     595    Designates a fragment of computer code. 
    596596    """ 
    597597    class Attrs(allattrs): 
     
    617617class var(xsc.Element): 
    618618    """ 
    619     Indicates an instance of a variable or program argument.  
     619    Indicates an instance of a variable or program argument. 
    620620    """ 
    621621    class Attrs(allattrs):