mirror of
https://github.com/servo/servo.git
synced 2025-06-22 08:08:59 +01:00
layout: If the border style is "none", treat its width as 0.
Closes #1383.
This commit is contained in:
parent
acb3d9f533
commit
511d2b11d4
6 changed files with 97 additions and 23 deletions
|
@ -448,15 +448,15 @@ impl LayoutTask {
|
|||
});
|
||||
layout_root.traverse_postorder(&mut ComputeDamageTraversal.clone());
|
||||
|
||||
debug!("layout: constructed Flow tree");
|
||||
debug!("{:?}", layout_root.dump());
|
||||
|
||||
// Perform the primary layout passes over the flow tree to compute the locations of all
|
||||
// the boxes.
|
||||
do profile(time::LayoutMainCategory, self.profiler_chan.clone()) {
|
||||
self.solve_constraints(layout_root, &mut layout_ctx)
|
||||
}
|
||||
|
||||
debug!("layout: constraint solving done:");
|
||||
debug!("{:?}", layout_root.dump());
|
||||
|
||||
// Build the display list if necessary, and send it to the renderer.
|
||||
if data.goal == ReflowForDisplay {
|
||||
do profile(time::LayoutDispListBuildCategory, self.profiler_chan.clone()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue