[Webkit-unassigned] [Bug 233960] New: 'border-radius shorthand is getting expanded in WebKit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 7 16:49:00 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233960
Bug ID: 233960
Summary: 'border-radius shorthand is getting expanded in WebKit
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: supermario at apple.com
CC: inspector-bugzilla-changes at group.apple.com
Setting `el.style['border-radius'] = '25px'` causes webkit to modify the style string to:
<div style="border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;" />
Example:
https://codepen.io/onedayitwillmake/pen/BawKxWm
In Chrome and Firefox the style property left as it was authored.
The expanded version is also returned in the following scenarios:
`el.style.cssText` or `el.outerHTML`
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211208/410b849b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list