mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Don't touch the inline positions of block children unless they
are to be reflowed. See the comment added to `BlockFlow::propagate_assigned_inline_size_to_children()` for details. Closes #13704.
This commit is contained in:
parent
768a699fa5
commit
06d9e91f7b
2 changed files with 35 additions and 1 deletions
20
tests/html/incremental_float.html
Normal file
20
tests/html/incremental_float.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
.float {
|
||||
float: right;
|
||||
}
|
||||
.bad {
|
||||
display: inline-block;
|
||||
background-color: gray;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
}
|
||||
.bad:hover {
|
||||
opacity: .85;
|
||||
}
|
||||
</style>
|
||||
<div class=float>
|
||||
<a class="bad"></a>
|
||||
</div>
|
||||
<p style="clear: both">Mouse over the preceding gray square. It should change color but remain in place.</p>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue