ISSUE-159: Extend output or create a new element for injected text
Extend output or create a new element for injected text
- State:
- CLOSED
- Product:
- html
- Raised by:
- Richard Ishida
- Opened on:
- 2012-05-01
- Description:
- bdi is fine and dandy for wrestling with your typical inline bidirectional text issues, but its use for injected text is a little strange, if you step back.
Essentially we are telling developers all around the world that anywhere they insert text into their page they have to add some bidi-specific markup. It's not semantically elegant, and it feels a little odd - and I guess most people will just not think about the possibility of bidi being an issue most of the time.
I suspect that a better approach would be to have an element dedicated to marking the location of inserted text, and secretly endow that element with the properties we need for bidi support. As such it would be identical to using bdi, but it would seem more natural to non-bidi-aware developers.
We already have an element that is close to this: output[1]. I'm thinking that we should ask the HTML WG to either expand the role of output so that it's not just for the result of calculations, or create a new element (that is essentially an alternative to bdi).
- Related Actions Items:
- No related actions
- Related emails:
- Review of tracker issues for best practices (Part V) (from addison@lab126.com on 2015-04-09)
- Re: I18N-ISSUE-159: Extend output or create a new element for injected text [.prep-HTML5] (from aharon@google.com on 2012-05-02)
- Re: I18N-ISSUE-159: Extend output or create a new element for injected text [.prep-HTML5] (from ishida@w3.org on 2012-05-01)
- Re: I18N-ISSUE-159: Extend output or create a new element for injected text [.prep-HTML5] (from ishida@w3.org on 2012-05-01)
- I18N-ISSUE-159: Extend output or create a new element for injected text [.prep-HTML5] (from sysbot+tracker@w3.org on 2012-05-01)
Related notes:
addressed by isolation work elsewhere
Addison Phillips, 18 Jul 2013, 01:21:52Display change log