Changeset 167993 in webkit


Ignore:
Timestamp:
Apr 30, 2014 1:54:39 AM (10 years ago)
Author:
Manuel Rego Casasnovas
Message:

[CSS Grid Layout] Enable runtime feature by default
https://bugs.webkit.org/show_bug.cgi?id=132189

Reviewed by Benjamin Poulain.

Source/WebCore:

  • page/Settings.in: Set cssGridLayoutEnabled to true.

Source/WebKit/mac:

  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]): Remove unneeded changes that
enable/disable the runtime feature depending on the compilation flag.
And set it to true by default.

Source/WebKit2:

  • Shared/WebPreferencesStore.h: Remove unneeded changes that

enable/disable the runtime feature depending on the compilation flag.
And set it to true by default.

  • UIProcess/gtk/ExperimentalFeatures.cpp: Set it to true by default.
Location:
trunk/Source
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167988 r167993  
     12014-04-30  Manuel Rego Casasnovas  <rego@igalia.com>
     2
     3        [CSS Grid Layout] Enable runtime feature by default
     4        https://bugs.webkit.org/show_bug.cgi?id=132189
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * page/Settings.in: Set cssGridLayoutEnabled to true.
     9
    1102014-04-30  Manuel Rego Casasnovas  <rego@igalia.com>
    211
  • trunk/Source/WebCore/page/Settings.in

    r167969 r167993  
    8686acceleratedFiltersEnabled initial=false
    8787regionBasedColumnsEnabled initial=false
    88 cssGridLayoutEnabled initial=false
     88cssGridLayoutEnabled initial=true
    8989useLegacyTextAlignPositionedElementBehavior initial=false
    9090
  • trunk/Source/WebKit/mac/ChangeLog

    r167958 r167993  
     12014-04-30  Manuel Rego Casasnovas  <rego@igalia.com>
     2
     3        [CSS Grid Layout] Enable runtime feature by default
     4        https://bugs.webkit.org/show_bug.cgi?id=132189
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * WebView/WebPreferences.mm:
     9        (+[WebPreferences initialize]): Remove unneeded changes that
     10        enable/disable the runtime feature depending on the compilation flag.
     11        And set it to true by default.
     12
    1132014-04-29  Filip Pizlo  <fpizlo@apple.com>
    214
  • trunk/Source/WebKit/mac/WebView/WebPreferences.mm

    r167786 r167993  
    483483        [NSNumber numberWithBool:YES], WebKitCSSRegionsEnabledPreferenceKey,
    484484        [NSNumber numberWithBool:YES], WebKitCSSCompositingEnabledPreferenceKey,
    485 #if ENABLE(CSS_GRID_LAYOUT)
    486485        [NSNumber numberWithBool:YES],  WebKitCSSGridLayoutEnabledPreferenceKey,
    487 #else
    488         [NSNumber numberWithBool:NO],  WebKitCSSGridLayoutEnabledPreferenceKey,
    489 #endif
    490486#if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
    491487        [NSNumber numberWithBool:YES],  WebKitAcceleratedDrawingEnabledPreferenceKey,
  • trunk/Source/WebKit2/ChangeLog

    r167985 r167993  
     12014-04-30  Manuel Rego Casasnovas  <rego@igalia.com>
     2
     3        [CSS Grid Layout] Enable runtime feature by default
     4        https://bugs.webkit.org/show_bug.cgi?id=132189
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * Shared/WebPreferencesStore.h: Remove unneeded changes that
     9        enable/disable the runtime feature depending on the compilation flag.
     10        And set it to true by default.
     11        * UIProcess/gtk/ExperimentalFeatures.cpp: Set it to true by default.
     12
    1132014-04-30  Roger Fong  <roger_fong@apple.com>
    214
  • trunk/Source/WebKit2/Shared/WebPreferencesStore.h

    r167896 r167993  
    9999#else
    100100#define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING true
    101 #endif
    102 
    103 #if ENABLE(CSS_GRID_LAYOUT)
    104 #define DEFAULT_CSS_GRID_LAYOUT_ENABLED true
    105 #else
    106 #define DEFAULT_CSS_GRID_LAYOUT_ENABLED false
    107101#endif
    108102
     
    140134    macro(CSSRegionsEnabled, cssRegionsEnabled, Bool, bool, true) \
    141135    macro(CSSCompositingEnabled, cssCompositingEnabled, Bool, bool, true) \
    142     macro(CSSGridLayoutEnabled, cssGridLayoutEnabled, Bool, bool, DEFAULT_CSS_GRID_LAYOUT_ENABLED) \
     136    macro(CSSGridLayoutEnabled, cssGridLayoutEnabled, Bool, bool, true) \
    143137    macro(RegionBasedColumnsEnabled, regionBasedColumnsEnabled, Bool, bool, false) \
    144138    macro(ForceFTPDirectoryListings, forceFTPDirectoryListings, Bool, bool, false) \
  • trunk/Source/WebKit2/UIProcess/gtk/ExperimentalFeatures.cpp

    r162215 r167993  
    4040
    4141static Setting settings[] = {
    42     { ExperimentalFeatures::CSSGridLayout, "CSS_GRID_LAYOUT", false },
     42    { ExperimentalFeatures::CSSGridLayout, "CSS_GRID_LAYOUT", true },
    4343    { ExperimentalFeatures::RegionBasedColumns, "REGION_BASED_COLUMNS", false }
    4444};
Note: See TracChangeset for help on using the changeset viewer.