mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Disable in Layout 2020 an assertion that does not apply there
This commit is contained in:
parent
6cf618ae9f
commit
d717382c0c
1 changed files with 2 additions and 1 deletions
|
@ -454,10 +454,11 @@ impl ToCss for Display {
|
||||||
where
|
where
|
||||||
W: fmt::Write,
|
W: fmt::Write,
|
||||||
{
|
{
|
||||||
|
#[cfg(any(feature = "servo-layout-2013", feature = "gecko"))]
|
||||||
debug_assert_ne!(
|
debug_assert_ne!(
|
||||||
self.inside(),
|
self.inside(),
|
||||||
DisplayInside::Flow,
|
DisplayInside::Flow,
|
||||||
"`flow` never appears in `display` computed value"
|
"`flow` fears in `display` computed value"
|
||||||
);
|
);
|
||||||
let outside = self.outside();
|
let outside = self.outside();
|
||||||
let inside = match self.inside() {
|
let inside = match self.inside() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue