haikuwebkit/LayoutTests/fast/inline/simple-line-layout-16bit-co...

22 lines
484 B
HTML
Raw Permalink Normal View History

Show legacy line layout visual coverage instead of "simple line" layout. https://bugs.webkit.org/show_bug.cgi?id=218695 Reviewed by Antti Koivisto. Source/WebCore: Paint legacy line layout content with the debug shadow instead of the modern one (and use red instead of blue). * layout/integration/LayoutIntegrationLineLayout.cpp: (WebCore::LayoutIntegration::LineLayout::paint): (WebCore::LayoutIntegration::LineLayout::debugTextShadow): Deleted. * layout/integration/LayoutIntegrationLineLayout.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintMarkedTextForeground): (WebCore::InlineTextBox::debugTextShadow): * rendering/InlineTextBox.h: Source/WebKit: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetLegacyLineLayoutVisualCoverageEnabled): (WKPreferencesGetLegacyLineLayoutVisualCoverageEnabled): (WKPreferencesSetSimpleLineLayoutDebugBordersEnabled): Deleted. (WKPreferencesGetSimpleLineLayoutDebugBordersEnabled): Deleted. * UIProcess/API/C/WKPreferencesRefPrivate.h: * UIProcess/API/Cocoa/WKPreferences.mm: (-[WKPreferences _legacyLineLayoutVisualCoverageEnabled]): (-[WKPreferences _setLegacyLineLayoutVisualCoverageEnabled:]): (-[WKPreferences _simpleLineLayoutDebugBordersEnabled]): Deleted. (-[WKPreferences _setSimpleLineLayoutDebugBordersEnabled:]): Deleted. * UIProcess/API/Cocoa/WKPreferencesPrivate.h: Source/WebKitLegacy/mac: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences legacyLineLayoutVisualCoverageEnabled]): (-[WebPreferences setLegacyLineLayoutVisualCoverageEnabled:]): (-[WebPreferences simpleLineLayoutDebugBordersEnabled]): Deleted. (-[WebPreferences setSimpleLineLayoutDebugBordersEnabled:]): Deleted. * WebView/WebPreferencesPrivate.h: Source/WTF: * Scripts/Preferences/WebPreferencesDebug.yaml: Tools: * MiniBrowser/mac/SettingsController.h: * MiniBrowser/mac/SettingsController.m: (-[SettingsController _populateMenu]): (-[SettingsController validateMenuItem:]): (-[SettingsController toggleLegacyLineLayoutVisualCoverageEnabled:]): (-[SettingsController legacyLineLayoutVisualCoverageEnabled]): (-[SettingsController toggleSimpleLineLayoutDebugBordersEnabled:]): Deleted. (-[SettingsController simpleLineLayoutDebugBordersEnabled]): Deleted. * MiniBrowser/mac/WK1BrowserWindowController.m: (-[WK1BrowserWindowController didChangeSettings]): * MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController didChangeSettings]): LayoutTests: * fast/inline/simple-line-layout-16bit-content-expected-mismatch.html: Removed. * fast/inline/simple-line-layout-16bit-content.html: * fast/text/simple-line-layout-do-not-support-unicode-range-expected.html: * fast/text/simple-line-layout-do-not-support-unicode-range.html: * fast/text/simple-line-layout-line-box-contain-glyphs-expected.html: * fast/text/simple-line-layout-line-box-contain-glyphs.html: * fast/text/simple-line-layout-no-surrogate-pairs-expected.html: * fast/text/simple-line-layout-no-surrogate-pairs.html: * fast/text/simple-line-layout-simple-text-but-complex-font-path-expected.html: * fast/text/simple-line-layout-simple-text-but-complex-font-path.html: * fast/text/simple-line-layout-with-text-underline-position-expected.html: * fast/text/simple-line-layout-with-text-underline-position.html: * fast/text/simple-lines-float-expected.html: * fast/text/simple-lines-float.html: * fast/text/simple-lines-hover-expected.html: * fast/text/simple-lines-hover.html: * fast/text/simple-lines-multiple-renderers-expected.html: * fast/text/simple-lines-multiple-renderers.html: Canonical link: https://commits.webkit.org/231505@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-12 10:50:44 +00:00
<!doctype html>
<html>
<head>
<title>This tests that we use simple line layout to layout/render 16bit content.</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<style>
div {
color: transparent;
}
</style>
<script>
if (window.internals) {
internals.settings.setLegacyLineLayoutVisualCoverageEnabled(false);
internals.settings.setSimpleLineLayoutEnabled(false);
}
</script>
</head>
<body>
<div>uüúoöóőaáeé</div>
</body>
</html>