             self = .wrap
         default:
             guard let floatValue = Float(value) else {
-                throw TokenizationError(message: "Unknown preferred size \(value)")
+                throw TokenizationError(message: "Unknown preferred dimension \(value)")
             }
             self = .numeric(floatValue)
         }

    }
}

public struct PreferredSizeValue: SupportedPropertyType {
    public var width: PreferredSize
    public var height: PreferredSize

    init(width: PreferredSize, height: PreferredSize) {
        self.width = width
        self.height = height
    }

    }
    #endif

    public static func materialize(from value: String) throws -> PreferredSize {
        if value.contains(",") == false {
            let size = try PreferredDimension(value)
            return PreferredSize.init(width: size, height: size)
        } else {
            let components = value.components(separatedBy: ",")
            guard components.count == 2, let width = try? PreferredDimension(components[0]), let height = try? PreferredDimension(components[1]) else {
                throw TokenizationError(message: "Failed to materialize PreferredSizeValue")
            }
            return PreferredSize(width: width, height: height)
        }
    }
}
