Changeset 272193 in webkit
- Timestamp:
- Feb 2, 2021 12:10:30 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r272125 r272193 1 2021-02-02 Rob Buis <rbuis@igalia.com> 2 3 Support aspect-ratio on <body> in quirks mode 4 https://bugs.webkit.org/show_bug.cgi?id=219489 5 6 Reviewed by Simon Fraser. 7 8 Update test expectation. 9 10 * web-platform-tests/css/css-sizing/aspect-ratio/quirks-mode-001-expected.txt: 11 1 12 2021-01-31 Sam Weinig <weinig@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/quirks-mode-001-expected.txt
r269241 r272193 1 1 2 FAIL body height is 100 assert_equals: expected 100 but got 584 2 PASS body height is 100 3 3 -
trunk/Source/WebCore/ChangeLog
r272190 r272193 1 2021-02-02 Rob Buis <rbuis@igalia.com> 2 3 Support aspect-ratio on <body> in quirks mode 4 https://bugs.webkit.org/show_bug.cgi?id=219489 5 6 Reviewed by Simon Fraser. 7 8 If the logical height is auto, the actual computed height could still be 9 non-auto because of aspect-ratio, so add a check for that case. 10 11 Test: imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/quirks-mode-001.html 12 13 * rendering/RenderBox.h: 14 (WebCore::RenderBox::stretchesToViewport const): 15 1 16 2021-02-01 Peng Liu <peng.liu6@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderBox.h
r271934 r272193 422 422 bool stretchesToViewport() const 423 423 { 424 return document().inQuirksMode() && style().logicalHeight().isAuto() && !isFloatingOrOutOfFlowPositioned() && (isDocumentElementRenderer() || isBody()) && ! isInline();424 return document().inQuirksMode() && style().logicalHeight().isAuto() && !isFloatingOrOutOfFlowPositioned() && (isDocumentElementRenderer() || isBody()) && !shouldComputeLogicalHeightFromAspectRatio() && !isInline(); 425 425 } 426 426
Note: See TracChangeset
for help on using the changeset viewer.