Ojan Vafai 7a37fa8c09 First step at getting rid of anonymous blocks and continuations.
-Add RenderParagraph and display:paragraph. This is the only
render type that's allowed to contain inlines or text.
-If you put text nodes directly in a non-paragraph, wrap them
in an anonymous paragraph. This may not be the place we want
to end up, but it's a good stopgap to make it so we don't
crash in this case.
-Make StyleAdjuster force that non-paragraph blocks only contain
RenderBlock subclasses and that paragraphs and inlines only contain
inlines.
-Considerably simplify addChildIgnoringAnonymousColumnBlocks
now that we only create anonymous blocks for the case of
text nodes in non-paragraphs. Also get rid of the behavior
where we try to group multiple nodes into a single
anonymous block.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/729693003
2014-11-17 18:39:52 -08:00

87 lines
1.5 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<import src="../resources/dump-as-render-tree.sky" />
<title>Adam Barth</title>
<style>
html {
overflow: hidden;
height: 100%;
}
body {
height: 100%;
background-color: white;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background-repeat: no-repeat;
background-position: center top;
background-size: cover;
}
.line,
.link,
.name,
.photograph-credit {
display: paragraph;
}
.photograph-credit {
position: absolute;
right: 0;
bottom: 0;
padding: 3px;
font-size: 8pt;
color: #333;
}
a {
color: #333;
}
.name a {
text-decoration: none;
}
.bio {
padding: 15px;
text-align: right;
}
.name {
font-weight: bold;
font-size: 32pt;
}
.links {
padding: 19px 0;
}
.link {
padding: 5px 15px;
text-align: right;
}
</style>
</head>
<body>
<div class="card">
<div class="bio">
<div class="name"><a href="./">Adam Barth</a></div>
<div class="education">
<div class="line">Ph.D., M.S., Stanford, 2008</div>
<div class="line">B.A., Cornell, 2003</div>
</div>
</div>
<div class="links">
<div class="link"><a href="http://twitter.com/adambarth">@adambarth</a></div>
<div class="link"><a href="http://dev.chromium.org/blink">Blink</a></div>
<div class="link"><a href="http://blog.chromium.org/">Chromium</a></div>
<div class="link"><a href="papers/">Publications</a></div>
</div>
</div>
<div class="photograph-credit">
Photograph by <a href="http://www.flickr.com/photos/lesphotosdejerome/">Jérôme</a>
</div>
</body>
</html>