mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-16 16:01:30 -04:00
fix: Fix broken WPT build (-Dwpt_extensions)
Broken by: https://github.com/lightpanda-io/browser/pull/3128
This commit is contained in:
1 file changed
+2
-2
@@ -60,8 +60,8 @@ pub fn getComputedLabel(_: *const WebDriver, element: *Element, frame: *Frame) !
|
||||
pub fn click(_: *const WebDriver, element: *Element, frame: *Frame) !void {
|
||||
if (element.is(Element.Html)) |html| {
|
||||
switch (html._type) {
|
||||
inline .button, .input, .textarea, .select => |i| {
|
||||
if (i.getDisabled()) {
|
||||
inline .button, .input, .textarea, .select => |tag| {
|
||||
if (html.subtype(Element.Html.Subtype(tag)).getDisabled()) {
|
||||
return;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user