#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include <algorithm>
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/core/css/css_primitive_value.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include "third_party/blink/renderer/core/css/css_value.h"
#include "third_party/blink/renderer/core/css/parser/css_parser.h"
#include "third_party/blink/renderer/core/css/parser/css_property_parser.h"
#include "third_party/blink/renderer/core/css/properties/css_property.h"
#include "third_party/blink/renderer/core/css/property_bitsets.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/page/scrolling/sync_scroll_attempt_heuristic.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/ascii_ctype.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
namespace {
bool HasCSSPropertyNamePrefix(const AtomicString& property_name,
const char* prefix) { … }
CSSPropertyID ParseCSSPropertyID(const ExecutionContext* execution_context,
const AtomicString& property_name) { … }
CSSPropertyID CssPropertyInfo(const ExecutionContext* execution_context,
const AtomicString& name) { … }
}
void CSSStyleDeclaration::Trace(Visitor* visitor) const { … }
CSSStyleDeclaration::CSSStyleDeclaration(ExecutionContext* context)
: … { … }
CSSStyleDeclaration::~CSSStyleDeclaration() = default;
void CSSStyleDeclaration::setCSSFloat(const ExecutionContext* execution_context,
const String& value,
ExceptionState& exception_state) { … }
String CSSStyleDeclaration::AnonymousNamedGetter(const AtomicString& name) { … }
NamedPropertySetterResult CSSStyleDeclaration::AnonymousNamedSetter(
ScriptState* script_state,
const AtomicString& name,
v8::Local<v8::Value> value) { … }
NamedPropertyDeleterResult CSSStyleDeclaration::AnonymousNamedDeleter(
const AtomicString& name) { … }
void CSSStyleDeclaration::NamedPropertyEnumerator(Vector<String>& names,
ExceptionState&) { … }
bool CSSStyleDeclaration::NamedPropertyQuery(const AtomicString& name,
ExceptionState&) { … }
}