<?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>23054</bug_id>
          
          <creation_ts>2013-08-23 22:56:47 +0000</creation_ts>
          <short_desc>Input element should have css rules for dir=auto</short_desc>
          <delta_ts>2013-09-03 11:45:45 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Oliveira">igor.o</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>silviapfeiffer1</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>92536</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Oliveira">igor.o</who>
    <bug_when>2013-08-23 22:56:47 +0000</bug_when>
    <thetext>In the dir attribute spec[1], textarea and input(with type attribute is in the Text, Search, Telephone, URL, or E-mail state) elements have the same behavior:

&quot;If the element&apos;s value contains a character of bidirectional character type AL or R, and there is no character of bidirectional character type L anywhere before it in the element&apos;s value, then the directionality of the element is &apos;rtl&apos;. [BIDI]&quot;

However differently from textarea, input element does not have any css rule for bidirectional text[2]. The textarea rule is:

textarea[dir=auto i]{ unicode-bidi: plaintext; }

[1] http://www.w3.org/html/wg/drafts/html/master/dom.html#the-dir-attribute
[2] http://www.w3.org/html/wg/drafts/html/master/Overview.html#bidirectional-text</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92855</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-09-03 11:45:45 +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: Added the style rule.
Rationale: Matches description in specification body.

https://github.com/w3c/html/commit/be40dddd14ac8d80a5fcde344dd9a443f9dc8b60</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>