#include "third_party/blink/renderer/core/html/forms/html_opt_group_element.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/dom/events/simulated_click_options.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/html/forms/html_option_element.h"
#include "third_party/blink/renderer/core/html/forms/html_select_element.h"
#include "third_party/blink/renderer/core/html/html_div_element.h"
#include "third_party/blink/renderer/core/html/html_slot_element.h"
#include "third_party/blink/renderer/core/html/shadow/shadow_element_names.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/character_names.h"
namespace blink {
namespace {
bool CanAssignToOptGroupSlot(const Node& node) { … }
}
HTMLOptGroupElement::HTMLOptGroupElement(Document& document)
: … { … }
HTMLOptGroupElement::~HTMLOptGroupElement() = default;
bool HTMLOptGroupElement::IsDisabledFormControl() const { … }
void HTMLOptGroupElement::ParseAttribute(
const AttributeModificationParams& params) { … }
FocusableState HTMLOptGroupElement::SupportsFocus(
UpdateBehavior update_behavior) const { … }
bool HTMLOptGroupElement::MatchesEnabledPseudoClass() const { … }
void HTMLOptGroupElement::ChildrenChanged(const ChildrenChange& change) { … }
bool HTMLOptGroupElement::ChildrenChangedAllChildrenRemovedNeedsList() const { … }
Node::InsertionNotificationRequest HTMLOptGroupElement::InsertedInto(
ContainerNode& insertion_point) { … }
void HTMLOptGroupElement::RemovedFrom(ContainerNode& insertion_point) { … }
String HTMLOptGroupElement::GroupLabelText() const { … }
HTMLSelectElement* HTMLOptGroupElement::OwnerSelectElement() const { … }
String HTMLOptGroupElement::DefaultToolTip() const { … }
void HTMLOptGroupElement::AccessKeyAction(
SimulatedClickCreationScope creation_scope) { … }
void HTMLOptGroupElement::DidAddUserAgentShadowRoot(ShadowRoot& root) { … }
void HTMLOptGroupElement::ManuallyAssignSlots() { … }
void HTMLOptGroupElement::UpdateGroupLabel() { … }
HTMLDivElement& HTMLOptGroupElement::OptGroupLabelElement() const { … }
void HTMLOptGroupElement::Trace(Visitor* visitor) const { … }
}