Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[GTK][WK1] Enable CSS Regions if feature flag is set to TRUE
https://bugs.webkit.org/show_bug.cgi?id=123739

Reviewed by Martin Robinson.

In WK1 CSS Regions were always disabled even if you set the feature flag
ENABLE_CSS_REGIONS to TRUE. Enabling CSS Regions support in that case.

* webkit/webkitwebview.cpp:
(webkit_web_view_update_settings): Enable CSS Regions if feautre flag is
set to TRUE.


Canonical link: https://commits.webkit.org/141932@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mrego committed Nov 4, 2013
1 parent 8b86351 commit 898365c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Source/WebKit/gtk/ChangeLog
@@ -1,3 +1,17 @@
2013-11-04 Manuel Rego Casasnovas <rego@igalia.com>

[GTK][WK1] Enable CSS Regions if feature flag is set to TRUE
https://bugs.webkit.org/show_bug.cgi?id=123739

Reviewed by Martin Robinson.

In WK1 CSS Regions were always disabled even if you set the feature flag
ENABLE_CSS_REGIONS to TRUE. Enabling CSS Regions support in that case.

* webkit/webkitwebview.cpp:
(webkit_web_view_update_settings): Enable CSS Regions if feautre flag is
set to TRUE.

2013-10-29 Carlos Garcia Campos <cgarcia@igalia.com>

Unreviewed. Update NEWS and Versions.m4 for 2.3.1 release.
Expand Down
4 changes: 4 additions & 0 deletions Source/WebKit/gtk/webkit/webkitwebview.cpp
Expand Up @@ -3608,6 +3608,10 @@ static void webkit_web_view_update_settings(WebKitWebView* webView)
coreSettings.setCSSCustomFilterEnabled(settingsPrivate->enableCSSShaders);
#endif

#if ENABLE(CSS_REGIONS)
WebCore::RuntimeEnabledFeatures::sharedFeatures().setCSSRegionsEnabled(true);
#endif

// Use mock scrollbars if in DumpRenderTree mode (i.e. testing layout tests).
coreSettings.setMockScrollbarsEnabled(DumpRenderTreeSupportGtk::dumpRenderTreeModeEnabled());

Expand Down

0 comments on commit 898365c

Please sign in to comment.