This source file includes following definitions.
- visitedLinkColor
- visitedLinkColor
#include "config.h"
#include "core/rendering/style/StyleInheritedData.h"
#include "core/rendering/style/RenderStyle.h"
namespace WebCore {
StyleInheritedData::StyleInheritedData()
: horizontal_border_spacing(RenderStyle::initialHorizontalBorderSpacing())
, vertical_border_spacing(RenderStyle::initialVerticalBorderSpacing())
, line_height(RenderStyle::initialLineHeight())
, color(RenderStyle::initialColor())
, visitedLinkColor(RenderStyle::initialColor())
{
}
StyleInheritedData::~StyleInheritedData()
{
}
StyleInheritedData::StyleInheritedData(const StyleInheritedData& o)
: RefCounted<StyleInheritedData>()
, horizontal_border_spacing(o.horizontal_border_spacing)
, vertical_border_spacing(o.vertical_border_spacing)
, line_height(o.line_height)
, font(o.font)
, color(o.color)
, visitedLinkColor(o.visitedLinkColor)
{
}
bool StyleInheritedData::operator==(const StyleInheritedData& o) const
{
return line_height == o.line_height
&& font == o.font
&& color == o.color
&& visitedLinkColor == o.visitedLinkColor
&& horizontal_border_spacing == o.horizontal_border_spacing
&& vertical_border_spacing == o.vertical_border_spacing;
}
}