Bug 183993 - border-image inline style should be serialized
Summary: border-image inline style should be serialized
Status: RESOLVED DUPLICATE of bug 238102
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: FromImplementor, InRadar
Depends on:
Blocks:
 
Reported: 2018-03-25 03:55 PDT by Eric Willigers
Modified: 2022-08-16 18:31 PDT (History)
8 users (show)

See Also:


Attachments
Safari 15.5 differs from other browsers (1.62 MB, image/png)
2022-08-06 18:58 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Willigers 2018-03-25 03:55:55 PDT
Steps to reproduce:

https://jsfiddle.net/ericwilligers/L8jve8bp/

Set border-image inline style, read border-image inline style.

Spec: https://drafts.csswg.org/css-backgrounds/#border-image



Actual results:

Reading border-image inline style gives empty string.

border-image computed style has the supplied value.

Reading longhands inline and computed styles gives the values from border-image.



Expected results:

Reading border-image inline style should give the supplied value.
Blink has same bug. Edge has correct behavior.
Comment 1 Radar WebKit Bug Importer 2018-03-27 14:40:02 PDT
<rdar://problem/38928267>
Comment 2 Ahmad Saleem 2022-08-06 18:58:19 PDT
Created attachment 461455 [details]
Safari 15.5 differs from other browsers

At least for one case, I can see Safari 15.6 on macOS 12.5 differs from the browsers as can be seen from attached screenshots.

I think it might be covered in following WPT test cases as well:

https://wpt.fyi/results/css/css-backgrounds/parsing/border-image-shorthand.sub.html?label=master&label=experimental&aligned&view=subtest&q=border-image
Comment 3 Oriol Brufau 2022-08-16 17:50:42 PDT
This should have been fixed in bug 238102.

I can't reproduce the problem from the screenshot in WebKitGTK.

The linked test has some failures due to longhands serializing as "initial" instead of the actual initial value, but that's a common problem in WebKit, not specific to border-image.
Comment 4 Alexey Proskuryakov 2022-08-16 18:31:31 PDT
Indeed, the output is identical between STP 150 and Firefox.

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