<?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>94070</bug_id>
          
          <creation_ts>2012-08-14 22:27:12 -0700</creation_ts>
          <short_desc>[CSS Regions] broken feature detection: syntax parsing succeeds when ENABLE_CSS_REGIONS is false</short_desc>
          <delta_ts>2014-02-03 07:30:37 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          <dependson>101192</dependson>
          <blocked>57312</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Irish">paulirish</reporter>
          <assigned_to name="Mihai Maerean">mmaerean</assigned_to>
          <cc>divya</cc>
    
    <cc>donggwan.kim</cc>
    
    <cc>mibalan</cc>
    
    <cc>mihnea</cc>
    
    <cc>mmaerean</cc>
    
    <cc>morrita</cc>
    
    <cc>rhudea</cc>
    
    <cc>WebkitBugTracker</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>695742</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Irish">paulirish</who>
    <bug_when>2012-08-14 22:27:12 -0700</bug_when>
    <thetext>1. If CSS Regions is not enabled (it&apos;s turned off in about:flags in Chrome) then the following should be true

    document.body.style.webkitRegionOverflow == undefined

Currently it&apos;ll return an empty string.

2. Additionally, in http://adobe.github.com/web-platform/utilities/css-regions-support-matrix/
One of the assertions (&apos;Initial default value for region-overflow&apos;) will pass in Chrome Canary with the flag turned off.  Chrome should score a 0 with the feature turned off.

3. With this fixed, feature detects would fail fast:
https://github.com/Modernizr/Modernizr/blob/b18048b4b4245326d7f6f5a998df58050acf51a9/feature-detects/css-regions.js#L12-17

4. More importantly, this may end up being a false positive in the upcoming @supports functionality (bug 86146)

Thanks!

(Feel free to rename ticket if I&apos;ve gotten the details wrong)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741564</commentid>
    <comment_count>1</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-10-14 05:42:47 -0700</bug_when>
    <thetext>*** Bug 98884 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900374</commentid>
    <comment_count>2</comment_count>
    <who name="Michelangelo De Simone">michelangelo</who>
    <bug_when>2013-06-13 20:26:58 -0700</bug_when>
    <thetext>This seems to be a Chromium bug, closing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900468</commentid>
    <comment_count>3</comment_count>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2013-06-14 02:13:38 -0700</bug_when>
    <thetext>The bug actually has some WebKit ramifications, too.
Keeping it open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975858</commentid>
    <comment_count>4</comment_count>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2014-02-03 07:30:37 -0800</bug_when>
    <thetext>Since Regions are enabled by default in Safari, will close as RESOLVED/INVALID</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>