<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20085</bug_id>
          
          <creation_ts>2012-11-26 12:59:01 +0000</creation_ts>
          <short_desc>Description of BDI element needs to be updated after a change in the CSS unicode-bidi:isolate spec</short_desc>
          <delta_ts>2013-04-23 23:49:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>20126</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aharon Lanin">aharon.lists.lanin</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78823</commentid>
    <comment_count>0</comment_count>
    <who name="Aharon Lanin">aharon.lists.lanin</who>
    <bug_when>2012-11-26 12:59:01 +0000</bug_when>
    <thetext>The BDI element is currently described as follows:

&gt; The bdi element represents a span of text that is to be isolated from its
&gt; surroundings for the purposes of bidirectional text formatting. [BIDI]
&gt; [...]
&gt; For the purposes of applying the bidirectional algorithm to the contents of a
&gt; bdi element, user agents must treat the element as a paragraph-level container.
&gt;
&gt; For the purposes of applying the bidirectional algorithm to the paragraph-level
&gt; container that a bdi element finds itself within, the bdi element must be
&gt; treated like a U+FFFC OBJECT REPLACEMENT CHARACTER (in the same manner that an
&gt; image or other inline object is handled).

This description was based on the spec for unicode-bidi:isolate (http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/), through which BDI is implemented:

&gt; For the purposes of the Unicode bidirectional algorithm, the contents of the
&gt; element are considered to be inside a separate, independent paragraph with a
&gt; base directionality given by the element&apos;s ‘direction’ property, and for the
&gt; purpose of bidi resolution in its containing bidi paragraph (if any), the
&gt; element itself is treated as if it were an Object Replacement Character
&gt; (U+FFFC).

However, due to the subsequent addition of bidi isolates to Unicode (on track for Unicode 6.3), the inability of Unicode isolates to span across a paragraph break, and the desire to base CSS isolates on Unicode isolates, the CSS definition had to be modified (http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/):

&gt; On an inline element, this bidi-isolates its contents. This is similar to a
&gt; directional embedding (and increases the embedding level accordingly) except
&gt; that each sequence of inline-level boxes uninterrupted by any block boundary
&gt; or forced paragraph break is treated as an isolated sequence:
&gt; * the content within the sequence is ordered as if inside an independent
&gt; paragraph with the base directionality specified by the element&apos;s ‘direction’
&gt; property.
&gt; * for the purpose of bidi resolution in its containing bidi paragraph, the
&gt; sequence is treated as if it were a single Object Replacement Character
&gt; (U+FFFC).
&gt; In effect, neither is the content inside the element bidi-affected by the
&gt; content surrounding the element, nor is the content surrounding the element
&gt; bidi-affected by the content or specified directionality of the element.
&gt; However, forced paragraph breaks within the element still create a
&gt; corresponding break in the containing paragraph.

The new CSS definition, and especially the note about forced paragraph breaks within the element (e.g. BR), should be reflected in the HTML spec of BDI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79022</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-28 18:26:41 +0000</bug_when>
    <thetext>(WHATWG spec bug 20126)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86641</commentid>
    <comment_count>2</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-04-23 23:49:55 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: none
Rationale: This has already been fixed and merged.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>