⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 244752 in webkit


Ignore:
Timestamp:
Apr 29, 2019, 1:45:26 PM (7 years ago)
Author:
Simon Fraser
Message:

REGRESSION (r238090): animation on https://www.robotodyssey.online gets stuck; site broken
https://bugs.webkit.org/show_bug.cgi?id=197381
Source/WebCore:

Reviewed by Zalan Bujtas.

When -webkit-clip-path changes on a composited layer, we need to trigger a backing geometry update
to push the changes to GraphicsLayers.

Test: compositing/style-change/clip-path-change.html

  • rendering/RenderLayerCompositor.cpp:

(WebCore::recompositeChangeRequiresGeometryUpdate):

LayoutTests:

<rdar://problem/50308128>

Reviewed by Zalan Bujtas.

  • compositing/style-change/clip-path-change-expected.html: Added.
  • compositing/style-change/clip-path-change.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r244749 r244752  
     12019-04-29  Javier Fernandez  <jfernandez@igalia.com>
     2
     3        line should not be broken before the first space after a word
     4        https://bugs.webkit.org/show_bug.cgi?id=197278
     5
     6        Reviewed by Myles C. Maxfield.
     7
     8        Added a few Skip (due to unimplemented features) and Failure (break-all related
     9        issues) entries for some of the tests added by this patch.
     10
     11        * TestExpectations:
     12
    1132019-04-29  Youenn Fablet  <youenn@apple.com>
    214
     
    1628        * resources/testharnessreport.js:
    1729
    18 2019-04-29  Javier Fernandez  <jfernandez@igalia.com>
    19 
    20         line should not be broken before the first space after a word
    21         https://bugs.webkit.org/show_bug.cgi?id=197278
    22 
    23         Reviewed by Myles C. Maxfield.
    24 
    25         Added a few Skip (due to unimplemented features) and Failure (break-all related
    26         issues) entries for some of the tests added by this patch.
    27 
    28         * TestExpectations:
     302019-04-29  Simon Fraser  <simon.fraser@apple.com>
     31
     32        REGRESSION (r238090): animation on https://www.robotodyssey.online gets stuck; site broken
     33        https://bugs.webkit.org/show_bug.cgi?id=197381
     34        <rdar://problem/50308128>
     35
     36        Reviewed by Zalan Bujtas.
     37
     38        * compositing/style-change/clip-path-change-expected.html: Added.
     39        * compositing/style-change/clip-path-change.html: Added.
    2940
    30412019-04-29  Youenn Fablet  <youenn@apple.com>
  • trunk/Source/WebCore/ChangeLog

    r244749 r244752  
    7373        (WebCore::BreakingContext::handleText):
    7474        (WebCore::BreakingContext::trailingSpacesHang):
     75
     762019-04-29  Simon Fraser  <simon.fraser@apple.com>
     77
     78        REGRESSION (r238090): animation on https://www.robotodyssey.online gets stuck; site broken
     79        https://bugs.webkit.org/show_bug.cgi?id=197381
     80
     81        Reviewed by Zalan Bujtas.
     82
     83        When -webkit-clip-path changes on a composited layer, we need to trigger a backing geometry update
     84        to push the changes to GraphicsLayers.
     85
     86        Test: compositing/style-change/clip-path-change.html
     87
     88        * rendering/RenderLayerCompositor.cpp:
     89        (WebCore::recompositeChangeRequiresGeometryUpdate):
    7590
    76912019-04-29  Chris Dumez  <cdumez@apple.com>
  • trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp

    r244722 r244752  
    14351435        || oldStyle.perspectiveOriginX() != newStyle.perspectiveOriginX()
    14361436        || oldStyle.perspectiveOriginY() != newStyle.perspectiveOriginY()
    1437         || oldStyle.backfaceVisibility() != newStyle.backfaceVisibility();
     1437        || oldStyle.backfaceVisibility() != newStyle.backfaceVisibility()
     1438        || !arePointingToEqualData(oldStyle.clipPath(), newStyle.clipPath());
    14381439}
    14391440
Note: See TracChangeset for help on using the changeset viewer.