Bug 184728

Summary: Fails to render opacity with transition on page load
Product: WebKit Reporter: Roland Soos <roland>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bfulgham, dino, graouts, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

Description Roland Soos 2018-04-18 05:08:42 PDT
Steps to reproduce:
1. Open in Safari https://smartslider3.com/bugs/webkit/divi/index.html
2. You should see white page (If you see the red box, refresh the page, at fist the issue might not happen)

The issue is that the opacity of the red body set to 1 when the page is ready, but Safari fails to apply it.

Expected results: You should see a red box


Video: https://www.youtube.com/watch?v=LV2PyZcXJoE



Tested in Safari 11.1 and Tech Preview 11.2 and happens in both browsers.
Comment 1 Roland Soos 2018-04-18 05:28:45 PDT
Created attachment 338210 [details]
Test case
Comment 2 Roland Soos 2018-04-18 05:29:46 PDT
(In reply to Roland Soos from comment #1)
> Created attachment 338210 [details]
> Test case

Just simplified the test case and this JavaScript gives the wrong result:

<script>
    (function ($) {
        $(document).ready(function () {
            $('#a').addClass('ready');
        });
        $(window).load(function () {
            $('body').css({'display': 'initial'});
        });
    })(jQuery);
</script>
Comment 3 Radar WebKit Bug Importer 2018-04-20 23:41:03 PDT
<rdar://problem/39618626>
Comment 4 Sam Sneddon [:gsnedders] 2022-06-10 09:16:10 PDT

*** This bug has been marked as a duplicate of bug 70595 ***