Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upShorthand properties of computed CSSStyleDeclaration don't return correct values #22838
Comments
|
There's a comment in
|
|
Mmm, maybe it was introduced in 58d452f instead. |
|
Chrome also returns real values for shorthands, so Servo's behaviour is definitely not web compatible. |
|
I think the right thing to do here is implement the same shorthand logic as Servo_GetPropertyValue in at least |
|
Ah, I see w3c/csswg-drafts#2529 and the note in the spec for step 5 of https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle which explicitly mentions overflow. |
|
Sorry I never replied here. Shorthands are special, but firefox only serializes some (in particular, it only serializes the ones that used to be longhands). |
In Firefox, this shows
hiddentwice. In Servo this shows an empty string, followed byhidden.