mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Only count outline width in overflow calculation if outline style is active.
This fixes layers being created with a 3x3 border that's not needed. This exposes https://github.com/servo/servo/issues/6250, so update the affected reftest to use ahem font until it is fixed.
This commit is contained in:
parent
d08995e1a9
commit
958adc0f2b
4 changed files with 48 additions and 11 deletions
|
@ -920,7 +920,8 @@ pub mod computed {
|
|||
pub border_bottom_present: bool,
|
||||
pub border_left_present: bool,
|
||||
pub is_root_element: bool,
|
||||
pub viewport_size: Size2D<Au>
|
||||
pub viewport_size: Size2D<Au>,
|
||||
pub outline_style_present: bool,
|
||||
// TODO, as needed: viewport size, etc.
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue