[Webkit-unassigned] [Bug 97761] Do not initialize background-size when the background shorthand doesn't include it
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 27 19:33:57 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97761
--- Comment #5 from KyungTae Kim <ktf.kim at samsung.com> 2012-09-27 19:34:23 PST ---
Created an attachment (id=166123)
--> (https://bugs.webkit.org/attachment.cgi?id=166123&action=review)
buggy_site_screenshot2
1st example legacy page is http://m.map.naver.com/map.nhn.
The styles for control buttons are like below.
On mobile device that have '-webkit-min-device-pixel-ratio:2', the 2nd style overwrites the background-size with an initial value.
.oa_rd{position:absolute;top:8px;left:4px;width:38px;height:38px;
background:url(http://static.naver.net/m/region/im/sp_oa_v1.png) no-repeat -60px 0;
background-size:300px 180px
}
@media screen and (-webkit-min-device-pixel-ratio:2){
.oa_rd{background:url(http://static.naver.net/m/region/im/sp_oa_v2.png) no-repeat -60px 0}
}
2nd example is an adult site.
When connect to m.pornhub.com and select "full version" with mobile device that have '-webkit-min-device-pixel-ratio:2',
the menu icons looks wierd (same cause).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list