Changeset 283879 in webkit
- Timestamp:
- Oct 10, 2021, 3:24:10 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/getBoundingClientRect-shy-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (modified) (3 diffs)
-
Source/WebCore/layout/integration/LayoutIntegrationCoverage.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r283858 r283879 1 2021-10-10 Alan Bujtas <zalan@apple.com> 2 3 [IFC][Integration] Do not bail out on missing primary font 4 https://bugs.webkit.org/show_bug.cgi?id=231488 5 6 Reviewed by Antti Koivisto. 7 8 * web-platform-tests/css/cssom-view/getBoundingClientRect-shy-expected.txt: 9 1 10 2021-10-08 Aditya Keerthi <akeerthi@apple.com> 2 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/getBoundingClientRect-shy-expected.txt
r282341 r283879 15 15 FAIL Rendered soft-hyphen should have a width. assert_equals: expected 10 but got 15 16 16 PASS Collapsed soft-hyphen in a span should be 0 width. 17 FAIL Rendered soft-hyphen in a span should have a width. assert_equals: expected 10 but got 0 17 PASS Rendered soft-hyphen in a span should have a width. 18 18 -
trunk/Source/WebCore/ChangeLog
r283875 r283879 1 2021-10-10 Alan Bujtas <zalan@apple.com> 2 3 [IFC][Integration] Do not bail out on missing primary font 4 https://bugs.webkit.org/show_bug.cgi?id=231488 5 6 Reviewed by Antti Koivisto. 7 8 IFC has non-primary font support now. 9 10 * layout/integration/LayoutIntegrationCoverage.cpp: 11 (WebCore::LayoutIntegration::printReason): 12 (WebCore::LayoutIntegration::canUseForFontAndText): 13 * layout/integration/LayoutIntegrationCoverage.h: 14 1 15 2021-10-10 Alan Bujtas <zalan@apple.com> 2 16 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
r283875 r283879 153 153 stream << "direction character"; 154 154 break; 155 case AvoidanceReason::FlowIsMissingPrimaryFont:156 stream << "missing primary font";157 break;158 155 case AvoidanceReason::FlowTextIsCombineText: 159 156 stream << "text is combine"; … … 401 398 const auto& style = container.style(); 402 399 auto& fontCascade = style.fontCascade(); 403 if (fontCascade.primaryFont().isInterstitial())404 SET_REASON_AND_RETURN_IF_NEEDED(FlowIsMissingPrimaryFont, reasons, includeReasons);405 400 if (style.lineBoxContain().contains(LineBoxContain::Glyphs)) 406 401 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasLineBoxContainGlyphs, reasons, includeReasons); … … 423 418 WebCore::TextRun run(String(textRenderer.text())); 424 419 run.setCharacterScanForCodePath(false); 425 if ( style.fontCascade().codePath(run) != FontCascade::CodePath::Simple)420 if (fontCascade.codePath(run) != FontCascade::CodePath::Simple) 426 421 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasComplexFontCodePath, reasons, includeReasons); 427 422 } -
trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
r283550 r283879 72 72 FlowHasSVGFont = 1LLU << 31, 73 73 FlowTextHasDirectionCharacter = 1LLU << 32, 74 FlowIsMissingPrimaryFont= 1LLU << 33,74 // Unused = 1LLU << 33, 75 75 // Unused = 1LLU << 34, 76 76 FlowTextIsCombineText = 1LLU << 35,
Note:
See TracChangeset
for help on using the changeset viewer.