<?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>32695</bug_id>
          
          <creation_ts>2009-12-17 20:09:55 -0800</creation_ts>
          <short_desc>Combination of CSS General Sibling Combinators and Dynamic Pseudo-Classes Fails</short_desc>
          <delta_ts>2012-05-16 12:01:45 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.kerrickdesign.com/playground/css-siblings.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kerrick Long">me</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>divya</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>173027</commentid>
    <comment_count>0</comment_count>
    <who name="Kerrick Long">me</who>
    <bug_when>2009-12-17 20:09:55 -0800</bug_when>
    <thetext>URL: http://www.kerrickdesign.com/playground/css-siblings.html
Other browsers tested: Firefox 3.5, Chrome 4, Internet Explorer 7/8, Opera 
10
  Add OK or FAIL after other browsers where you have tested this issue:
     Chrome 4: FAIL
  Firefox 3.x: OK
         IE 7: OK-ish
         IE 8: OK-ish

What steps will reproduce the problem?
1. Visit the web page indicated
2. Hover over the left controls
3. See the left light not change

What is the expected result?
The light on the left should behave the same as the light on the right. It 
should turn yellow on hover and green on click of the controls.

What happens instead?
The light stays red when using CSS General Sibling Combinators in addition 
with Dynamic Pseudo-classes

Please provide any additional information below.
General Sibling Combinator specs: http://www.w3.org/TR/css3-selectors/#general-sibling-combinators
Dynamic Pseudo-class specs: 
http://www.w3.org/TR/CSS2/selector.html#dynamic-pseudo-classes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202288</commentid>
    <comment_count>1</comment_count>
      <attachid>51247</attachid>
    <who name="Konstantin Käfer">kkaefer</who>
    <bug_when>2010-03-21 08:43:59 -0700</bug_when>
    <thetext>Created attachment 51247
Reduced test case for checkboxes

The sibling selector also fails for the :checked pseudo selector. As you can see, it works when loading but doesn&apos;t update when the pseudo selector state changes: Clicking doesn&apos;t remove or add the red background color in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625713</commentid>
    <comment_count>2</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2012-05-16 12:01:45 -0700</bug_when>
    <thetext>This seems to work ok in current WebKit.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>51247</attachid>
            <date>2010-03-21 08:43:59 -0700</date>
            <delta_ts>2010-03-21 08:43:59 -0700</delta_ts>
            <desc>Reduced test case for checkboxes</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>521</size>
            <attacher name="Konstantin Käfer">kkaefer</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlIHR5cGU9InRleHQvY3NzIiBtZWRp
YT0ic2NyZWVuIj4KaW5wdXRbdHlwZT0iY2hlY2tib3giXTpjaGVja2VkIHsKICBvdXRsaW5lOiA1
cHggc29saWQgYmxhY2s7Cn0KCmlucHV0W3R5cGU9ImNoZWNrYm94Il06Y2hlY2tlZCB+IGxhYmVs
IHsKICBiYWNrZ3JvdW5kOnJlZDsKfQo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5PgoKICA8ZGl2Pgog
ICAgPGlucHV0IHR5cGU9ImNoZWNrYm94IiBuYW1lPSJjaGVja2JveFsxXSIgaWQ9ImNoZWNrYm94
LTEiIHZhbHVlPSIxIiBjaGVja2VkPgogICAgPGxhYmVsIGZvcj0iY2hlY2tib3gtMSI+Y2hlY2ti
b3ggMSA8L2xhYmVsPgogIDwvZGl2PgoKICA8ZGl2PgogICAgPGlucHV0IHR5cGU9ImNoZWNrYm94
IiBuYW1lPSJjaGVja2JveFsyXSIgaWQ9ImNoZWNrYm94LTIiIHZhbHVlPSIyIj4KICAgIDxsYWJl
bCBmb3I9ImNoZWNrYm94LTIiPmNoZWNrYm94IDIgPC9sYWJlbD4KICA8L2Rpdj4KCjwvYm9keT4K
PC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>