Bug 797022: Turn on MOZ_FLEXBOX build flag to enable CSS3 flexbox in builds. r=bz

This commit is contained in:
Daniel Holbert 2012-10-03 19:08:43 -07:00
parent 0f429a7021
commit e3a3eec59c
3 changed files with 3 additions and 9 deletions

View File

@ -4206,7 +4206,7 @@ ENABLE_SYSTEM_EXTENSION_DIRS=1
MOZ_BRANDING_DIRECTORY=
MOZ_OFFICIAL_BRANDING=
MOZ_FEEDS=1
MOZ_FLEXBOX=
MOZ_FLEXBOX=1
MOZ_WEBAPP_RUNTIME=
MOZ_JSDEBUGGER=1
MOZ_AUTH_EXTENSION=1

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Style
*/
[builtinclass, scriptable, uuid(243898eb-0e13-416d-9a2e-33af084985ed)]
[builtinclass, scriptable, uuid(2ae61565-1a66-4e6e-960d-b999c631e5c6)]
interface nsIDOMCSS2Properties : nsISupports
{
attribute DOMString background;
@ -803,10 +803,6 @@ interface nsIDOMCSS2Properties : nsISupports
attribute DOMString MozBorderImage;
// raises(DOMException) on setting
/* XXXdholbert NOTE: Flexbox properties are commented out here, until our
layout engine responds to them. In builds with MOZ_FLEXBOX enabled, this
block should be uncommented (and this interface's uuid should be revved).
(This would be #ifdef MOZ_FLEXBOX, if that worked in IDL files.)
attribute DOMString MozAlignItems;
// raises(DOMException) on setting
@ -833,5 +829,4 @@ interface nsIDOMCSS2Properties : nsISupports
attribute DOMString MozJustifyContent;
// raises(DOMException) on setting
*/
};

View File

@ -142,8 +142,7 @@ skip-if(Android||B2G) include first-letter/reftest.list
include first-line/reftest.list
# flexbox (display: flex, display: inline-flex)
# XXXdholbert Uncomment if MOZ_FLEXBOX is enabled:
# include flexbox/reftest.list
include flexbox/reftest.list
# floats/
include floats/reftest.list