<?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>13417</bug_id>
          
          <creation_ts>2011-07-28 17:17:30 +0000</creation_ts>
          <short_desc>i18n-ISSUE-139: Multilingual q nesting</short_desc>
          <delta_ts>2011-08-12 20:25:06 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="I18n Core WG">public-i18n-core</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>dbaron</cc>
    
    <cc>duerst</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>51659</commentid>
    <comment_count>0</comment_count>
    <who name="I18n Core WG">public-i18n-core</who>
    <bug_when>2011-07-28 17:17:30 +0000</bug_when>
    <thetext>4.6.7 The q element
http://www.w3.org/TR/html5/text-level-semantics.html#the-q-element

Not discussed in the i18n WG yet, but tracked by i18n tracker.


[I&apos;m putting this here as a placeholder, since we&apos;re near to the end of last call, and i need more time to consider and discuss but will be away on vacation.]

I&apos;m wondering whether we need a way to reset the embedding levels of quotes.  This may involve markup, rather than just CSS (that&apos;s what I need to think more about).

Here&apos;s the reason:

If you have the following CSS:

:lang(en) &gt; * { quotes: &apos;&quot;&apos; &apos;&quot;&apos; &quot;&apos;&quot; &quot;&apos;&quot;; }
:lang(no) &gt; * { quotes: &quot;«&quot; &quot;»&quot; &apos;&quot;&apos; &apos;&quot;&apos; }

And you have 

&lt;p lang=no&gt;Some Norwegian text &lt;q&gt;more norwegian &lt;q&gt;more norwegian&lt;/q&gt;&lt;/q&gt;.&lt;/p&gt;

You&apos;d expect to see

Some Norwegian text «more norwegian &quot;more norwegian&quot;».

which perfectly fine.

But if you had 

&lt;p lang=en&gt;Some English text &lt;q lang=no&gt;Some norwegian &lt;q&gt;more norwegian&lt;/q&gt;&lt;/q&gt;.&lt;/p&gt;

Then I think you&apos;d see 

Some English text &quot;Some norwegian &quot;more norwegian&quot;&quot;.

I&apos;d have thought that the quotes surrounding the text &apos;more norwegian&apos; here should be surrounded by «...». This could maybe be done by a rule that says that if a q element carries a lang attribute, the next embedded q attribute should use the highest level quote marks. 

Or perhaps it needs some attribute to reset the levels?  (which is why this comment is here)

In addition, maybe that would also give you more control over how the quotes are used in other situations (such as to replicate the original text) - although perhaps that&apos;s best achieved using special class names or just by avoiding q altogether.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51660</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-07-28 17:25:07 +0000</bug_when>
    <thetext>This should be brought up in the CSSWG; there is absolutely nothing here that HTML needs to care about.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51663</commentid>
    <comment_count>2</comment_count>
    <who name="I18n Core WG">public-i18n-core</who>
    <bug_when>2011-07-28 17:55:14 +0000</bug_when>
    <thetext>Yes, I suspect that that is true, but I wasn&apos;t totally sure that we weren&apos;t looking at markup to do the reset function.  That&apos;s why I put this here.  But I do also intend to send the comment to CSS too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51729</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Dürst">duerst</who>
    <bug_when>2011-07-29 05:48:13 +0000</bug_when>
    <thetext>(In reply to comment #0)

[I agree that this has to go to CSS, but just a short comment while it&apos;s here.]

&gt; But if you had 
&gt; 
&gt; &lt;p lang=en&gt;Some English text &lt;q lang=no&gt;Some norwegian &lt;q&gt;more
&gt; norwegian&lt;/q&gt;&lt;/q&gt;.&lt;/p&gt;
&gt; 
&gt; Then I think you&apos;d see 
&gt; 
&gt; Some English text &quot;Some norwegian &quot;more norwegian&quot;&quot;.
&gt; 
&gt; I&apos;d have thought that the quotes surrounding the text &apos;more norwegian&apos; here
&gt; should be surrounded by «...». This could maybe be done by a rule that says
&gt; that if a q element carries a lang attribute, the next embedded q attribute
&gt; should use the highest level quote marks. 

That won&apos;t work always, because there may be other languages where &quot;&quot; is the quote convention on the top level, as for English, and you&apos;d still end up with text where you don&apos;t really see what starts where and what ends where.

&gt; In addition, maybe that would also give you more control over how the quotes
&gt; are used in other situations (such as to replicate the original text) -
&gt; although perhaps that&apos;s best achieved using special class names or just by
&gt; avoiding q altogether.

I guess you can always write some rule like

:lang(en) &gt; :lang(no) &gt; * ...

or maybe even something more generic. You don&apos;t need classes or HTML attributes for that. It won&apos;t work out of the box in a browser, but it&apos;s easy to put that in your own stylesheet unless you have hundreds of combinations of languages.

Regards,    Martin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53009</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:05:58 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54795</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-12 20:25:06 +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: Rejected
Change Description: no spec change
Rationale: I&apos;m marking this bug WONTFIX because there doesn&apos;t seem to be a way to reassign bugs to the CSSWG. :-(</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>