mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Bug 1102374 - Enable display:contents by default in non-release builds. r=dbaron
This commit is contained in:
parent
9cafdfe447
commit
4bf45e60bd
@ -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
|
||||
|
@ -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"
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user