W3C home > Mailing lists > Public > public-html-admin@w3.org > September 2013

[Bug 23260] New: Make the dir attribute use isolation instead of embedding

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Sep 2013 23:03:21 +0000
To: public-html-admin@w3.org
Message-ID: <bug-23260-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23260

            Bug ID: 23260
           Summary: Make the dir attribute use isolation instead of
                    embedding
           Product: WHATWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML
          Assignee: ian@hixie.ch
          Reporter: travil@microsoft.com
        QA Contact: contributor@whatwg.org
                CC: aharon.lists.lanin@gmail.com, ian@hixie.ch,
                    mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org,
                    public-i18n-bidi@w3.org
        Depends on: 22326

+++ This bug was initially created as a clone of Bug #22326 +++

Cloned at filer's request.

As discussed in http://www.w3.org/International/wiki/Html-bidi-isolation, the
dir attribute should start using isolation instead of embedding.

There is some additional discussion in
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18490, but further discussion on
isolation for the dir attribute should happen here.

The only change that appears to be necessary in the spec is in
http://www.w3.org/html/wg/drafts/html/master/rendering.html#bidirectional-text,
replacing all of the following:

=========
address, blockquote, center, div, figure, figcaption, footer, form,
header, hr, legend, listing, p, plaintext, pre, summary, xmp, article,
aside, h1, h2, h3, h4, h5, h6, hgroup, main, nav, section, table, caption,
colgroup, col, thead, tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu,
ol, ul, li {
  unicode-bidi: isolate;
}

:matches([dir=ltr i], [dir=rtl i], [dir=auto i]):not(address):not(blockquote
):not(center):not(div):not(figure):not(figcaption):not(footer):not(form
):not(header):not(hr):not(legend):not(listing):not(main):not(p):not(plaintext):not(pre
):not(summary):not(xmp):not(article):not(aside):not(h1):not(h2):not(h3):not(h4
):not(h5):not(h6):not(hgroup):not(nav):not(section):not(table):not(caption
):not(colgroup):not(col):not(thead):not(tbody):not(tfoot):not(tr):not(td
):not(th):not(dir):not(dd):not(dl):not(dt):not(menu):not(ol):not(ul):not(li) {
  unicode-bidi: embed;
}

bdi, bdi:matches([dir=ltr i], [dir=rtl i]),
output, output:matches([dir=ltr i], [dir=rtl i]),
[dir=auto i] {
  unicode-bidi: isolate;
}

bdo, bdo:matches([dir=ltr i], [dir=rtl i]) { unicode-bidi: bidi-override; }
bdo[dir=auto i] { unicode-bidi: isolate-override; }
=========

with the following:

=========
address, blockquote, center, div, figure, figcaption, footer, form,
header, hr, legend, listing, p, plaintext, pre, summary, xmp, article,
aside, h1, h2, h3, h4, h5, h6, hgroup, main, nav, section, table, caption,
colgroup, col, thead, tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu,
ol, ul, li,
[dir=ltr i], [dir=rtl i], [dir=auto i],
bdi, output  {
  unicode-bidi: isolate;
}

bdo, bdo[dir=ltr i], bdo[dir=rtl i] { unicode-bidi: bidi-override; }
bdo[dir=auto i] { unicode-bidi: isolate-override; }
=========

Please note that the above leaves <bdo dir="ltr|rtl"> with unicode-bidi:
bidi-override instead of the new unicode-bidi: isolate-override. We could move
them too to isolate-override, and it may well be cleaner, but this has not been
discussed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 16 September 2013 23:03:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:34 UTC