chromium/third_party/blink/renderer/core/html/html_table_element.cc

/*
 * Copyright (C) 1997 Martin Jones ([email protected])
 *           (C) 1997 Torben Weis ([email protected])
 *           (C) 1998 Waldo Bastian ([email protected])
 *           (C) 1999 Lars Knoll ([email protected])
 *           (C) 1999 Antti Koivisto ([email protected])
 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2011 Apple Inc. All rights
 * reserved.
 *
 * 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/html_table_element.h"

#include "third_party/blink/renderer/core/css/css_identifier_value.h"
#include "third_party/blink/renderer/core/css/css_inherited_value.h"
#include "third_party/blink/renderer/core/css/css_numeric_literal_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/style_change_reason.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/core/dom/attribute.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/dom/node_lists_node_data.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html/html_table_caption_element.h"
#include "third_party/blink/renderer/core/html/html_table_cell_element.h"
#include "third_party/blink/renderer/core/html/html_table_row_element.h"
#include "third_party/blink/renderer/core/html/html_table_rows_collection.h"
#include "third_party/blink/renderer/core/html/html_table_section_element.h"
#include "third_party/blink/renderer/core/html/parser/html_parser_idioms.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/weborigin/referrer.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"

namespace blink {

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

// An explicit empty destructor should be in html_table_element.cc, because
// if an implicit destructor is used or an empty destructor is defined in
// html_table_element.h, when including html_table_element.h, msvc tries to
// expand the destructor and causes a compile error because of lack of
// CSSPropertyValueSet definition.
HTMLTableElement::~HTMLTableElement() = default;

HTMLTableCaptionElement* HTMLTableElement::caption() const {}

void HTMLTableElement::setCaption(HTMLTableCaptionElement* new_caption,
                                  ExceptionState& exception_state) {}

HTMLTableSectionElement* HTMLTableElement::tHead() const {}

void HTMLTableElement::setTHead(HTMLTableSectionElement* new_head,
                                ExceptionState& exception_state) {}

HTMLTableSectionElement* HTMLTableElement::tFoot() const {}

void HTMLTableElement::setTFoot(HTMLTableSectionElement* new_foot,
                                ExceptionState& exception_state) {}

HTMLTableSectionElement* HTMLTableElement::createTHead() {}

void HTMLTableElement::deleteTHead() {}

HTMLTableSectionElement* HTMLTableElement::createTFoot() {}

void HTMLTableElement::deleteTFoot() {}

HTMLTableSectionElement* HTMLTableElement::createTBody() {}

HTMLTableCaptionElement* HTMLTableElement::createCaption() {}

void HTMLTableElement::deleteCaption() {}

HTMLTableSectionElement* HTMLTableElement::LastBody() const {}

HTMLTableRowElement* HTMLTableElement::insertRow(
    int index,
    ExceptionState& exception_state) {}

void HTMLTableElement::deleteRow(int index, ExceptionState& exception_state) {}

void HTMLTableElement::SetNeedsTableStyleRecalc() const {}

static bool GetBordersFromFrameAttributeValue(const AtomicString& value,
                                              bool& border_top,
                                              bool& border_right,
                                              bool& border_bottom,
                                              bool& border_left) {}

void HTMLTableElement::CollectStyleForPresentationAttribute(
    const QualifiedName& name,
    const AtomicString& value,
    MutableCSSPropertyValueSet* style) {}

bool HTMLTableElement::IsPresentationAttribute(
    const QualifiedName& name) const {}

void HTMLTableElement::ParseAttribute(
    const AttributeModificationParams& params) {}

static CSSPropertyValueSet* CreateBorderStyle(CSSValueID value) {}

const CSSPropertyValueSet*
HTMLTableElement::AdditionalPresentationAttributeStyle() {}

HTMLTableElement::CellBorders HTMLTableElement::GetCellBorders() const {}

CSSPropertyValueSet* HTMLTableElement::CreateSharedCellStyle() {}

const CSSPropertyValueSet* HTMLTableElement::AdditionalCellStyle() {}

static CSSPropertyValueSet* CreateGroupBorderStyle(int rows) {}

const CSSPropertyValueSet* HTMLTableElement::AdditionalGroupStyle(bool rows) {}

bool HTMLTableElement::IsURLAttribute(const Attribute& attribute) const {}

bool HTMLTableElement::HasLegalLinkAttribute(const QualifiedName& name) const {}

HTMLTableRowsCollection* HTMLTableElement::rows() {}

HTMLCollection* HTMLTableElement::tBodies() {}

const AtomicString& HTMLTableElement::Rules() const {}

const AtomicString& HTMLTableElement::Summary() const {}

void HTMLTableElement::Trace(Visitor* visitor) const {}

}  // namespace blink