Bug 240215 - <option> element cannot work with "zoom"
Summary: <option> element cannot work with "zoom"
Status: RESOLVED DUPLICATE of bug 8351
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 15
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-08 08:44 PDT by Chijin
Modified: 2023-05-15 00:57 PDT (History)
5 users (show)

See Also:


Attachments
chrome screenshot (293.90 KB, image/png)
2022-05-08 08:44 PDT, Chijin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chijin 2022-05-08 08:44:55 PDT
Created attachment 459013 [details]
chrome screenshot

version: the latest safari/webkitgtk

example link: https://codepen.io/chijinz/pen/ExQPdEL

description:

when setting "zoom" style for <option>, the element did not change as expected. Chrome works fine with it (screenshot is attached).
Comment 1 Chijin 2022-05-08 08:45:33 PDT
example:

<html>
<head>
<style>
</style>
<script>
function jsfuzzer() {
document.getElementById("htmlvar00006").style["zoom"] = "7"
}
</script>
</head>
<body onload=jsfuzzer()>
<select>
<option id="htmlvar00006">aaa</option>
<option>bbb</option>
</select>
</body>
</html>
Comment 2 Radar WebKit Bug Importer 2022-05-15 08:45:14 PDT
<rdar://problem/93310074>
Comment 3 Karl Dubost 2023-05-15 00:57:32 PDT

*** This bug has been marked as a duplicate of bug 8351 ***