Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http://www.w3.org/TR/CSS21/visufx.html#visibility 'visibility: collapse' is not supported yet because tables are not, either. This fixes #1329.
- Loading branch information
1 parent
b26fe9a
commit 7a4c809
Showing
5 changed files
with
45 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
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,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>'visibility: hidden' test</title> | ||
<style type="text/css"> | ||
body { color: black; background: white } | ||
.hidden { visibility: hidden; } | ||
.visible { visibility: visible; } | ||
</style> | ||
</head> | ||
<body> | ||
<p>This should be visible.</p> | ||
<div class="hidden"> | ||
<p>This should NOT be visible.</p> | ||
<p class="visible">This should be visible.</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>'visibility: hidden' test</title> | ||
<style type="text/css"> | ||
body { color: black; background: white } | ||
</style> | ||
</head> | ||
<body> | ||
<p>This should be visible.</p> | ||
<div> | ||
<!-- Use the same markup so that this test is not affected by broken margin collapsing. --> | ||
<p> </p> | ||
<p>This should be visible.</p> | ||
</div> | ||
</body> | ||
</html> |
7a4c809
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from pcwalton
at SimonSapin@7a4c809
7a4c809
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging SimonSapin/servo/visibility = 7a4c809 into auto
7a4c809
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimonSapin/servo/visibility = 7a4c809 merged ok, testing candidate = a92d430
7a4c809
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://servo-buildbot.pub.build.mozilla.org/builders/linux/builds/684
success: http://servo-buildbot.pub.build.mozilla.org/builders/mac/builds/639
7a4c809
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = a92d430