mirror of
https://github.com/servo/servo.git
synced 2025-07-30 18:50:36 +01:00
layout: Store overflow for flows impacted by floats.
Makes qz.com visible. In order to work around a compiler bug involving Sized, this patch moves `store_overflow` to be a virtual method.
This commit is contained in:
parent
263b69cf7f
commit
b026a8ecf6
6 changed files with 74 additions and 41 deletions
|
@ -92,6 +92,7 @@ flaky_cpu == append_style_a.html append_style_b.html
|
|||
== float_clearance_intrinsic_width_a.html float_clearance_intrinsic_width_ref.html
|
||||
== float_intrinsic_height.html float_intrinsic_height_ref.html
|
||||
== float_intrinsic_width_a.html float_intrinsic_width_ref.html
|
||||
== float_overflow_area_a.html float_overflow_area_ref.html
|
||||
== float_right_intrinsic_width_a.html float_right_intrinsic_width_ref.html
|
||||
== float_table_a.html float_table_ref.html
|
||||
== float_under_top_margin_a.html float_under_top_margin_ref.html
|
||||
|
|
13
tests/ref/float_overflow_area_a.html
Normal file
13
tests/ref/float_overflow_area_a.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="transformX(0)"><div style="float: left">Y</div></div>
|
||||
</body>
|
||||
</html>
|
13
tests/ref/float_overflow_area_ref.html
Normal file
13
tests/ref/float_overflow_area_ref.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><div style="float: left">Y</div></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue