-
Notifications
You must be signed in to change notification settings - Fork 756
Description
Please let me know if I'm opening this issue incorrectly!
@xiaochengh and I created a feature by feature comparison of the two anchor positioning proposals [1, 2] so we could better understand which features they each support.
As we were doing that, we realized that both had features they could support, but didn't yet. We'd like to explore extending the two proposals to the full feature set. To do so, we need your help, we are likely missing whole features and in some cases wrong about whether the feature is supported by each proposal, so please do add comments with corrections and I'll update the issue accordingly. There are also several where I didn't have enough information to be sure if it was supported. I marked those with a "?"
Feature table
🔶= not currently, but probably could❌= not currently, would be difficult or impossible✅= supported
Most features could be supported by either proposal. But, each has weak areas that we can focus on improving before we compare the two.
| Feature | Inset-based (current spec) | Grid-based |
|---|---|---|
| Named position areas | 🔶 |
✅ |
| Automatic alignment / justification | 🔶 |
✅ |
| Animations and transitions | ✅ |
❌ |
| Transitions between fallbacks | ❌ |
❌ |
| Center alignment | 🔶 |
✅ |
| Tether | 🔶 |
✅ |
| Tether behavior with deeply rounded corners | 🔶 |
🔶 |
| Tether behavior at a diagonal from anchor | 🔶 |
🔶 |
| Multiple anchors (document comments use-case) | ✅ |
❌? |
| Strong expressiveness for complex cases | ✅ |
🔶 |
| Simple syntax position fallbacks | TBD | ✅ |
| Simple syntax for tether to work with position fallbacks | 🔶 |
🔶? |
| Position fallbacks | ✅ |
✅ |
| Auto fallbacks (auto, auto-same) | ✅ |
🔶 |
| Keyword for aligning to center of anchor | ✅ |
🔶 |
| Styling the anchored element and tether with borders | 🔶 |
✅ |
| Styling the anchored element and tether with shadows | 🔶 |
✅ |
| Styling the anchor to sit on top of the backdrop | ? | ? |
| Automatic with no author code, “Tess mode” | 🔶 |
🔶 |
| Fixed position anchored element, scrollable anchor | ✅ |
🔶 |
| Fully logical positioning | ✅ |
✅ |
| Fully physical positioning | ✅ |
✅ |
| Logical / physical combo positioning | ❌? |
✅ |
| Anchor name scoping | 🔶 |
✅ |
| Position-based styling | ❌? |
✅ |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status