Bug 154551 - getComputedStyle() for "background-position-x: right 20px" is wrong
Summary: getComputedStyle() for "background-position-x: right 20px" is wrong
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 161843 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-22 12:37 PST by Simon Fraser (smfr)
Modified: 2016-09-10 17:52 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2016-02-22 12:37:55 PST
run("t.setAttribute('style', 'background-position: right 20px bottom 10px');");
shouldBe("window.getComputedStyle(t).backgroundPositionX", "20px"); // Returns 20px but should return "right 20px" or calc or something.
Comment 1 Simon Fraser (smfr) 2016-09-10 17:52:31 PDT
*** Bug 161843 has been marked as a duplicate of this bug. ***