Add experimental code to use custom font dilation when rendering into non-opaque...
[WebKit-https.git] / Source / WebCore / page / Settings.in
1 # FIXME: Add support for global settings.
2 # FIXME: Add support for custom getters/setters.
3
4 defaultTextEncodingName type=String
5 ftpDirectoryTemplatePath type=String
6 localStorageDatabasePath type=String
7 editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior
8 textDirectionSubmenuInclusionBehavior type=TextDirectionSubmenuInclusionBehavior, initial=TextDirectionSubmenuAutomaticallyIncluded
9 passwordEchoDurationInSeconds type=double, initial=1
10
11 # Sets the magnification value for validation message timer.  If the
12 # magnification value is N, a validation message disappears automatically after
13 # <message length> * N / 1000 seconds.  If N is equal to or less than 0, a
14 # validation message doesn't disappears automaticaly.
15 validationMessageTimerMagnification type=int, initial=50
16
17 # Number of pixels below which 2D canvas is rendered in software
18 # even if hardware acceleration is enabled.
19 # Hardware acceleration is useful for large canvases where it can avoid the
20 # pixel bandwidth between the CPU and GPU. But GPU acceleration comes at
21 # a price - extra back-buffer and texture copy. Small canvases are also
22 # widely used for stylized fonts. Anti-aliasing text in hardware at that
23 # scale is generally slower. So below a certain size it is better to
24 # draw canvas in software.
25 minimumAccelerated2dCanvasSize type=int, initial=257*256
26
27 layoutFallbackWidth type=int, initial=980
28 deviceWidth type=int, initial=0
29 deviceHeight type=int, initial=0
30
31 # Allow clients concerned with memory consumption to set a quota on session storage
32 # since the memory used won't be released until the Page is destroyed.
33 sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
34
35 minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
36 minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
37 defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
38 defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
39
40 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
41 maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth
42
43 # This setting only affects site icon image loading if loadsImagesAutomatically setting is false and this setting is true.
44 # All other permutations still heed loadsImagesAutomatically setting.
45 loadsSiteIconsIgnoringImageLoadingSetting initial=false
46
47 caretBrowsingEnabled initial=false
48 preventKeyboardDOMEventDispatch initial=false
49 localStorageEnabled initial=false
50 allowUniversalAccessFromFileURLs initial=true
51 allowFileAccessFromFileURLs initial=true
52 javaScriptCanOpenWindowsAutomatically initial=false
53 javaScriptCanAccessClipboard initial=false
54 shouldPrintBackgrounds initial=false
55 usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
56
57 textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
58 authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
59 acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
60 acceleratedCompositedAnimationsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
61 showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
62 showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
63 visibleDebugOverlayRegions type=DebugOverlayRegions, initial=0
64
65 # This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
66 # making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
67 # and getting keypress dispatched in more cases.
68 needsKeyboardEventDisambiguationQuirks initial=false
69
70 treatsAnyTextCSSLinkAsStylesheet initial=false
71 shrinksStandaloneImagesToFit initial=true
72 pageCacheSupportsPlugins initial=false
73 showsURLsInToolTips initial=false
74 showsToolTipOverTruncatedText initial=false
75 forceFTPDirectoryListings initial=false
76 developerExtrasEnabled initial=false
77 scriptMarkupEnabled initial=true
78 needsSiteSpecificQuirks initial=false
79 domTimersThrottlingEnabled initial=true
80 webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
81 localFileContentSniffingEnabled initial=false
82 offlineWebApplicationCacheEnabled initial=false
83 enforceCSSMIMETypeInNoQuirksMode initial=true
84 usesEncodingDetector initial=false
85 allowScriptsToCloseWindows initial=false
86 canvasUsesAcceleratedDrawing initial=false
87 acceleratedDrawingEnabled initial=false
88 acceleratedFiltersEnabled initial=false
89 useLegacyTextAlignPositionedElementBehavior initial=false
90 javaScriptRuntimeFlags type=JSC::RuntimeFlags
91
92 # FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files
93 # they can't use by. Leaving enabled for now to not change existing behavior.
94 downloadableBinaryFontsEnabled initial=true
95
96 xssAuditorEnabled initial=false
97 unsafePluginPastingEnabled initial=true
98 acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
99 acceleratedCompositingForOverflowScrollEnabled initial=false
100 rubberBandingForSubScrollableRegionsEnabled initial=true, conditional=RUBBER_BANDING
101
102 experimentalNotificationsEnabled initial=false
103 webGLEnabled initial=false
104 webGLErrorsToConsoleEnabled initial=true
105 openGLMultisamplingEnabled initial=true
106 privilegedWebGLExtensionsEnabled initial=false
107 forceSoftwareWebGLRendering initial=false
108 accelerated2dCanvasEnabled initial=false
109 antialiased2dCanvasEnabled initial=true
110 loadDeferringEnabled initial=true
111 webAudioEnabled initial=false
112 paginateDuringLayoutEnabled initial=false
113 fullScreenEnabled initial=false, conditional=FULLSCREEN_API
114 asynchronousSpellCheckingEnabled initial=false
115 mediaStreamEnabled initial=false
116
117 # This feature requires an implementation of ValidationMessageClient.
118 interactiveFormValidationEnabled initial=false
119
120 usePreHTML5ParserQuirks initial=false
121 hyperlinkAuditingEnabled initial=false
122 crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
123 forceCompositingMode initial=false
124 shouldInjectUserScriptsInInitialEmptyDocument initial=false
125 fixedElementsLayoutRelativeToFrame initial=false
126 allowDisplayOfInsecureContent initial=false
127 allowRunningOfInsecureContent initial=false
128 mediaPlaybackRequiresUserGesture initial=defaultMediaPlaybackRequiresUserGesture
129 mediaPlaybackAllowsInline initial=defaultMediaPlaybackAllowsInline
130 allowsAlternateFullscreen initial=defaultAllowsAlternateFullscreen
131 passwordEchoEnabled initial=false
132 suppressesIncrementalRendering initial=false
133 incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
134 backspaceKeyNavigationEnabled initial=true
135 shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
136 shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
137 shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
138 scrollingCoordinatorEnabled initial=false
139 scrollingTreeIncludesFrames initial=defaultScrollingTreeIncludesFrames
140 scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
141 forceUpdateScrollbarsOnMainThreadForPerformanceTesting initial=false
142 notificationsEnabled initial=true
143
144 # Some apps needs isLoadingInAPISense to account for active subresource loaders.
145 needsIsLoadingInAPISenseQuirk initial=false
146
147 shouldRespectImageOrientation initial=defaultShouldRespectImageOrientation
148 imageSubsamplingEnabled initial=defaultImageSubsamplingEnabled
149 wantsBalancedSetDefersLoadingBehavior initial=false
150 requestAnimationFrameEnabled initial=true
151
152 fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
153 syncXHRInDocumentsEnabled initial=true
154 cookieEnabled initial=true
155 mediaEnabled initial=true
156 DOMPasteAllowed initial=false
157
158 # When enabled, window.blur() does not change focus, and
159 # window.focus() only changes focus when invoked from the context that
160 # created the window.
161 windowFocusRestricted initial=true
162
163 diagnosticLoggingEnabled initial=false
164 applyDeviceScaleFactorInCompositor initial=true
165 delegatesPageScaling initial=false
166 plugInSnapshottingEnabled initial=false
167 snapshotAllPlugIns initial=false
168 autostartOriginPlugInSnapshottingEnabled initial=true
169 primaryPlugInSnapshotDetectionEnabled initial=true
170 maximumPlugInSnapshotAttempts type=unsigned, initial=20
171 frameFlatteningEnabled initial=false
172
173 allowCustomScrollbarInMainFrame initial=true
174 webSecurityEnabled initial=true
175 spatialNavigationEnabled initial=false
176
177 autoscrollForDragAndDropEnabled initial=false
178
179 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
180
181 logsPageMessagesToSystemConsoleEnabled initial=false
182
183 backForwardCacheExpirationInterval type=double, initial=1800
184
185 # Some apps could have a default video poster if it is not set.
186 defaultVideoPosterURL type=String
187
188 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
189 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
190
191 selectionIncludesAltImageText initial=true
192 useLegacyBackgroundSizeShorthandBehavior initial=false
193 fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
194
195 minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
196
197 simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
198 simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
199
200 subpixelCSSOMElementMetricsEnabled initial=false
201
202 mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE
203
204 # FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
205 allowMultiElementImplicitSubmission initial=false
206
207 mediaPlaybackAllowsAirPlay initial=true, conditional=WIRELESS_PLAYBACK_TARGET
208
209 shouldConvertPositionStyleOnCopy initial=false
210
211 maxParseDuration type=double, initial=-1
212 standalone initial=false
213 telephoneNumberParsingEnabled initial=false
214 mediaDataLoadsAutomatically initial=false
215 shouldTransformsAffectOverflow initial=true
216 shouldDispatchJavaScriptWindowOnErrorEvents initial=false
217 alwaysUseAcceleratedOverflowScroll initial=false
218 imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS
219
220 enableInheritURIQueryComponent initial=false
221
222 aggressiveTileRetentionEnabled initial=false
223 temporaryTileCohortRetentionEnabled initial=true
224
225 useImageDocumentForSubframePDF initial=false
226
227 # Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes
228 # of 1080p video and stereo audio.
229 maximumSourceBufferSize type=int, initial=318767104, conditional=MEDIA_SOURCE
230
231 longMousePressEnabled initial=false
232
233 serviceControlsEnabled initial=false, conditional=SERVICE_CONTROLS
234
235 ignoreViewportScalingConstraints initial=false
236
237 appleMailPaginationQuirkEnabled initial=false
238
239 attachmentElementEnabled initial=true, conditional=ATTACHMENT_ELEMENT
240
241 newBlockInsideInlineModelEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
242