<?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>16382</bug_id>
          
          <creation_ts>2012-03-15 00:18:23 +0000</creation_ts>
          <short_desc>Should we have a NamedFlow.getRegionsByFlowRanges?</short_desc>
          <delta_ts>2012-10-05 17:16:46 +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>Regions</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>cssom</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vincent Hardy">vhardy</reporter>
          <assigned_to name="Vincent Hardy">vhardy</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>mihnea</cc>
    
    <cc>stearns</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65587</commentid>
    <comment_count>0</comment_count>
    <who name="Vincent Hardy">vhardy</who>
    <bug_when>2012-03-15 00:18:23 +0000</bug_when>
    <thetext>Feedback from Alex Chiculita, Adobe:

====
We have Region.getRegionFlowRanges that returns the Range[] array while there is no way to get all the regions of a specific range. For example, there&apos;s no NamedFlow.getRegionsByFragmentRange(). There&apos;s only NamedFlow.getRegionsByContentNode() . I&apos;m not sure if it&apos;s needed, but it feels like it should go both ways.
===</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65604</commentid>
    <comment_count>1</comment_count>
    <who name="Vincent Hardy">vhardy</who>
    <bug_when>2012-03-15 14:05:52 +0000</bug_when>
    <thetext>use case proposed by Alex:

==
Could be used for detecting what regions are affected by the user selection. For example: the user selects some text and you might need to highlight the selected regions or show a contextual menu near the regions.
==</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75381</commentid>
    <comment_count>2</comment_count>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2012-10-05 17:16:46 +0000</bug_when>
    <thetext>Added as a possible future feature:

http://wiki.csswg.org/spec/css-regions-4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>