style: Move the guts of calc nodes into a generic enum.

We'll have different leaf nodes as we progress in the value computation stage.

Differential Revision: https://phabricator.services.mozilla.com/D63396
This commit is contained in:
Emilio Cobos Álvarez 2020-02-21 00:46:33 +00:00
parent 869553357d
commit 426edbd991
3 changed files with 488 additions and 365 deletions

View file

@ -19,6 +19,7 @@ pub mod basic_shape;
pub mod border;
#[path = "box.rs"]
pub mod box_;
pub mod calc;
pub mod color;
pub mod column;
pub mod counters;