W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

Re: [csswg-drafts] Tweak the distance function to prioritize elements that are aligned (#3361)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Dec 2018 07:42:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-443616383-1543822915-sysbot+gh@w3.org>
---

Migrated from https://github.com/WICG/spatial-navigation/issues/122#issuecomment-436945866
Originally created by @hugoholgersson on *Thu, 08 Nov 2018 10:23:15 GMT*

---
I also like the idea of calculating the distances between elements' centroids. But how do we define the centroid of inline elements that span a line break (i.e non-rectangular elements)? 

~~~~
  ..................XXXX
  XXXXXXXX..............
~~~~

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3361#issuecomment-443616383 using your GitHub account
Received on Monday, 3 December 2018 07:42:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:40 UTC