Bug 1419695: Hide multiple -moz-window-* properties from content. r=xidorn

MozReview-Commit-ID: Jsqt3kqjPiq
This commit is contained in:
Emilio Cobos Álvarez 2018-06-01 16:36:54 +02:00
parent 552c62240b
commit 7e9ae6f96f
3 changed files with 17 additions and 17 deletions

View File

@ -58,9 +58,6 @@ def is_internal(prop):
OTHER_INTERNALS = [
"-moz-context-properties",
"-moz-control-character-visibility",
"-moz-window-opacity",
"-moz-window-transform",
"-moz-window-transform-origin",
]
return prop.name in OTHER_INTERNALS

View File

@ -9,11 +9,9 @@ const NON_CONTENT_ACCESSIBLE_PROPERTIES = [
"-x-lang",
"-x-text-zoom",
"-moz-window-shadow",
// FIXME(bug 1419695): These should be hidden, but Gecko would refuse to
// transition them. We need to fix that.
// "-moz-window-opacity",
// "-moz-window-transform",
// "-moz-window-transform-origin",
"-moz-window-opacity",
"-moz-window-transform",
"-moz-window-transform-origin",
"-moz-top-layer",
"-moz-script-size-multiplier",
"-moz-script-level",

View File

@ -41,13 +41,17 @@ ${helpers.single_keyword("-moz-window-shadow", "none default menu tooltip sheet"
enabled_in="chrome",
spec="None (Nonstandard internal property)")}
// TODO(bug 1419695) This should be hidden from content.
${helpers.predefined_type("-moz-window-opacity", "Opacity", "1.0", products="gecko",
${helpers.predefined_type(
"-moz-window-opacity",
"Opacity",
"1.0",
products="gecko",
gecko_ffi_name="mWindowOpacity",
animation_value_type="ComputedValue",
spec="None (Nonstandard internal property)")}
spec="None (Nonstandard internal property)",
enabled_in="chrome",
)}
// TODO(bug 1419695) This should be hidden from content.
${helpers.predefined_type(
"-moz-window-transform",
"Transform",
@ -56,10 +60,10 @@ ${helpers.predefined_type(
gecko_ffi_name="mSpecifiedWindowTransform",
flags="GETCS_NEEDS_LAYOUT_FLUSH",
animation_value_type="ComputedValue",
spec="None (Nonstandard internal property)"
spec="None (Nonstandard internal property)",
enabled_in="chrome",
)}
// TODO(bug 1419695) This should be hidden from content.
${helpers.predefined_type(
"-moz-window-transform-origin",
"TransformOrigin",
@ -69,7 +73,8 @@ ${helpers.predefined_type(
products="gecko",
boxed=True,
flags="GETCS_NEEDS_LAYOUT_FLUSH",
spec="None (Nonstandard internal property)"
spec="None (Nonstandard internal property)",
enabled_in="chrome",
)}
// TODO(emilio): Probably also should be hidden from content.