Bug 240215

Summary: <option> element cannot work with "zoom"
Product: WebKit Reporter: Chijin <tlock.chijin>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: akeerthi, cdumez, karlcow, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: All   
Attachments:
Description Flags
chrome screenshot none

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 ***