2020-06-07 18:10:45 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-06-07 18:10:45 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2020-07-26 10:08:16 -03:00
|
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
2020-06-07 18:10:45 -03:00
|
|
|
|
2020-07-28 13:20:36 -03:00
|
|
|
namespace Web::HTML {
|
2020-06-07 18:10:45 -03:00
|
|
|
|
2020-07-27 22:54:19 -03:00
|
|
|
class HTMLTableRowElement final : public HTMLElement {
|
2022-08-28 08:42:07 -03:00
|
|
|
WEB_PLATFORM_OBJECT(HTMLTableRowElement, HTMLElement);
|
2020-07-27 01:04:26 -03:00
|
|
|
|
2022-08-28 08:42:07 -03:00
|
|
|
public:
|
2020-06-07 18:10:45 -03:00
|
|
|
virtual ~HTMLTableRowElement() override;
|
2022-02-26 07:43:52 -03:00
|
|
|
|
|
|
|
|
NonnullRefPtr<DOM::HTMLCollection> cells() const;
|
2022-03-21 12:15:10 -03:00
|
|
|
|
|
|
|
|
int row_index() const;
|
|
|
|
|
int section_row_index() const;
|
2022-08-28 08:42:07 -03:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
HTMLTableRowElement(DOM::Document&, DOM::QualifiedName);
|
2020-06-07 18:10:45 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
2022-08-28 08:42:07 -03:00
|
|
|
|
|
|
|
|
WRAPPER_HACK(HTMLTableRowElement, Web::HTML)
|