#pragma once
#include "CSSValue.h"
#include <wtf/RefPtr.h>
namespace WebCore {
class CSSPrimitiveValue;
class CSSShadowValue final : public CSSValue {
public:
static Ref<CSSShadowValue> create(RefPtr<CSSPrimitiveValue>&& x,
RefPtr<CSSPrimitiveValue>&& y,
RefPtr<CSSPrimitiveValue>&& blur,
RefPtr<CSSPrimitiveValue>&& spread,
RefPtr<CSSPrimitiveValue>&& style,
RefPtr<CSSPrimitiveValue>&& color)
{
return adoptRef(*new CSSShadowValue(WTFMove(x), WTFMove(y), WTFMove(blur), WTFMove(spread), WTFMove(style), WTFMove(color)));
}
String customCSSText() const;
bool equals(const CSSShadowValue&) const;
RefPtr<CSSPrimitiveValue> x;
RefPtr<CSSPrimitiveValue> y;
RefPtr<CSSPrimitiveValue> blur;
RefPtr<CSSPrimitiveValue> spread;
RefPtr<CSSPrimitiveValue> style;
RefPtr<CSSPrimitiveValue> color;
private:
CSSShadowValue(RefPtr<CSSPrimitiveValue>&& x,
RefPtr<CSSPrimitiveValue>&& y,
RefPtr<CSSPrimitiveValue>&& blur,
RefPtr<CSSPrimitiveValue>&& spread,
RefPtr<CSSPrimitiveValue>&& style,
RefPtr<CSSPrimitiveValue>&& color);
};
}
SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSShadowValue, isShadowValue())