OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CSSPrimitiveValue
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebCore/css/
CSSPrimitiveValue.cpp
22
#include "
CSSPrimitiveValue
.h"
51
static
CSSPrimitiveValue
::UnitCategory unitCategory(
CSSPrimitiveValue
::UnitTypes type)
53
// Here we violate the spec (http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-
CSSPrimitiveValue
) and allow conversions
56
case
CSSPrimitiveValue
::CSS_NUMBER:
57
return
CSSPrimitiveValue
::UNumber;
58
case
CSSPrimitiveValue
::CSS_PERCENTAGE:
59
return
CSSPrimitiveValue
::UPercent;
60
case
CSSPrimitiveValue
::CSS_PX:
61
case
CSSPrimitiveValue
::CSS_CM
[
all
...]
CSSPrimitiveValue.h
50
class
CSSPrimitiveValue
: public CSSValue {
110
static bool isUnitTypeLength(int type) { return (type >
CSSPrimitiveValue
::CSS_PERCENTAGE && type <
CSSPrimitiveValue
::CSS_DEG) ||
111
type ==
CSSPrimitiveValue
::CSS_REMS; }
113
static PassRefPtr<
CSSPrimitiveValue
> createIdentifier(int identifier) { return adoptRef(new
CSSPrimitiveValue
(identifier)); }
114
static PassRefPtr<
CSSPrimitiveValue
> createColor(unsigned rgbValue) { return adoptRef(new
CSSPrimitiveValue
(rgbValue)); }
115
static PassRefPtr<
CSSPrimitiveValue
> create(double value, UnitTypes type) { return adoptRef(new
CSSPrimitiveValue
(value, type));
[
all
...]
CSSPrimitiveValueMappings.h
34
#include "
CSSPrimitiveValue
.h"
49
template<> inline
CSSPrimitiveValue
::
CSSPrimitiveValue
(EBorderStyle e)
87
template<> inline
CSSPrimitiveValue
::operator EBorderStyle() const
92
template<> inline
CSSPrimitiveValue
::
CSSPrimitiveValue
(CompositeOperator e)
142
template<> inline
CSSPrimitiveValue
::operator CompositeOperator() const
179
template<> inline
CSSPrimitiveValue
::
CSSPrimitiveValue
(ControlPart e)
363
template<> inline
CSSPrimitiveValue
::operator ControlPart() cons
[
all
...]
Completed in 31 milliseconds