Re: [csswg-drafts] [css-logical-props] Naming of inset-* properties prefix

Question is whether the physical and the logical properties should share the same prefix and whether the shorthand should work for both.

For what it's worth, here are the results of the Twitter thread (ordered by times a keyword was suggested or liked and then alphabetically):

- `position-offset` +11
- `bounds` +8
- `box` +8
- `coords` +7
- `location` +7
- `box-offset` +6
- `coordinates` +6
- `distance` +4
- `position` (turned into shortcut and introduce `position-mode` as longhand for current use of property) +4
- `tlbr` +4
- `box-position` +3
- `dimensions` +3
- `move` +3
- `place` +3
- `placement` +3
- `transpose` +3
- `where` +3
- `arrange` (+ fifth argument for z-index) +2
- `box-placed` +2
- `positioned` +2
- `surface` +2
- `cross` +1
- `fix` +1
- `gap` +1
- `glue` +1
- `insets` +1
- `locale` +1
- `nudge` +1
- `origin` +1
- `pin` +1
- `point` +1
- `pos-offset` +1
- `positioning` +1
- `rect` +1
- `push` +1
- `relative-offset` +1
- `relative-position` +1
- `spot` +1
- `trbl` +1
- `whereabouts` +1
- `adjust`
- `allocation`
- `anchors`
- `arranged`
- `bind-top` / `bind-right` / `bind-bottom` / `bind-left`
- `bounding`
- `bound`
- `boundary`
- `box-coords`
- `box-distance`
- `box-edge`
- `cardinals`
- `cart`
- `cartesian`
- `corners`
- `cusp`
- `distribution`
- `edge`
- `edge-points`
- `extent`
- `extremes`
- `fasten-top` / `fasten-right` / `fasten-bottom` / `fasten-left`
- `frame`
- `loc`
- `offsets`
- `points`
- `pos`
- `position-bounds: top, right, bottom, left;` / `position-bounds: x, y;` / `position-bounds: all;`
- `position-box`
- `position-constraints`
- `position-direction`
- `position-margin`
- `position-rect`
- `position-scheme: absolute | relative;` with `position: top right bottom left;` where `position: absolute;` sets `position-scheme`
- `positioned-top` / `positioned-right` / `positioned-bottom` / `positioned-left`
- `perimeter`
- `quad`
- `reach`
- `sides`
- `spacing`
- `tp` / `lt` / `bm` / `rt`

My personal favorite is `position-offset`. And I'd also like `position` to be turned into a shorthand, which allow to set the physical or logical longhands, even though that would require special casing it to not reset the positioning properties and to provide a way to leave values unchanged.
That would allow the logical properties to be `position-inline-start`,  `position-inline-end`,  `position-block-start`,  `position-block-end` and to set them via the `position` shorthand.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1519#issuecomment-307378732 using your GitHub account

Received on Friday, 9 June 2017 12:45:16 UTC