mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 14:44:26 +00:00
More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa
This commit is contained in:
parent
96749bf2d1
commit
cc45de4f05
@ -59,6 +59,12 @@ enum nsHTMLUnit {
|
||||
eHTMLUnit_Pixel = 600 // (int) screen pixels
|
||||
};
|
||||
|
||||
/**
|
||||
* Class which is used to represent the value of an attribute of an
|
||||
* HTML element. The value has a unit which is an nsHTMLUnit;
|
||||
* checking the unit is a must before asking for the value in any
|
||||
* particular form.
|
||||
*/
|
||||
class nsHTMLValue {
|
||||
public:
|
||||
nsHTMLValue(nsHTMLUnit aUnit = eHTMLUnit_Null);
|
||||
|
@ -59,6 +59,12 @@ enum nsHTMLUnit {
|
||||
eHTMLUnit_Pixel = 600 // (int) screen pixels
|
||||
};
|
||||
|
||||
/**
|
||||
* Class which is used to represent the value of an attribute of an
|
||||
* HTML element. The value has a unit which is an nsHTMLUnit;
|
||||
* checking the unit is a must before asking for the value in any
|
||||
* particular form.
|
||||
*/
|
||||
class nsHTMLValue {
|
||||
public:
|
||||
nsHTMLValue(nsHTMLUnit aUnit = eHTMLUnit_Null);
|
||||
|
@ -62,6 +62,14 @@ typedef union {
|
||||
float mFloat;
|
||||
} nsStyleUnion;
|
||||
|
||||
/**
|
||||
* Class that hold a single size specification used by the style
|
||||
* system. The size specification consists of two parts -- a number
|
||||
* and a unit. The number is an integer, a floating point value, an
|
||||
* nscoord, or undefined, and the unit is an nsStyleUnit. Checking
|
||||
* the unit is a must before asking for the value in any particular
|
||||
* form.
|
||||
*/
|
||||
class nsStyleCoord {
|
||||
public:
|
||||
nsStyleCoord(nsStyleUnit aUnit = eStyleUnit_Null);
|
||||
@ -100,6 +108,11 @@ public:
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Class that represents a set of top/right/bottom/left nsStyleCoords.
|
||||
* This is commonly used to hold the widths of the borders, margins,
|
||||
* or paddings of a box.
|
||||
*/
|
||||
class nsStyleSides {
|
||||
public:
|
||||
nsStyleSides(void);
|
||||
|
@ -62,6 +62,14 @@ typedef union {
|
||||
float mFloat;
|
||||
} nsStyleUnion;
|
||||
|
||||
/**
|
||||
* Class that hold a single size specification used by the style
|
||||
* system. The size specification consists of two parts -- a number
|
||||
* and a unit. The number is an integer, a floating point value, an
|
||||
* nscoord, or undefined, and the unit is an nsStyleUnit. Checking
|
||||
* the unit is a must before asking for the value in any particular
|
||||
* form.
|
||||
*/
|
||||
class nsStyleCoord {
|
||||
public:
|
||||
nsStyleCoord(nsStyleUnit aUnit = eStyleUnit_Null);
|
||||
@ -100,6 +108,11 @@ public:
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Class that represents a set of top/right/bottom/left nsStyleCoords.
|
||||
* This is commonly used to hold the widths of the borders, margins,
|
||||
* or paddings of a box.
|
||||
*/
|
||||
class nsStyleSides {
|
||||
public:
|
||||
nsStyleSides(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user