Changeset 279640 in webkit
- Timestamp:
- Jul 7, 2021, 1:12:26 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r279639 r279640 1 2021-07-07 Chris Lord <clord@igalia.com> 2 3 [WPE] Fieldset elements can incorrectly get treated as opaque with async scrolling overflow areas enabled 4 https://bugs.webkit.org/show_bug.cgi?id=227679 5 6 Reviewed by Simon Fraser. 7 8 WPT fieldset-overflow test now passes with async overflow scrolling 9 enabled. 10 11 * platform/wpe/TestExpectations: 12 1 13 2021-07-06 Commit Queue <commit-queue@webkit.org> 2 14 -
trunk/LayoutTests/platform/wpe/TestExpectations
r279545 r279640 719 719 webkit.org/b/224596 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-vertical-rl-001.html [ ImageOnlyFailure ] 720 720 webkit.org/b/224596 imported/w3c/web-platform-tests/css/css-position/hypothetical-box-scroll-parent.html [ ImageOnlyFailure ] 721 webkit.org/b/22 4596 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-overflow.html [ ImageOnlyFailure ]721 webkit.org/b/227061 imported/w3c/web-platform-tests/css/css-ui/outline-negative-offset-composited-scroll.html [ ImageOnlyFailure ] 722 722 723 723 # These tests are passing most of the times since r275515. -
trunk/Source/WebCore/ChangeLog
r279639 r279640 1 2021-07-07 Chris Lord <clord@igalia.com> 2 3 [WPE] Fieldset elements can incorrectly get treated as opaque with async scrolling overflow areas enabled 4 https://bugs.webkit.org/show_bug.cgi?id=227679 5 6 Reviewed by Simon Fraser. 7 8 Don't treat fieldset elements as opaque as their background shape is 9 determined by its children and can be non-rectangular. 10 11 No new tests, covered by existing tests. 12 13 * rendering/RenderLayer.cpp: 14 (WebCore::RenderLayer::backgroundIsKnownToBeOpaqueInRect const): 15 1 16 2021-07-06 Commit Queue <commit-queue@webkit.org> 2 17 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r279544 r279640 5032 5032 return false; 5033 5033 5034 // A fieldset with a legend will have an irregular shape, so can't be treated as opaque. 5035 if (renderer().isFieldset()) 5036 return false; 5037 5034 5038 // FIXME: We currently only check the immediate renderer, 5035 5039 // which will miss many cases.
Note:
See TracChangeset
for help on using the changeset viewer.