#include "third_party/blink/renderer/core/editing/editing_style_utilities.h"
#include "third_party/blink/renderer/core/css/css_color.h"
#include "third_party/blink/renderer/core/css/css_computed_style_declaration.h"
#include "third_party/blink/renderer/core/css/css_identifier_value.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css/css_property_value_set.h"
#include "third_party/blink/renderer/core/css/parser/css_parser.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/editing/editing_style.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/visible_position.h"
#include "third_party/blink/renderer/core/editing/visible_selection.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
namespace blink {
namespace {
Position AdjustedSelectionStartForStyleComputation(const Position& position) { … }
}
bool EditingStyleUtilities::HasAncestorVerticalAlignStyle(Node& node,
CSSValueID value) { … }
EditingStyle*
EditingStyleUtilities::CreateWrappingStyleForAnnotatedSerialization(
Element* context) { … }
EditingStyle* EditingStyleUtilities::CreateWrappingStyleForSerialization(
Element* context) { … }
EditingStyle* EditingStyleUtilities::CreateStyleAtSelectionStart(
const VisibleSelection& selection,
bool should_use_background_color_in_effect,
MutableCSSPropertyValueSet* style_to_check) { … }
bool EditingStyleUtilities::IsTransparentColorValue(const CSSValue* css_value) { … }
bool EditingStyleUtilities::HasTransparentBackgroundColor(
CSSStyleDeclaration* style) { … }
bool EditingStyleUtilities::HasTransparentBackgroundColor(
CSSPropertyValueSet* style) { … }
const CSSValue* EditingStyleUtilities::BackgroundColorValueInEffect(
Node* node) { … }
void EditingStyleUtilities::StripUAStyleRulesForMarkupSanitization(
EditingStyle* style) { … }
}