Re: [w3ctag/design-reviews] ViewportAPI naming Re-review (#172)

And to clarify the reason I prefer Left/Top naming:  we might at some point want Right or Bottom offsets, giving the inset of the right edge of the visual viewport from the right edge of the layout viewport, etc., or logical offsets giving the offsets on the [block-start or inline-start sides](https://drafts.csswg.org/css-writing-modes-3/#logical-directions).  Or somebody might want to make a library that provides such offsets.  These seem like they might be useful when pages are developed for other directionalities, e.g., `direction:rtl` (Arabic, Hebrew, etc.) or [`writing-mode:vertical-rl`](https://drafts.csswg.org/css-writing-modes-3/#vertical-intro) (vertical Chinese, vertical Japanese, etc.), or `writing-mode: vertical-lr` (Mongolian, Manchu, etc.).

Using X/Y naming mostly forecloses the possibility of moving in that direction in the future, whereas Left/Top naming doesn't.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/172#issuecomment-298153805

Received on Saturday, 29 April 2017 07:46:32 UTC