File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ class Element : public ParentNode {
84
84
String id () const { return attribute (HTML::AttributeNames::id); }
85
85
void set_id (const String& value) { set_attribute (HTML::AttributeNames::id, value); }
86
86
87
+ String class_name () const { return attribute (HTML::AttributeNames::class_); }
88
+ void set_class_name (const String& value) { set_attribute (HTML::AttributeNames::class_, value); }
89
+
87
90
protected:
88
91
RefPtr<LayoutNode> create_layout_node (const StyleProperties* parent_style) const override ;
89
92
Original file line number Diff line number Diff line change 1
1
interface Element : Node {
2
2
3
+ readonly attribute DOMString tagName;
4
+
3
5
DOMString? getAttribute(DOMString qualifiedName);
4
6
void setAttribute(DOMString qualifiedName, DOMString value);
5
7
6
8
attribute DOMString innerHTML;
7
9
attribute DOMString id;
10
+ attribute DOMString className;
8
11
9
12
}
10
13
You can’t perform that action at this time.
0 commit comments