-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
283 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy-480w.jpg 480w, | ||
elva-fairy-800w.jpg 800w" | ||
sizes="(max-width: 600px) 480px, | ||
800px" | ||
src="elva-fairy-800w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy-320w.jpg, | ||
elva-fairy-480w.jpg 1.5x, | ||
elva-fairy-640w.jpg 2x, | ||
elva-fairy-1.5w.jpg 1.5x, | ||
elva-fairy-2w.jpg 2x" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy,320w.jpg, elva-fairy,480w.jpg 1.5x" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy,320w.jpg ,elva-fairy,480w.jpg 1.5x" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy,320w.jpg 1x,elva-fairy,480w.jpg 1.5x" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy,320w.jpg 1x ,elva-fairy,480w.jpg 1.5x" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy,320w.jpg 1x , elva-fairy,480w.jpg 1.5x" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy,320w.jpg" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset=" | ||
elva-fairy,320w.jpg, | ||
elva-fairy,480w.jpg | ||
1.5x, | ||
elva-fairy,640w.jpg 2x , | ||
elva-fairy,1.5w.jpg 1.5x , | ||
elva-fairy,2w.jpg 2x | ||
" | ||
src="elva-fairy-320w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<base href="https://example.com"> | ||
|
||
<div class="h-entry"> | ||
<img class="u-photo" | ||
srcset="elva-fairy-480w.jpg 480w, | ||
elva-fairy-800w.jpg 800w" | ||
sizes="(max-width: 600px) 480px, | ||
800px" | ||
src="elva-fairy-800w.jpg" | ||
alt="Elva dressed as a fairy"> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<base href="https://example.com"> | ||
|
||
<div class="h-entry"> | ||
<div class="e-content"> | ||
<img src="/photo.jpg" alt="selfie">At some tourist spot | ||
</div> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<div class="e-content"> | ||
<img src="/photo.jpg" alt="">At another tourist spot | ||
</div> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<div class="e-content"> | ||
<img src="/photo.jpg">At yet another tourist spot | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div class="h-entry"> | ||
<div class="e-content"> | ||
<p>foo</p><img src="pic.png" alt="bar">baz | ||
</div> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<div class="e-content"> | ||
<p>foo</p>bar baz | ||
</div> | ||
</div> | ||
|
||
<div class="h-entry"> | ||
<div class="e-content"> | ||
foo bar<p>baz</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>Relative URLs in e-content</title> | ||
<base href="http://example.com/" /> | ||
</head> | ||
<body> | ||
<div class="h-entry"> | ||
<div class="e-content"><p><a href=/cat.html>Cat <img src=cat.jpg></a></p></div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.