Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <title>Test for srcset by 一丝</title>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=870021">Mozilla Bug 870021</a>
  <h2>Firefox 32 开始支持 srcset 属性</h2>
  <p>需要开启 dom.image.srcset.enabled</p>
  <img style="width: 200px; height: 200px;" src="http://webkit.org/demos/srcset/image-src.png" srcset="http://webkit.org/demos/srcset/image-1x.png 1x, http://webkit.org/demos/srcset/image-2x.png 2x" alt="测试srcset">
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers