<?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>134546</bug_id>
          
          <creation_ts>2014-07-02 06:18:09 -0700</creation_ts>
          <short_desc>CSS transitions applied to pseudo elements are stifled by changing content</short_desc>
          <delta_ts>2022-07-13 17:21:33 -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>OS X 10.9</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>https://colons.co/pseudo/</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="colons">webkit-bugzilla</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1019959</commentid>
    <comment_count>0</comment_count>
    <who name="colons">webkit-bugzilla</who>
    <bug_when>2014-07-02 06:18:09 -0700</bug_when>
    <thetext>Steps to reproduce:

- Visit https://colons.co/pseudo/ or load up the attached HTML file in Safari
- Click &apos;unchanging&apos; and observe the transition successfully applied to a pseudo-element
- Click &apos;inactive&apos;, and observe the animation getting ignored

Note that that page has no styles whatsoever applied to non-pseudo elements. The only difference between the pseudo elements is that the content is changed on one when it is class=&quot;active&quot;. That shouldn&apos;t be enough to break transitions.

Observed on iOS and OS X. Firefox and Chrome exhibit no such problem.

You can work around it by associating the content change with a different class name and setting a timeout to change the visual active state, but this approach is not foolproof.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1019960</commentid>
    <comment_count>1</comment_count>
      <attachid>234261</attachid>
    <who name="colons">webkit-bugzilla</who>
    <bug_when>2014-07-02 06:19:30 -0700</bug_when>
    <thetext>Created attachment 234261
HTML document on which this bug is observable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056776</commentid>
    <comment_count>2</comment_count>
    <who name="colons">webkit-bugzilla</who>
    <bug_when>2014-12-18 07:15:37 -0800</bug_when>
    <thetext>Still observable in the latest nightly (r177473). Firefox&apos;s behaviour has degraded a little, to a slight flickering followed by the correct behaviour. Chrome Canary is still fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883486</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 17:21:33 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox all agree on rendering for this test case. I don&apos;t believe there is any remaining compatibility issue.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>234261</attachid>
            <date>2014-07-02 06:19:30 -0700</date>
            <delta_ts>2014-07-02 06:19:30 -0700</delta_ts>
            <desc>HTML document on which this bug is observable</desc>
            <filename>pseudo.html</filename>
            <type>text/html</type>
            <size>921</size>
            <attacher name="colons">webkit-bugzilla</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBsaTo6YmVm
b3JlIHsKICAgICAgICBvcGFjaXR5OiAwLjU7CiAgICAgICAgdHJhbnNpdGlvbjogcGFkZGluZy1s
ZWZ0IDFzLCBvcGFjaXR5IDFzOwogICAgICB9CgogICAgICAuYWN0aXZlOjpiZWZvcmUgewogICAg
ICAgIHBhZGRpbmctbGVmdDogMWVtOwogICAgICAgIG9wYWNpdHk6IDE7CiAgICAgIH0KCiAgICAg
ICN1bmNoYW5naW5nOjpiZWZvcmV7CiAgICAgICAgY29udGVudDogJ3VuY2hhbmdpbmcnCiAgICAg
IH0KCiAgICAgICNjaGFuZ2luZzo6YmVmb3JlewogICAgICAgIGNvbnRlbnQ6ICdpbmFjdGl2ZScK
ICAgICAgfQoKICAgICAgI2NoYW5naW5nLmFjdGl2ZTo6YmVmb3JlewogICAgICAgIGNvbnRlbnQ6
ICdhY3RpdmUnCiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPGgx
PkNsaWNrIHRoZXNlOjwvaDE+CiAgICA8dWw+CiAgICAgIDxsaSBpZD0ndW5jaGFuZ2luZyc+PC9s
aT4KICAgICAgPGxpIGlkPSdjaGFuZ2luZyc+PC9saT4KICAgIDwvdWw+CgogICAgPHNjcmlwdD4K
ICAgICAgZnVuY3Rpb24gYmluZENsaWNraW5nVG9Ub2dnbGVBY3RpdmUoZWxlbWVudCkgewogICAg
ICAgIGVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignY2xpY2snLCBmdW5jdGlvbigpIHsKICAgICAg
ICAgIGVsZW1lbnQuY2xhc3NMaXN0LnRvZ2dsZSgnYWN0aXZlJyk7CiAgICAgICAgfSk7CiAgICAg
IH0KCiAgICAgIGJpbmRDbGlja2luZ1RvVG9nZ2xlQWN0aXZlKGRvY3VtZW50LmdldEVsZW1lbnRC
eUlkKCd1bmNoYW5naW5nJykpOwogICAgICBiaW5kQ2xpY2tpbmdUb1RvZ2dsZUFjdGl2ZShkb2N1
bWVudC5nZXRFbGVtZW50QnlJZCgnY2hhbmdpbmcnKSk7CiAgICA8L3NjcmlwdD4KICA8L2JvZHk+
CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>