WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233960
'border-radius shorthand is getting expanded in WebKit
https://bugs.webkit.org/show_bug.cgi?id=233960
Summary
'border-radius shorthand is getting expanded in WebKit
Mario Alzugray
Reported
2021-12-07 16:49:00 PST
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`
Attachments
Patch
(2.23 KB, patch)
2021-12-08 02:10 PST
,
Antoine Quint
no flags
Details
Formatted Diff
Diff
Patch
(6.56 KB, patch)
2021-12-08 03:29 PST
,
Antoine Quint
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2021-12-08 02:10:40 PST
Created
attachment 446338
[details]
Patch
Antoine Quint
Comment 2
2021-12-08 03:29:56 PST
Created
attachment 446346
[details]
Patch
EWS Watchlist
Comment 3
2021-12-08 03:30:45 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see
https://trac.webkit.org/wiki/WPTExportProcess
Antoine Quint
Comment 4
2021-12-08 03:41:56 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/31953
EWS
Comment 5
2021-12-08 05:52:32 PST
Committed
r286652
(
244965@main
): <
https://commits.webkit.org/244965@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 446346
[details]
.
Radar WebKit Bug Importer
Comment 6
2021-12-08 05:53:20 PST
<
rdar://problem/86207957
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug