<?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>29562</bug_id>
          
          <creation_ts>2016-04-07 11:35:17 +0000</creation_ts>
          <short_desc>Define Range.getClientRects() when the range contains part of a grapheme cluster, a surrogate pair, or a ligature</short_desc>
          <delta_ts>2016-04-14 13:18:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM View</component>
          <version>unspecified</version>
          <rep_platform>All</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></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Koji Ishii">kojiishi</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125741</commentid>
    <comment_count>0</comment_count>
    <who name="Koji Ishii">kojiishi</who>
    <bug_when>2016-04-07 11:35:17 +0000</bug_when>
    <thetext>We recently figured out that the spec[1] isn&apos;t clear when the range
contains part of a grapheme cluster. Our behavior for the case was recently
changed due to some other improvements, which lead to a discussion of the
right behavior of getClientRects() and getBoundingClientRect().

Could we define cases such as:
1. What to do when the range contains part of a grapheme cluster.
2. What to do when the range contains part of a surrogate pair.
3. What to do when the range contains part of a ligature.

[1] http://drafts.csswg.org/cssom-view/#extensions-to-the-range-interface

The thread at www-style:
https://lists.w3.org/Archives/Public/www-style/2016Apr/0115.html

View the thread in readable-email:
https://readable-email.org/list/www-style/topic/cssom-view-range-getclientrects-when-the-range-contains-part-of-a-grapheme-cluster</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125842</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-04-14 13:18:59 +0000</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/commit/7dd11832ceed93cbd5ad1472d16ee24e496012f0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>