mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Default is top-to-bottom if unset, not bottom-to-top
This commit is contained in:
parent
7e3c9e2197
commit
23d4f04ce5
4 changed files with 23 additions and 1 deletions
|
@ -470,7 +470,7 @@ impl ToComputedValue for specified::AngleOrCorner {
|
|||
fn to_computed_value(&self, _: &Context) -> AngleOrCorner {
|
||||
match *self {
|
||||
specified::AngleOrCorner::None => {
|
||||
AngleOrCorner::Angle(Angle(0.0))
|
||||
AngleOrCorner::Angle(Angle(PI))
|
||||
},
|
||||
specified::AngleOrCorner::Angle(angle) => {
|
||||
AngleOrCorner::Angle(angle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue