@@ -2657,7 +2657,15 @@ type style =
2657
2657
unbox< string> xOffset + " " +
2658
2658
unbox< string> yOffset + " " +
2659
2659
unbox< string> zOffset
2660
- )
2660
+ )
2661
+
2662
+ /// Limits the contents of a block to the specified number of lines.
2663
+ ///
2664
+ /// It only works in combination with the `display` property set to `webkitBox` or `webkitInlineBox`
2665
+ /// and the `webkitBoxOrient` property set to vertical.
2666
+ /// https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
2667
+ [<Obsolete( " This is non-standard API and may stop being supported at any moment" ) >]
2668
+ static member inline webkitLineClamp ( lines : int ) = Interop.mkStyle " WebkitLineClamp" lines
2661
2669
2662
2670
[<Erase>]
2663
2671
module style =
@@ -4241,7 +4249,29 @@ module style =
4241
4249
static member inline initial = Interop.mkStyle " display" " initial"
4242
4250
/// Inherits this property from its parent element.
4243
4251
static member inline inheritFromParent = Interop.mkStyle " display" " inherit"
4244
-
4252
+ [<Obsolete( " This non-standard API may stop being supported at any moment" ) >]
4253
+ static member inline webkitBox = Interop.mkStyle " display" " -webkit-box"
4254
+ /// This is only used in combination with `webkitLineClamp` and `webkitBoxOrient`
4255
+ [<Obsolete( " This non-standard API may stop being supported at any moment" ) >]
4256
+ static member inline webkitInlineBox = Interop.mkStyle " display" " -webkit-inline-box"
4257
+
4258
+ /// Sets whether an element lays out its contents horizontally or vertically.
4259
+ /// https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient
4260
+ [<Erase; Obsolete( " This is non-standard API and may stop being supported at any moment" ) >]
4261
+ type webkitBoxOrient =
4262
+ /// The box lays out its contents horizontally.
4263
+ [<Obsolete( " This is non-standard API and may stop being supported at any moment" ) >]
4264
+ static member inline horizontal = Interop.mkStyle " WebkitBoxOrient" " horizontal"
4265
+ /// The box lays out its contents vertically.
4266
+ [<Obsolete( " This is non-standard API and may stop being supported at any moment" ) >]
4267
+ static member inline vertical = Interop.mkStyle " WebkitBoxOrient" " vertical"
4268
+ /// The box displays its children along the inline axis.
4269
+ [<Obsolete( " This is non-standard API and may stop being supported at any moment" ) >]
4270
+ static member inline inlineAxis = Interop.mkStyle " WebkitBoxOrient" " inline-axis"
4271
+ /// The box displays its children along the block axis.
4272
+ [<Obsolete( " This is non-standard API and may stop being supported at any moment" ) >]
4273
+ static member inline blockAxis = Interop.mkStyle " WebkitBoxOrient" " block-axis"
4274
+
4245
4275
/// The cursor CSS property sets the type of cursor, if any, to show when the mouse pointer is over an element.
4246
4276
/// See documentation at https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
4247
4277
[<Erase>]
0 commit comments