mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Implement clip
per CSS 2.1 § 11.1.2.
Only the recommended, comma-separated syntax is supported.
This commit is contained in:
parent
4ccecd8dca
commit
6b28965b94
11 changed files with 261 additions and 30 deletions
|
@ -1215,8 +1215,8 @@ impl Flow for InlineFlow {
|
|||
_ => continue,
|
||||
};
|
||||
|
||||
let clip_rect = fragment.clip_rect_for_children(self.base.clip_rect,
|
||||
stacking_relative_position);
|
||||
let clip_rect = fragment.clip_rect_for_children(&self.base.clip_rect,
|
||||
&stacking_relative_position);
|
||||
|
||||
match fragment.specific {
|
||||
SpecificFragmentInfo::InlineBlock(ref mut info) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue