mirror of
https://github.com/servo/servo.git
synced 2025-07-29 18:20:24 +01:00
This exposed some problems in our clipping logic, which was never properly rewritten for the stacking context reform. The clipping code worked in terms of a stack of clips, but the new stacking context code has no concept of a stack of clip regions. Fixing that in turn exposed some flaky/incorrect tests: * `borders` had an incorrect reference image, as far as I can tell. * `negative_margins` had some stray pixels, fixed by changing the text.
18 lines
174 B
HTML
18 lines
174 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
* {
|
|
line-height: 14px;
|
|
}
|
|
#b {
|
|
margin-top: -14px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id=a>X</div>
|
|
<div id=b>X</div>
|
|
</body>
|
|
</html>
|
|
|