Bug 154551 - getComputedStyle() for "background-position-x: right 20px" is wrong
Summary: getComputedStyle() for "background-position-x: right 20px" is wrong
Status: RESOLVED DUPLICATE of bug 229917
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: 2021-09-08 15:47 PDT (History)
1 user (show)

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. ***
Comment 2 Simon Fraser (smfr) 2021-09-08 15:47:59 PDT

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