summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.h
blob: 1393e344d4088e34be9a0f2ee9bb09d532378c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/HTML/HTMLElement.h>

namespace Web::HTML {

class HTMLTableCellElement final : public HTMLElement {
public:
    using WrapperType = Bindings::HTMLTableCellElementWrapper;

    HTMLTableCellElement(DOM::Document&, DOM::QualifiedName);
    virtual ~HTMLTableCellElement() override;

    unsigned col_span() const;
    unsigned row_span() const;

    void set_col_span(unsigned);
    void set_row_span(unsigned);

private:
    virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
};

}