mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[spidermonkey] full width also for DIV element
This commit is contained in:
parent
4a94b6150e
commit
84c0b4886b
@ -769,7 +769,7 @@ element_get_property_clientWidth(JSContext *ctx, unsigned int argc, JS::Value *v
|
||||
args.rval().setInt32(0);
|
||||
return true;
|
||||
}
|
||||
bool root = (!strcmp(dom_string_data(tag_name), "BODY") || !strcmp(dom_string_data(tag_name), "HTML"));
|
||||
bool root = (!strcmp(dom_string_data(tag_name), "BODY") || !strcmp(dom_string_data(tag_name), "HTML") || !strcmp(dom_string_data(tag_name), "DIV"));
|
||||
dom_string_unref(tag_name);
|
||||
|
||||
if (root) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user