Bug 839812 - Add clip-path style for fullscreen override, which was probably originally intended ("SVG masking, clipping, or filtering"). r=dholbert

This commit is contained in:
L. David Baron 2014-08-25 15:32:03 -07:00
parent c8db8a728e
commit 3c904b79f3
2 changed files with 4 additions and 1 deletions

View File

@ -36,6 +36,7 @@ const gPropertyTestDecls = {
"opacity": "opacity: 0.8", "opacity": "opacity: 0.8",
"mask": "mask: url(#mymask)", "mask": "mask: url(#mymask)",
"clip": "clip: rect(0 0 0 0)", "clip": "clip: rect(0 0 0 0)",
"clipPath": "clip-path: url(#mypath)",
"filter": "filter: url(#myfilter)", "filter": "filter: url(#myfilter)",
"transform": "transform: translate(0)", "transform": "transform: translate(0)",
// XXXdholbert The "will-change" line in full-screen-override.css is only // XXXdholbert The "will-change" line in full-screen-override.css is only

View File

@ -16,9 +16,11 @@
filtering, since that would affect the full-screen element and create a pseudo- filtering, since that would affect the full-screen element and create a pseudo-
stacking context. */ stacking context. */
mask: initial !important; mask: initial !important;
clip: initial !important; clip-path: initial !important;
filter: initial !important; filter: initial !important;
clip: initial !important;
transform: initial !important; transform: initial !important;
/* FIXME: do we need to worry about 'overflow'? */
will-change: initial !important; will-change: initial !important;
} }