mirror of
https://github.com/servo/servo.git
synced 2025-09-03 03:28:20 +01:00
layout: Make inline absolute hypothetical boxes not clip their contents.
Improves the logo on ebay.com.
This commit is contained in:
parent
19d466b062
commit
c328c38804
5 changed files with 49 additions and 1 deletions
16
tests/ref/inline_absolute_hypothetical_clip_ref.html
Normal file
16
tests/ref/inline_absolute_hypothetical_clip_ref.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
position: absolute;
|
||||
background: lime;
|
||||
top: 63px;
|
||||
width: 118px;
|
||||
height: 48px;
|
||||
left: 16px;
|
||||
}
|
||||
</style>
|
||||
<section></section>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue