forked from joseph/Monocle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'upstream/componentry' into componentry
- Loading branch information
Showing
7 changed files
with
112 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Webkit fails to render outside document boundaries</title> | ||
<style> | ||
#frame { | ||
width: 200px; | ||
height: 300px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<p> | ||
This iframe has a width of 200px. It contains a document body with | ||
a column-width of 200px, that is translateX'ed -200px. So it should | ||
be showing the second column, but it is blank in latest Webkit nightlies. | ||
</p> | ||
|
||
<p> | ||
Try changing the translateX to -199px: the second column is suddenly | ||
visible. | ||
</p> | ||
|
||
<iframe id="frame" src="inner.html"></iframe> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Inner doc</title> | ||
<style> | ||
body { | ||
margin: 0; | ||
height: 284px; /* height of iframe - scrollbar height */ | ||
-webkit-transform: translateX(-200px); | ||
-webkit-column-width: 200px; | ||
} | ||
p { | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="content"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec posuere ligula et neque ullamcorper consectetur. Duis nec viverra magna. Nullam tellus diam, auctor et auctor at, fermentum quis mi. Nulla rhoncus porttitor ultrices. Nunc gravida, nisi nec consequat scelerisque, lectus eros sagittis erat, non ultrices ipsum nibh in quam. Donec dignissim, lacus sed cursus commodo, nibh enim sodales metus, lacinia dictum felis est tincidunt orci. Morbi pretium volutpat ante, ut ultricies nulla pharetra sed. Duis ac felis quis justo ullamcorper semper. Integer augue lacus, imperdiet eu euismod ut, vulputate vel purus. Donec bibendum felis id nisl auctor sit amet imperdiet quam mollis. Duis aliquam tellus odio, a varius lectus. Nunc a tortor augue, eu sollicitudin nibh. Phasellus ultricies, lacus eget tincidunt mattis, velit erat facilisis lacus, quis luctus arcu erat ut erat. Duis feugiat eros eu ligula ultricies non tincidunt tellus viverra. Donec ut eros augue, nec elementum elit. Pellentesque massa lectus, vulputate sed vehicula eget, volutpat eu augue. Cras fermentum turpis vitae erat vehicula et lacinia mi molestie. | ||
</p> | ||
|
||
<p> | ||
Curabitur ac porttitor leo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque eget mauris id turpis ullamcorper blandit quis eget turpis. Nullam et molestie elit. Curabitur urna arcu, luctus a suscipit et, viverra vel orci. Morbi scelerisque erat quis massa blandit molestie. Fusce vitae velit a lacus suscipit tempus. In vitae nisl orci, vel ultrices diam. Duis pellentesque, massa sit amet eleifend sollicitudin, dolor orci semper urna, eget euismod tortor massa sit amet ante. Quisque sed varius lectus. Mauris facilisis blandit mattis. Ut id tortor ante, ac eleifend dui. Donec sit amet arcu quis neque aliquam euismod a tincidunt justo. Integer sagittis, neque sed aliquam bibendum, est ante vulputate lectus, in elementum felis tellus et nibh. Aliquam id ultrices nisl. Sed sodales lacinia interdum. Aenean pharetra tellus ante, aliquam consectetur ligula. | ||
</p> | ||
</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