aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-04-09 10:40:26 -0400
committerbors-servo <release+servo@mozilla.com>2014-04-09 10:40:26 -0400
commitd7f450dbd7bb7dcc8b0ecf688e999a7ceb3c1154 (patch)
treec9097378739618653aeedbb2281ea32aa9bf35fe /src/components/main/layout/construct.rs
parent69fbbbdf339c370b2eeb87983b550b9055ee6f83 (diff)
parentc397c5233d1e09eeb0ab4b43ecbf5c566a241864 (diff)
downloadservo-d7f450dbd7bb7dcc8b0ecf688e999a7ceb3c1154.tar.gz
servo-d7f450dbd7bb7dcc8b0ecf688e999a7ceb3c1154.zip
auto merge of #2045 : Manishearth/servo/pub-struct-2044, r=SimonSapin
See #2044
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index 398f915197b..82026d28bce 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -98,7 +98,7 @@ impl ConstructionResult {
/// Represents the output of flow construction for a DOM node that has not yet resulted in a
/// complete flow. Construction items bubble up the tree until they find a `Flow` to be
/// attached to.
-enum ConstructionItem {
+pub enum ConstructionItem {
/// Inline boxes and associated {ib} splits that have not yet found flows.
InlineBoxesConstructionItem(InlineBoxesConstructionResult),
/// Potentially ignorable whitespace.
@@ -124,7 +124,7 @@ impl ConstructionItem {
}
/// Represents inline boxes and {ib} splits that are bubbling up from an inline.
-struct InlineBoxesConstructionResult {
+pub struct InlineBoxesConstructionResult {
/// Any {ib} splits that we're bubbling up.
///
/// TODO(pcwalton): Small vector optimization.
@@ -159,7 +159,7 @@ struct InlineBoxesConstructionResult {
/// }),~[
/// C
/// ])
-struct InlineBlockSplit {
+pub struct InlineBlockSplit {
/// The inline boxes that precede the flow.
///
/// TODO(pcwalton): Small vector optimization.