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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>92594</bug_id>
          
          <creation_ts>2012-07-29 12:47:06 -0700</creation_ts>
          <short_desc>Consider lazily updating layout on addRange and removeAllRanges</short_desc>
          <delta_ts>2017-07-18 08:30:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>a9016009</cc>
    
    <cc>darin</cc>
    
    <cc>enrica</cc>
    
    <cc>mitz</cc>
    
    <cc>silenio_quarti</cc>
    
    <cc>tpopela</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>681576</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-07-29 12:47:06 -0700</bug_when>
    <thetext>Right now, setSelection call in addRange and removeAllRanges forces page layout.
We can probably delay that until the selection is rendered or validation is required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681579</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-07-29 13:07:27 -0700</bug_when>
    <thetext>http://crbug.com/138439</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>786023</commentid>
    <comment_count>2</comment_count>
    <who name="Silenio Quarti">silenio_quarti</who>
    <bug_when>2012-12-07 11:51:04 -0800</bug_when>
    <thetext>What is the status on this bug?

This is affecting our editor (orion.eclipse.org) on newer versions of Chrome. The problem started happening on Chrome 22. The performance of addRange() is really bad for long lines. See [1] for more info.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=394985</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>