<?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>75670</bug_id>
          
          <creation_ts>2012-01-05 16:26:42 -0800</creation_ts>
          <short_desc>Selections include the full page width</short_desc>
          <delta_ts>2012-01-05 16:59:05 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</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="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>hyatt</cc>
    
    <cc>rniwa</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>530756</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-01-05 16:26:42 -0800</bug_when>
    <thetext>A common issue people have with selections in WebKit is that they extend to the full page&apos;s width. This is especially problematic since using margin:auto is such a common technique for centering multi-column layouts (e.g. http://peter.sh/examples/?/css/flexbox.html).

It seems to me that in general we should restrict selections to the border-box (content-box?) of the containing div. Are there cases that would break?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>530758</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-01-05 16:27:44 -0800</bug_when>
    <thetext>Related bug http://code.google.com/p/chromium/issues/detail?id=105471</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>