-
Notifications
You must be signed in to change notification settings - Fork 227
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
4 changed files
with
38 additions
and
1 deletion.
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
14 changes: 14 additions & 0 deletions
14
...s/inc/Engine/Optimization/LazyRenderContent/Frontend/Controller/expected-single-line.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,14 @@ | ||
<html> | ||
<head> | ||
<title>Single line element</title> | ||
<style id="rocket-lazyrender-inline-css">[data-wpr-lazyrender] {content-visibility: auto;}</style> | ||
</head> | ||
<body> | ||
<div data-wpr-lazyrender="1"> div in body <div data-wpr-lazyrender="1"> another div in body <header data-wpr-lazyrender="1"> header in div in div in body<div>another div in header in div in div in body</div></header></div></div> | ||
<footer > | ||
<div > | ||
<p>Original footer</p> | ||
</div> | ||
</footer> | ||
</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
13 changes: 13 additions & 0 deletions
13
...res/inc/Engine/Optimization/LazyRenderContent/Frontend/Controller/single-line-hashed.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,13 @@ | ||
<html> | ||
<head> | ||
<title>Single line element</title> | ||
</head> | ||
<body> | ||
<div data-rocket-location-hash="7b16eca0652d4703f83ba63e304f2030"> div in body <div data-rocket-location-hash="30c5235261141d2450dc033e5c78bbcc"> another div in body <header data-rocket-location-hash="b42afa69f728fcc707157eb61efa53cc"> header in div in div in body<div>another div in header in div in div in body</div></header></div></div> | ||
<footer data-rocket-location-hash="daf185c1c5cd6ae65d6a3b0721be5714"> | ||
<div data-rocket-location-hash="57f84b25dc0def2056eb68ae21a02316"> | ||
<p>Original footer</p> | ||
</div> | ||
</footer> | ||
</body> | ||
</html> |