mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
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:
parent
51dd6984f7
commit
18074bf908
9 changed files with 248 additions and 98 deletions
15
tests/ref/vertical_align_inside_table_ref.html
Normal file
15
tests/ref/vertical_align_inside_table_ref.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue