Changeset 273314 in webkit
- Timestamp:
- Feb 23, 2021 9:50:31 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r273309 r273314 1 2021-02-23 Rob Buis <rbuis@igalia.com> 2 3 aspect-ratio shows in computed style when disabled 4 https://bugs.webkit.org/show_bug.cgi?id=222286 5 6 Reviewed by Simon Fraser. 7 8 Add test. 9 10 * fast/css/aspect-ratio-invalidate-if-disabled-expected.txt: Added. 11 * fast/css/aspect-ratio-invalidate-if-disabled.html: Added. 12 1 13 2021-02-23 Philippe Normand <pnormand@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r273311 r273314 1 2021-02-23 Rob Buis <rbuis@igalia.com> 2 3 aspect-ratio shows in computed style when disabled 4 https://bugs.webkit.org/show_bug.cgi?id=222286 5 6 Reviewed by Simon Fraser. 7 8 Make aspect-ratio invisible from style when disabled. 9 10 Test: fast/css/aspect-ratio-invalidate-if-disabled.html 11 12 * css/CSSComputedStyleDeclaration.cpp: 13 (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): 14 * css/CSSProperties.json: 15 1 16 2021-02-23 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 17 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r272998 r273314 3462 3462 return cssValuePool.createValue(style.appearance()); 3463 3463 case CSSPropertyAspectRatio: 3464 if (renderer && !renderer->settings().aspectRatioEnabled()) 3465 return nullptr; 3464 3466 switch (style.aspectRatioType()) { 3465 3467 case AspectRatioType::Auto: -
trunk/Source/WebCore/css/CSSProperties.json
r272987 r273314 4557 4557 "aspect-ratio": { 4558 4558 "codegen-properties": { 4559 "custom": "All" 4559 "custom": "All", 4560 "settings-flag": "aspectRatio" 4560 4561 }, 4561 4562 "status": { -
trunk/Tools/ChangeLog
r273308 r273314 1 2021-02-23 Rob Buis <rbuis@igalia.com> 2 3 aspect-ratio shows in computed style when disabled 4 https://bugs.webkit.org/show_bug.cgi?id=222286 5 6 Reviewed by Simon Fraser. 7 8 Add support for disabling aspect-ratio in wk1. 9 10 * DumpRenderTree/TestOptions.cpp: 11 (WTR::TestOptions::defaults): 12 1 13 2021-02-23 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Tools/DumpRenderTree/TestOptions.cpp
r270613 r273314 72 72 { "AllowUniversalAccessFromFileURLs", true }, 73 73 { "AspectRatioOfImgFromWidthAndHeightEnabled", false }, 74 { "AspectRatioEnabled", true }, 74 75 { "AsyncClipboardAPIEnabled", false }, 75 76 { "AttachmentElementEnabled", false },
Note: See TracChangeset
for help on using the changeset viewer.