WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
103147
background gives wrong property value for either background-position or -size and -repeat
https://bugs.webkit.org/show_bug.cgi?id=103147
Summary
background gives wrong property value for either background-position or -size...
Dirk Schulze
Reported
2012-11-23 08:23:38 PST
background gives wrong property value for either background-position or -size and -repeat: FAIL innerStyle("background", "none left top / auto") should be none 0% 0% / 100% 100%. Was none 0% 0% / auto. Note that background-positions 'left top' is resolved to '0% 0%', while background-size 'auto' stays 'auto', but should be resolved to '100% 100%' since image size can not be determined. Similar on background-repeat: FAIL innerStyle("background", "repeat-x") should be repeat no-repeat. Was repeat-x. This is not resolved as well. While it makes sense that the style is not resolved for element.style.background (but for computed style that I did not check here), why is it for 'background-position'?
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2022-08-12 20:11:21 PDT
It's unclear if this bug is referring to a specific test.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug