layout: Lay out nested inline elements with different vertical-align

values properly in simple cases.

This allows things like `<sup><span>Foo</span></sup>` to work and
improves Wikipedia.
This commit is contained in:
Patrick Walton 2015-04-09 10:36:18 -07:00
parent 51dd6984f7
commit 18074bf908
9 changed files with 248 additions and 98 deletions

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<!--
Tests that layout doesn't treat `vertical-align` on table cells as though it were
`vertical-align` on inlines.
-->
</head>
<body>
<table>
<tr><td>What? <a>What?</a></td></tr>
</table>
</body>
</html>