-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
12 changed files
with
175 additions
and
4 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
8 changes: 8 additions & 0 deletions
8
tests/Fixtures/inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/input_lcp_image.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>LCP/ATF image test</title> | ||
</head> | ||
<body> | ||
<img src="//example.org/wp-content/uploads/sample_url_image.png" alt="Sample alt"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
.../inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/input_lcp_with_fetchpriority.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>Relative test</title> | ||
</head> | ||
<body> | ||
<img Src="/wp-content/uploads/sample_relative_image.jpg" alt="Relative url" FetchPriority> | ||
</body> | ||
</html> |
9 changes: 9 additions & 0 deletions
9
...inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/input_lcp_with_markup_comment.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html> | ||
<head> | ||
<title>Relative test</title> | ||
</head> | ||
<body> | ||
<!--<img src="/wp-content/uploads/duplicate.jpg" alt="Duplicate image">--> | ||
<img src="/wp-content/uploads/sample_relative_image.jpg" alt="Relative url"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
...s/inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/input_with_absolute_img_lcp.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>Absolute url test</title> | ||
</head> | ||
<body> | ||
<img src="http://example.com/wp-content/uploads/sample_absolute_image.jpg" alt="Absolute url"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
...s/inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/input_with_relative_img_lcp.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>Relative test</title> | ||
</head> | ||
<body> | ||
<img SRC="/wp-content/uploads/sample_relative_image.jpg" alt="Relative url"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
tests/Fixtures/inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/output_lcp_image.php
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,8 @@ | ||
<html> | ||
<head> | ||
<title>LCP/ATF image test</title><link rel="preload" as="image" href="http://example.org/wp-content/uploads/sample_url_image.png" fetchpriority="high"> | ||
</head> | ||
<body> | ||
<img fetchpriority="high" src="//example.org/wp-content/uploads/sample_url_image.png" alt="Sample alt"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
...inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/output_lcp_with_fetchpriority.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>Relative test</title><link rel="preload" as="image" href="http://example.org/wp-content/uploads/sample_relative_image.jpg" fetchpriority="high"> | ||
</head> | ||
<body> | ||
<img Src="/wp-content/uploads/sample_relative_image.jpg" alt="Relative url" FetchPriority> | ||
</body> | ||
</html> |
9 changes: 9 additions & 0 deletions
9
...nc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/output_lcp_with_markup_comment.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html> | ||
<head> | ||
<title>Relative test</title><link rel="preload" as="image" href="http://example.org/wp-content/uploads/sample_relative_image.jpg" fetchpriority="high"> | ||
</head> | ||
<body> | ||
<!--<img src="/wp-content/uploads/duplicate.jpg" alt="Duplicate image">--> | ||
<img fetchpriority="high" src="/wp-content/uploads/sample_relative_image.jpg" alt="Relative url"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
...s/inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/output_with_absolute_img_lcp.php
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,8 @@ | ||
<html> | ||
<head> | ||
<title>Absolute url test</title><link rel="preload" as="image" href="http://example.com/wp-content/uploads/sample_absolute_image.jpg" fetchpriority="high"> | ||
</head> | ||
<body> | ||
<img fetchpriority="high" src="http://example.com/wp-content/uploads/sample_absolute_image.jpg" alt="Absolute url"> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
...s/inc/Engine/Media/AboveTheFold/Frontend/Subscriber/HTML/output_with_relative_img_lcp.php
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,8 @@ | ||
<html> | ||
<head> | ||
<title>Relative test</title><link rel="preload" as="image" href="http://example.org/wp-content/uploads/sample_relative_image.jpg" fetchpriority="high"> | ||
</head> | ||
<body> | ||
<img fetchpriority="high" SRC="/wp-content/uploads/sample_relative_image.jpg" alt="Relative url"> | ||
</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