class_docstr: Layout specification
  
  Defines a layout that can be expressed using CSS.  Supports a subset of
  https://developer.mozilla.org/en-US/docs/Web/CSS/Reference
  
  When a property is also accessible via a shorthand property, we only
  expose the shorthand.
  
  For example:
  - ``flex-grow``, ``flex-shrink`` and ``flex-basis`` are bound to ``flex``.
  - ``flex-wrap`` and ``flex-direction`` are bound to ``flex-flow``.
  - ``margin-[top/bottom/left/right]`` values are bound to ``margin``, etc.
code: def _validate_overflows(self, proposal):
      if proposal.value is not None:
          import warnings
  
          warnings.warn(
              "Layout properties overflow_x and overflow_y have been deprecated and will be dropped in a future release. Please use the overflow shorthand property instead",
              DeprecationWarning,
          )
      return proposal.value
  
file_path: catboost/contrib/python/ipywidgets/py2/ipywidgets/widgets/widget_layout.py
imports: from traitlets import Unicode, Instance, CaselessStrEnum, validate
  from .widget import Widget, register
  from .._version import __jupyter_widgets_base_version__
label_desc: Use image node_id 1 for calling the Layout obj's underlying member method code with example usage: obj._validate_overflows(proposal) and returns: proposal