Skip to content

Commit 9156ede

Browse files
committed
picturefill 2.3.0
1 parent 9cfb1bb commit 9156ede

File tree

8 files changed

+232
-123
lines changed

8 files changed

+232
-123
lines changed
-8.85 KB
Binary file not shown.
10.4 KB
Binary file not shown.

picturefill_2.2.0/CHANGES.htm

Lines changed: 0 additions & 20 deletions
This file was deleted.

picturefill_2.2.0/LICENSE.htm

Lines changed: 0 additions & 1 deletion
This file was deleted.

picturefill_2.3.0/CHANGES.htm

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<ol style="max-height: 20em; overflow: auto;">
2+
<li>
3+
<strong>2.3.0</strong>
4+
<p>Changes from <a href="#release-2.3.0-beta">Picturefill 2.3 Beta</a></p>
5+
<h3>Spec Matching</h3>
6+
<ul class="task-list"><li>Invalid <code>sizes</code> values now fall back to <code>100vw</code> default (<a href="https://github.com/scottjehl/picturefill/commit/f379528073d875089bc594900079b09184dd4f69" class="commit-link"><tt>f379528</tt></a>)</li></ul>
7+
<h3>Bugs</h3>
8+
<ul class="task-list">
9+
<li>Fixes a potential race condition when using <code>type</code> (<a href="https://github.com/scottjehl/picturefill/commit/3fba68de8b0df200e36b56dcfb01f89e09f8d4d0" class="commit-link"><tt>3fba68d</tt></a>)</li>
10+
<li>Prevents a fatal error in IE8 when assigning an undefined width (<a href="https://github.com/scottjehl/picturefill/commit/d1f5a1fd550e30545f7b4c66b94e4838bab1a720" class="commit-link"><tt>d1f5a1f</tt></a>)</li>
11+
<li>Prevent IE10/11 from setting an inherent width of zero on SVGs (<a href="https://github.com/scottjehl/picturefill/commit/742c66c0a93e7d417e58f1a50238371c3c1d6ef6" class="commit-link"><tt>742c66c</tt></a>)</li>
12+
<li>Fixes an error that prevented Picturefill from being handled as a named AMD module (<a href="https://github.com/scottjehl/picturefill/commit/a5859fb564fd32d4ca3643277ccb35025a93214a" class="commit-link"><tt>a5859fb</tt></a>)</li>
13+
</ul>
14+
</li>
15+
<li id="release-2.3.0-beta">
16+
<strong>2.3.0 Beta</strong>
17+
<p>Along with assorted bugfixes and performance improvements, the following major issues have been addressed with this release:</p>
18+
19+
<p><strong>Added support detection for the following image types: jpxr, jpg2000, and apng.</strong><br>
20+
Image format support can now be handled using extensions. SVG and WebP remain a part of the Picturefill core, so as not to break existing implementations.</p>
21+
22+
<p><strong>Support for intrinsic image dimensions</strong><br>
23+
Picturefill now matches native behavior in terms of an image’s inherent size: when served at “2x,” the image is displayed at half of its source’s inherent size. Note that this can and must be overrideable via CSS.</p>
24+
25+
<p><strong>Picturefill is now a named AMD module, and uses AMD/CommonJS module factory also in native supporting browsers.</strong></p>
26+
27+
<p><strong>Picturefill has a team now</strong><br>
28+
Everyone join me in welcoming <a href="https://twitter.com/wilto/lists/picturefill/members">the team</a> responsible for the lion’s share of work that went into this release, and many more to come.</p>
29+
30+
<p><strong>Did someone just whisper “Picturefill 3?”</strong><br>
31+
I thought I just heard someone whisper “Picturefill 3.” <em>Weird</em>.</p>
32+
</li>
33+
<li>
34+
<strong>2.2.0</strong>
35+
<p>Assorted bugfixes, improvements to compatibility in AMD environments, minor improvements to performance and spec compliance.</p>
36+
</li>
37+
<li>
38+
<strong>2.1.0</strong>
39+
<ul>
40+
<li>Matches the <code>source</code> parsing algorithm outlined in the spec (find all <code>img</code>, check for parent <code>picture</code> elements, process any/all <code>source</code> elements until finding the <code>img</code> that invoked it all)</li>
41+
<li>Allows use of the extended <code>srcset</code> syntax without an explicit <code>sizes</code> attribute, per the spec</li>
42+
</ul>
43+
</li>
44+
<li>
45+
<strong>2.0.0</strong>
46+
<ul>
47+
<li>General bugfixes</li>
48+
<li>Changes to make parsing/general behavior line up more closely with the <a href="http://picture.responsiveimages.org/">specification</a></li>
49+
</ul>
50+
</li>
51+
</ol>

picturefill_2.3.0/LICENSE.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p>picturefill is licened under the <a href="https://github.com/scottjehl/picturefill/2.3.0/LICENSE">MIT License</a>.</p>

picturefill_2.2.0/picturefill.dnn renamed to picturefill_2.3.0/picturefill.dnn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="picturefill" type="JavaScript_Library" version="2.2.0">
3+
<package name="picturefill" type="JavaScript_Library" version="2.3.0">
44
<friendlyName>Picturefill</friendlyName>
55
<description><![CDATA[A responsive image polyfill for <code>&lt;picture></code>, <code>srcset</code>, <code>sizes</code>, and more
66
<a href="http://scottjehl.github.com/picturefill/">http://scottjehl.github.com/picturefill/</a>]]></description>
@@ -24,7 +24,7 @@
2424
<libraryName>picturefill</libraryName>
2525
<fileName>picturefill.js</fileName>
2626
<preferredScriptLocation>BodyBottom</preferredScriptLocation>
27-
<CDNPath>https://cdn.jsdelivr.net/picturefill/2.2.0/picturefill.min.js</CDNPath>
27+
<CDNPath>https://cdn.jsdelivr.net/picturefill/2.3.0/picturefill.min.js</CDNPath>
2828
<objectName>picturefill</objectName>
2929
</javaScriptLibrary>
3030
</component>

0 commit comments

Comments
 (0)