mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
layout: Perform text decoration propagation per CSS 2.1 § 16.3.1 without
going to the DOM.
This commit is contained in:
parent
7b3c3542a3
commit
a2e91d242b
13 changed files with 215 additions and 63 deletions
|
@ -497,7 +497,7 @@ impl InlineFlow {
|
|||
self.boxes.len());
|
||||
|
||||
for box in self.boxes.iter() {
|
||||
box.build_display_list(builder, dirty, &self.base.abs_position, list)
|
||||
box.build_display_list(builder, dirty, self.base.abs_position, (&*self) as &Flow, list)
|
||||
}
|
||||
|
||||
// TODO(#225): Should `inline-block` elements have flows as children of the inline flow or
|
||||
|
@ -672,7 +672,7 @@ impl Flow for InlineFlow {
|
|||
for kid in self.base.child_iter() {
|
||||
let child_base = flow::mut_base(*kid);
|
||||
child_base.position.size.width = self.base.position.size.width;
|
||||
child_base.is_inorder = self.base.is_inorder;
|
||||
child_base.flags.set_inorder(self.base.flags.inorder());
|
||||
}
|
||||
// There are no child contexts, so stop here.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue