forked from mirrors/gecko-dev
		
	 680815cd6e
			
		
	
	
		680815cd6e
		
	
	
	
	
		
			
			This patch was generated automatically by the "modeline.py" script, available here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py For every file that is modified in this patch, the changes are as follows: (1) The patch changes the file to use the exact C++ mode lines from the Mozilla coding style guide, available here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line (2) The patch deletes any blank lines between the mode line & the MPL boilerplate comment. (3) If the file previously had the mode lines and MPL boilerplate in a single contiguous C++ comment, then the patch splits them into separate C++ comments, to match the boilerplate in the coding style. MozReview-Commit-ID: EuRsDue63tK --HG-- extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
		
			
				
	
	
		
			58 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 | |
| /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 | |
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| /*
 | |
|  * a list of groups of logical properties, for preprocessing
 | |
|  */
 | |
| 
 | |
| // A logical property group is one that defines the corresponding physical
 | |
| // longhand properties that could be set by a given set of logical longhand
 | |
| // properties.  For example, the logical property group for margin-block-start
 | |
| // (and the other three logical margin properties) is one that contains
 | |
| // margin-top, margin-right, margin-bottom and margin-left.
 | |
| //
 | |
| // Logical property groups are defined below using one of the following
 | |
| // macros, where the name_ argument must be capitalized LikeThis and
 | |
| // must not collide with the name of a property's DOM method (its
 | |
| // method_ in nsCSSPropList.h):
 | |
| //
 | |
| //   CSS_PROP_LOGICAL_GROUP_SHORTHAND(name_)
 | |
| //     Defines a logical property group whose corresponding physical
 | |
| //     properties are those in a given shorthand.  For example, the
 | |
| //     logical property group for margin-{block,inline}-{start,end}
 | |
| //     is defined by the margin shorthand.  The name_ argument must
 | |
| //     be the method_ name of the shorthand (so Margin rather than
 | |
| //     margin).
 | |
| //
 | |
| //   CSS_PROP_LOGICAL_GROUP_BOX(name_)
 | |
| //     Defines a logical property group whose corresponding physical
 | |
| //     properties are a set of four box properties which are not
 | |
| //     already represented by an existing shorthand property.  For
 | |
| //     example, the logical property group for
 | |
| //     offset-{block,inline}-{start,end} contains the top, right,
 | |
| //     bottom and left physical properties, but there is no shorthand
 | |
| //     that sets those four properties.  A table must be defined in
 | |
| //     nsCSSProps.cpp named g<name_>LogicalGroupTable containing the
 | |
| //     four physical properties in top/right/bottom/left order.
 | |
| //
 | |
| //   CSS_PROP_LOGICAL_GROUP_AXIS(name_)
 | |
| //     Defines a logical property group whose corresponding physical
 | |
| //     properties are a set of two axis-related properties.  For
 | |
| //     example, the logical property group for {block,inline}-size
 | |
| //     contains the width and height properties.  A table must be
 | |
| //     defined in nCSSProps.cpp named g<name_>LogicalGroupTable
 | |
| //     containing the two physical properties in vertical/horizontal
 | |
| //     order, followed by an nsCSSProperty_UNKNOWN entry.
 | |
| 
 | |
| CSS_PROP_LOGICAL_GROUP_SHORTHAND(BorderColor)
 | |
| CSS_PROP_LOGICAL_GROUP_SHORTHAND(BorderStyle)
 | |
| CSS_PROP_LOGICAL_GROUP_SHORTHAND(BorderWidth)
 | |
| CSS_PROP_LOGICAL_GROUP_SHORTHAND(Margin)
 | |
| CSS_PROP_LOGICAL_GROUP_AXIS(MaxSize)
 | |
| CSS_PROP_LOGICAL_GROUP_BOX(Offset)
 | |
| CSS_PROP_LOGICAL_GROUP_SHORTHAND(Padding)
 | |
| CSS_PROP_LOGICAL_GROUP_AXIS(MinSize)
 | |
| CSS_PROP_LOGICAL_GROUP_AXIS(Size)
 |