Changeset 289686 in webkit
- Timestamp:
- Feb 11, 2022 5:52:57 PM (5 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fullscreen/fullscreen-prevented-by-containment-expected.txt (added)
-
LayoutTests/fullscreen/fullscreen-prevented-by-containment.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/fullscreen.css (modified) (1 diff)
-
Source/WebCore/css/parser/CSSParserContext.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r289677 r289686 1 2022-02-11 Alan Bujtas <zalan@apple.com> 2 3 `contain:content` breaks fullscreen 4 https://bugs.webkit.org/show_bug.cgi?id=236470 5 <rdar://88689388> 6 7 Reviewed by Simon Fraser. 8 9 * fullscreen/fullscreen-prevented-by-containment-expected.txt: Added. 10 * fullscreen/fullscreen-prevented-by-containment.html: Added. 11 1 12 2022-02-11 Truitt Savell <tsavell@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r289682 r289686 1 2022-02-11 Alan Bujtas <zalan@apple.com> 2 3 `contain:content` breaks fullscreen 4 https://bugs.webkit.org/show_bug.cgi?id=236470 5 <rdar://88689388> 6 7 Reviewed by Simon Fraser. 8 9 Paint/layout containment forms a containing block for fixed positioned block boxes. It makes all fixed 10 positioned descendants anchored (contained) to this layout container. 11 This patch enables fullscreen boxes break out of this non-ICB based layout scope (this is similar to what we 12 do for other, "layout scope changing" properties, see canContainFixedPositionObjects). 13 14 Test: fullscreen/fullscreen-prevented-by-containment.html 15 16 * css/fullscreen.css: 17 (:-webkit-full-screen-ancestor:not(iframe)): 18 * css/parser/CSSParserContext.cpp: 19 (WebCore::CSSParserContext::CSSParserContext): 20 1 21 2022-02-11 Commit Queue <commit-queue@webkit.org> 2 22 -
trunk/Source/WebCore/css/fullscreen.css
r268849 r289686 49 49 -webkit-transform-style: flat !important; 50 50 overflow: visible !important; 51 contain: none !important; 51 52 } 52 53 -
trunk/Source/WebCore/css/parser/CSSParserContext.cpp
r288590 r289686 52 52 focusVisibleEnabled = true; 53 53 inputSecurityEnabled = true; 54 containmentEnabled = true; 54 55 #if ENABLE(CSS_TRANSFORM_STYLE_OPTIMIZED_3D) 55 56 transformStyleOptimized3DEnabled = true;
Note: See TracChangeset
for help on using the changeset viewer.