chromium/third_party/blink/renderer/core/html/forms/html_field_set_element.cc

/*
 * Copyright (C) 1999 Lars Knoll ([email protected])
 *           (C) 1999 Antti Koivisto ([email protected])
 *           (C) 2001 Dirk Mueller ([email protected])
 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
 *           (C) 2006 Alexey Proskuryakov ([email protected])
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 */

#include "third_party/blink/renderer/core/html/forms/html_field_set_element.h"

#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/dom/events/event_dispatch_forbidden_scope.h"
#include "third_party/blink/renderer/core/dom/layout_tree_builder_traversal.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/dom/node_lists_node_data.h"
#include "third_party/blink/renderer/core/html/custom/element_internals.h"
#include "third_party/blink/renderer/core/html/forms/html_legend_element.h"
#include "third_party/blink/renderer/core/html/html_collection.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/layout/forms/layout_fieldset.h"
#include "third_party/blink/renderer/core/layout/layout_block.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"

namespace blink {

FormControlType;

namespace {

bool WillReattachChildLayoutObject(const Element& parent) {}

}  // namespace

HTMLFieldSetElement::HTMLFieldSetElement(Document& document)
    :{}

bool HTMLFieldSetElement::MatchesValidityPseudoClasses() const {}

bool HTMLFieldSetElement::IsValidElement() {}

bool HTMLFieldSetElement::IsSubmittableElement() {}

// Returns a disabled focused element if it's in descendants of |base|.
Element*
HTMLFieldSetElement::InvalidateDescendantDisabledStateAndFindFocusedOne(
    Element& base) {}

void HTMLFieldSetElement::DisabledAttributeChanged() {}

void HTMLFieldSetElement::AncestorDisabledStateWasChanged() {}

void HTMLFieldSetElement::ChildrenChanged(const ChildrenChange& change) {}

FocusableState HTMLFieldSetElement::SupportsFocus(
    UpdateBehavior update_behavior) const {}

FormControlType HTMLFieldSetElement::FormControlType() const {}

const AtomicString& HTMLFieldSetElement::FormControlTypeAsString() const {}

LayoutObject* HTMLFieldSetElement::CreateLayoutObject(const ComputedStyle&) {}

LayoutBox* HTMLFieldSetElement::GetLayoutBoxForScrolling() const {}

void HTMLFieldSetElement::DidRecalcStyle(const StyleRecalcChange change) {}

HTMLLegendElement* HTMLFieldSetElement::Legend() const {}

HTMLCollection* HTMLFieldSetElement::elements() {}

bool HTMLFieldSetElement::IsDisabledFormControl() const {}

// <fieldset> should never be considered disabled, but should still match the
// :enabled or :disabled pseudo-classes according to whether the attribute is
// set or not. See here for context:
// https://github.com/whatwg/html/issues/5886#issuecomment-1582410112
bool HTMLFieldSetElement::MatchesEnabledPseudoClass() const {}

}  // namespace blink