Some fixed position elements disappear in WK2 on iOS
[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 maximumDecodedImageSize type=size_t, initial=std::numeric_limits<size_t>::max()
29 deviceWidth type=int, initial=0
30 deviceHeight type=int, initial=0
31
32 # Allow clients concerned with memory consumption to set a quota on session storage
33 # since the memory used won't be released until the Page is destroyed.
34 sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
35
36 minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
37 minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
38 defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
39 defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
40
41 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
42 maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth
43
44 # This setting only affects site icon image loading if loadsImagesAutomatically setting is false and this setting is true.
45 # All other permutations still heed loadsImagesAutomatically setting.
46 loadsSiteIconsIgnoringImageLoadingSetting initial=false
47
48 caretBrowsingEnabled 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
64 # This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
65 # making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
66 # and getting keypress dispatched in more cases.
67 needsKeyboardEventDisambiguationQuirks initial=false
68
69 treatsAnyTextCSSLinkAsStylesheet initial=false
70 shrinksStandaloneImagesToFit initial=true
71 pageCacheSupportsPlugins initial=false
72 showsURLsInToolTips initial=false
73 showsToolTipOverTruncatedText initial=false
74 forceFTPDirectoryListings initial=false
75 developerExtrasEnabled initial=false
76 javaScriptExperimentsEnabled initial=false
77 scriptMarkupEnabled initial=true
78 needsSiteSpecificQuirks initial=false
79 webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
80 localFileContentSniffingEnabled initial=false
81 offlineWebApplicationCacheEnabled initial=false
82 enforceCSSMIMETypeInNoQuirksMode initial=true
83 usesEncodingDetector initial=false
84 allowScriptsToCloseWindows initial=false
85 canvasUsesAcceleratedDrawing initial=false
86 acceleratedDrawingEnabled initial=false
87 acceleratedFiltersEnabled initial=false
88 regionBasedColumnsEnabled initial=false
89 cssGridLayoutEnabled initial=false
90 useLegacyTextAlignPositionedElementBehavior initial=false
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
101 # Works only in conjunction with forceCompositingMode.
102 compositedScrollingForFramesEnabled initial=false
103
104 experimentalNotificationsEnabled initial=false
105 webGLEnabled initial=false
106 webGLErrorsToConsoleEnabled initial=true
107 openGLMultisamplingEnabled initial=true
108 multithreadedWebGLEnabled initial=false
109 privilegedWebGLExtensionsEnabled initial=false
110 forceSoftwareWebGLRendering initial=false
111 accelerated2dCanvasEnabled initial=false
112 antialiased2dCanvasEnabled initial=true
113 loadDeferringEnabled initial=true
114 webAudioEnabled initial=false
115 paginateDuringLayoutEnabled initial=false
116 fullScreenEnabled initial=false, conditional=FULLSCREEN_API
117 asynchronousSpellCheckingEnabled initial=false
118 mediaStreamEnabled initial=false
119
120 # This feature requires an implementation of ValidationMessageClient.
121 interactiveFormValidationEnabled initial=false
122
123 usePreHTML5ParserQuirks initial=false
124 hyperlinkAuditingEnabled initial=false
125 crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
126 forceCompositingMode initial=false
127 shouldInjectUserScriptsInInitialEmptyDocument initial=false
128 fixedElementsLayoutRelativeToFrame initial=false
129 allowDisplayOfInsecureContent initial=true
130 allowRunningOfInsecureContent initial=true
131 mediaPlaybackRequiresUserGesture initial=defaultMediaPlaybackRequiresUserGesture
132 mediaPlaybackAllowsInline initial=defaultMediaPlaybackAllowsInline
133 passwordEchoEnabled initial=false
134 suppressesIncrementalRendering initial=false
135 incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
136 backspaceKeyNavigationEnabled initial=true
137 shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
138 shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
139 shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
140 scrollingCoordinatorEnabled initial=false
141 scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
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 wantsBalancedSetDefersLoadingBehavior initial=false
149 requestAnimationFrameEnabled initial=true
150 deviceSupportsTouch initial=false
151 deviceSupportsMouse initial=true
152
153 fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
154 syncXHRInDocumentsEnabled initial=true
155 cookieEnabled initial=true
156 mediaEnabled initial=true
157 applicationChromeMode initial=false
158 DOMPasteAllowed initial=false
159
160 # When enabled, window.blur() does not change focus, and
161 # window.focus() only changes focus when invoked from the context that
162 # created the window.
163 windowFocusRestricted initial=true
164
165 diagnosticLoggingEnabled initial=false
166 applyDeviceScaleFactorInCompositor initial=true
167 delegatesPageScaling initial=false
168 plugInSnapshottingEnabled initial=false
169 snapshotAllPlugIns initial=false
170 autostartOriginPlugInSnapshottingEnabled initial=true
171 primaryPlugInSnapshotDetectionEnabled initial=true
172 maximumPlugInSnapshotAttempts type=unsigned, initial=20
173 frameFlatteningEnabled initial=false
174
175 allowCustomScrollbarInMainFrame initial=true
176 webSecurityEnabled initial=true
177 spatialNavigationEnabled initial=false
178
179 autoscrollForDragAndDropEnabled initial=false
180
181 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
182
183 logsPageMessagesToSystemConsoleEnabled initial=false
184
185 backForwardCacheExpirationInterval type=double, initial=1800
186
187 # Some apps could have a default video poster if it is not set.
188 defaultVideoPosterURL type=String
189
190 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
191 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
192
193 selectionIncludesAltImageText initial=true
194 useLegacyBackgroundSizeShorthandBehavior initial=false
195
196 minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
197
198 simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
199 simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
200
201 mediaSourceEnabled initial=false
202
203 # FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
204 allowMultiElementImplicitSubmission initial=false
205
206 mediaPlaybackAllowsAirPlay initial=true, conditional=IOS_AIRPLAY