Changeset 285918 in webkit
- Timestamp:
- Nov 16, 2021, 11:54:59 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r285917 r285918 1 2021-11-16 Rob Buis <rbuis@igalia.com> 2 3 Re-add 'style' to contain:strict and contain:content CSS properties 4 https://bugs.webkit.org/show_bug.cgi?id=233193 5 6 Reviewed by Brent Fulgham. 7 8 * TestExpectations: 9 1 10 2021-11-16 Simon Fraser <simon.fraser@apple.com> 2 11 -
trunk/LayoutTests/TestExpectations
r285885 r285918 4797 4797 imported/w3c/web-platform-tests/css/css-contain/contain-body-w-m-003.html [ ImageOnlyFailure ] 4798 4798 imported/w3c/web-platform-tests/css/css-contain/contain-body-w-m-004.html [ ImageOnlyFailure ] 4799 imported/w3c/web-platform-tests/css/css-contain/contain-content-011.html [ ImageOnlyFailure ]4800 4799 imported/w3c/web-platform-tests/css/css-contain/contain-html-bg-001.html [ ImageOnlyFailure ] 4801 4800 imported/w3c/web-platform-tests/css/css-contain/contain-html-bg-002.html [ ImageOnlyFailure ] -
trunk/LayoutTests/imported/w3c/ChangeLog
r285915 r285918 1 2021-11-16 Rob Buis <rbuis@igalia.com> 2 3 Re-add 'style' to contain:strict and contain:content CSS properties 4 https://bugs.webkit.org/show_bug.cgi?id=233193 5 6 Reviewed by Brent Fulgham. 7 8 Now contain-computed-expected.txt is all PASS. 9 10 * web-platform-tests/css/css-contain/parsing/contain-computed-expected.txt: 11 1 12 2021-11-16 Joonghun Park <jh718.park@samsung.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/parsing/contain-computed-expected.txt
r285803 r285918 9 9 PASS Property contain value 'size layout' 10 10 PASS Property contain value 'style paint' 11 FAIL Property contain value 'style layout paint' assert_equals: expected "content" but got "layout style paint" 12 FAIL Property contain value 'size style layout paint' assert_equals: expected "strict" but got "size layout style paint" 13 FAIL Property contain value 'size layout paint' assert_equals: expected "size layout paint" but got "strict" 14 FAIL Property contain value 'layout paint' assert_equals: expected "layout paint" but got "content" 11 PASS Property contain value 'style layout paint' 12 PASS Property contain value 'size style layout paint' 13 PASS Property contain value 'size layout paint' 14 PASS Property contain value 'layout paint' 15 15 -
trunk/Source/WebCore/ChangeLog
r285917 r285918 1 2021-11-16 Rob Buis <rbuis@igalia.com> 2 3 Re-add 'style' to contain:strict and contain:content CSS properties 4 https://bugs.webkit.org/show_bug.cgi?id=233193 5 6 Reviewed by Brent Fulgham. 7 8 After being removed for a while, style containment is part again of contain:strict and contain: content [1, 2]. 9 The change was done in chromium and Firefox has verbally agreed to make the change as well [3]. 10 11 [1] https://github.com/w3c/csswg-drafts/issues/6287#issuecomment-862525199 12 [2] https://github.com/w3c/csswg-drafts/commit/7948feb03a9aaceb3a8ee423b07c6e526024cdc2 13 [3] https://groups.google.com/a/chromium.org/g/blink-dev/c/oMVBKemrTDQ?pli=1 14 15 * rendering/style/RenderStyle.h: 16 (WebCore::RenderStyle::strictContainment): 17 (WebCore::RenderStyle::contentContainment): 18 1 19 2021-11-16 Simon Fraser <simon.fraser@apple.com> 2 20 -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r285904 r285918 1670 1670 static AspectRatioType initialAspectRatioType() { return AspectRatioType::Auto; } 1671 1671 static OptionSet<Containment> initialContainment() { return OptionSet<Containment> { }; } 1672 static OptionSet<Containment> strictContainment() { return OptionSet<Containment> { Containment::Size, Containment::Layout, Containment::Paint }; }1673 static OptionSet<Containment> contentContainment() { return OptionSet<Containment> { Containment::Layout, Containment::Paint }; }1672 static OptionSet<Containment> strictContainment() { return OptionSet<Containment> { Containment::Size, Containment::Layout, Containment::Paint, Containment::Style }; } 1673 static OptionSet<Containment> contentContainment() { return OptionSet<Containment> { Containment::Layout, Containment::Paint, Containment::Style }; } 1674 1674 static double initialAspectRatioWidth() { return 1.0; } 1675 1675 static double initialAspectRatioHeight() { return 1.0; }
Note:
See TracChangeset
for help on using the changeset viewer.