-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimenting with using padded span to replace hidden text nodes.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<style> | ||
</style> | ||
</head> | ||
<body> | ||
<div>before</div> | ||
<div> | ||
<div>a</div> | ||
<div style="position: absolute;"> | ||
<div>b</div> | ||
<div>c</div> | ||
</div> | ||
<div>d</div> | ||
</div> | ||
<div>after</div> | ||
<hr/> | ||
<div> | ||
<span style="font-size: 0; padding: 8px 20px;"></span> | ||
</div> | ||
<div> | ||
<div> | ||
<span style="font-size: 0; padding: 8px 4px;"></span> | ||
</div> | ||
<div style="position: absolute;"> | ||
<div>b</div> | ||
<div> | ||
<span style="font-size: 0; padding: 8px 3px;"></span> | ||
</div> | ||
</div> | ||
<div>d</div> | ||
</div> | ||
<div> | ||
<span style="font-size: 0; padding: 8px 15px;"></span> | ||
</div> | ||
</body> | ||
</html> |