mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fixes positioning of inline blocks that generate stacking contexts.
This commit is contained in:
parent
a521755607
commit
d61d3ad4ba
4 changed files with 44 additions and 1 deletions
21
tests/ref/inline_block_stacking_context_ref.html
Normal file
21
tests/ref/inline_block_stacking_context_ref.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.fa {
|
||||
display: block;
|
||||
transform: translate(0, 0);
|
||||
opacity: 0.5;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="padding: 100px 0 0 0;">
|
||||
<div class="fa">A</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue