Closed Bug 1448656 Opened 6 years ago Closed 6 years ago

border-radius computed style gives empty string

Categories

(Firefox :: Untriaged, defect)

59 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 137688

People

(Reporter: ericwilligers, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce:

https://jsfiddle.net/ericwilligers/49xccjzv/

Spec: https://drafts.csswg.org/css-backgrounds/#border-radius
<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?

Set border-radius inline style to '11px 12px 13px 14px / 25px 26px 27px 28px'.
Reading inline style gives the supplied value.

Now read computed style.



Actual results:

Reading border-radius computed style gave an empty string.

Edge has the same bug.

Readling longhands inline and computed styles gives correct values.



Expected results:

Reading computed style should give the same value that was set.

(Blink and WebKit have the inverse bug https://bugs.webkit.org/show_bug.cgi?id=183994: they give correct computed style but give empty string as inline style.)
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.