[Webkit-unassigned] [Bug 171883] New: Visibility property is not inherited when used in an animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 9 14:04:22 PDT 2017


            Bug ID: 171883
           Summary: Visibility property is not inherited when used in an
           Product: WebKit
           Version: Safari 10
          Hardware: All
                OS: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: malteubl at google.com

It appears that the latest Safari stable release broke animation of CSS visibility.

Previously (like in other browser) visibility was correctly inherited by children. This is no longer the case.

Compare http://output.jsbin.com/yirehac/quiet between Safari versions (and Chrome and Firefox).

Repro case
<!doctype html>

    animation:test 8s steps(1,end) 0s 1 normal both
  @keyframes test {
  body {
    background: #cfd8dc;
  div {
    background: white; 
    width: 360px;
    height: 360px;
<body>Hello, world.
    Why am I shown?

This bug leads to FOUC on many AMP pages (which at this point is a significant portion of internet traffic). It cannot be worked around in AMP as the relevant CSS is part of the distributed pages and not centrally managed. We can update the future recommendation, but the current 2 billion pages have the problem.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170509/e105fe54/attachment.html>

More information about the webkit-unassigned mailing list