mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 17:55:59 -04:00
minor: cleanup cells matching logic.
This commit is contained in:
@@ -295,8 +295,7 @@ pub fn NodeLive(comptime mode: Mode) type {
|
||||
.cells => {
|
||||
// HTMLTableRowElement.cells: td and th children.
|
||||
const el = node.is(Element) orelse return false;
|
||||
const tag = el.getTag();
|
||||
return tag == .td or tag == .th;
|
||||
return el.is(Element.Html.TableCell) != null;
|
||||
},
|
||||
.selected_options => {
|
||||
const el = node.is(Element) orelse return false;
|
||||
|
||||
Reference in New Issue
Block a user