Bug 1102374 - Enable display:contents by default in non-release builds. r=dbaron

This commit is contained in:
Mats Palmgren 2014-12-01 15:55:16 +00:00
parent 9cafdfe447
commit 4bf45e60bd
3 changed files with 6 additions and 1 deletions

View File

@ -166,7 +166,7 @@ function do_test() {
"-moz-grid", "-moz-inline-grid", "-moz-grid-group", "-moz-grid-line", "-moz-stack", "-moz-inline-stack",
"-moz-deck", "-moz-popup", "-moz-groupbox", "flex", "inline-flex", "grid",
"inline-grid", "ruby", "ruby-base", "ruby-base-container", "ruby-text",
"ruby-text-container" ];
"ruby-text-container", "contents" ];
ok(testValues(values, expected), "property display's values.");
// test property

View File

@ -56,6 +56,7 @@ var mapping = {
"inline-flex": "flex",
"inline-table": "table",
"block": "block",
"contents": "contents",
// Note: this is sometimes block
"list-item": "list-item"
};

View File

@ -2159,7 +2159,11 @@ pref("layout.css.grid.enabled", false);
pref("layout.css.ruby.enabled", false);
// Is support for CSS display:contents enabled?
#ifdef RELEASE_BUILD
pref("layout.css.display-contents.enabled", false);
#else
pref("layout.css.display-contents.enabled", true);
#endif
// Is support for CSS box-decoration-break enabled?
pref("layout.css.box-decoration-break.enabled", true);