W3C home > Mailing lists > Public > www-style@w3.org > April 2015

[css3-ui] incorect paragrah in the definition of the resize property

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 10 Apr 2015 17:33:19 +0200
Message-Id: <39D7EFC0-8EA0-44B8-AB54-7F14CB75F462@rivoal.net>
Cc: Tantek Çelik <tantek@cs.stanford.edu>
To: www-style list <www-style@w3.org>
Amongst other things, the section about the resize property
(http://dev.w3.org/csswg/css-ui/#resize) says this:

  The precise direction of resizing (i.e. altering the top
  left of the element or altering the bottom right) may depend
  on a number of factors including whether the element is
  absolutely positioned, whether it is positioned using the
  right and bottom properties, whether the language of the
  element is right-to-left etc. The precise direction of
  resizing is left to the UA to properly determine for
  the platform.

This is incorrect. While it does vary based on a number of
factors, what happens when you change the width is not left
to the UA, but fully defined by regular CSS layout. What is
left to the UA is how it should convey that, for example by
displaying the resize handle on appropriate side of the box.

We could simply delete this paragraph entirely, but I
think it is useful to give a hint to UA implementors that
they may want to adjust how/where they show the resize
handle, so I think it would be better to fix it to turn it
into a recommendation to be smart about the resize handle.
Proposal:


  The direction of resizing (i.e. altering the top
  left of the element or altering the bottom right) is
  determined by the usual CSS layout algorithms, and depends
  on a number of factors including whether the element is
  absolutely positioned, whether it is positioned using the
  right and bottom properties, whether the language of the
  element is right-to-left etc. The UA should convey this
  to the user through the way it presents the resizing
  mechanism, for example by displaying the resize handle
  on appropriate side of the box

 - Florian
Received on Friday, 10 April 2015 15:33:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC