mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1258623 - Correct mochitest r=dbaron
MozReview-Commit-ID: Iu8j2HlimwP --HG-- extra : rebase_source : e8a48c2722cbca33e8d5bdbaa99ab9c25256bc69
This commit is contained in:
parent
cddd3b562b
commit
c219b1530b
@ -6915,20 +6915,20 @@ if (SupportsMaskShorthand()) {
|
||||
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
|
||||
/* FIXME: All mask-border-* should be added when we implement them. */
|
||||
subproperties: ["mask-clip", "mask-image", "mask-mode", "mask-origin", "mask-position-x", "mask-position-y", "mask-repeat", "mask-size" , "mask-composite"],
|
||||
initial_values: [ "match-source", "none", "repeat", "add", "0% 0%", "top left", "left top", "0% 0% / auto", "top left / auto", "left top / auto", "0% 0% / auto auto",
|
||||
initial_values: [ "match-source", "none", "no-repeat", "add", "0% 0%", "top left", "left top", "0% 0% / auto", "top left / auto", "left top / auto", "0% 0% / auto auto",
|
||||
"top left none", "left top none", "none left top", "none top left", "none 0% 0%", "left top / auto none", "left top / auto auto none",
|
||||
"match-source none repeat add top left", "left top repeat none add", "none repeat add top left / auto", "left top / auto repeat none add match-source", "none repeat add 0% 0% / auto auto match-source",
|
||||
"match-source none no-repeat add top left", "left top no-repeat none add", "none no-repeat add top left / auto", "left top / auto no-repeat none add match-source", "none no-repeat add 0% 0% / auto auto match-source",
|
||||
"border-box", "border-box border-box" ],
|
||||
other_values: [
|
||||
"none alpha repeat add left top",
|
||||
"none alpha no-repeat add left top",
|
||||
"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAKElEQVR42u3NQQ0AAAgEoNP+nTWFDzcoQE1udQQCgUAgEAgEAsGTYAGjxAE/G/Q2tQAAAABJRU5ErkJggg==)",
|
||||
"repeat url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAKElEQVR42u3NQQ0AAAgEoNP+nTWFDzcoQE1udQQCgUAgEAgEAsGTYAGjxAE/G/Q2tQAAAABJRU5ErkJggg==') alpha left top add",
|
||||
"no-repeat url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAKElEQVR42u3NQQ0AAAgEoNP+nTWFDzcoQE1udQQCgUAgEAgEAsGTYAGjxAE/G/Q2tQAAAABJRU5ErkJggg==') alpha left top add",
|
||||
"repeat-x",
|
||||
"repeat-y",
|
||||
"no-repeat",
|
||||
"repeat",
|
||||
"none repeat-y alpha add 0% 0%",
|
||||
"subtract",
|
||||
"0% top subtract alpha repeat none",
|
||||
"0% top subtract alpha no-repeat none",
|
||||
"top",
|
||||
"left",
|
||||
"50% 50%",
|
||||
@ -6942,16 +6942,16 @@ if (SupportsMaskShorthand()) {
|
||||
"top left / 100px auto",
|
||||
"top left / 100px 10%",
|
||||
"top left / 100px calc(20px)",
|
||||
"bottom right add none alpha repeat",
|
||||
"bottom right add none alpha no-repeat",
|
||||
"50% alpha",
|
||||
"alpha 50%",
|
||||
"50%",
|
||||
"url(#mymask)",
|
||||
"-moz-radial-gradient(10% bottom, #ffffff, black) add no-repeat",
|
||||
"-moz-linear-gradient(10px 10px -45deg, red, blue) repeat",
|
||||
"-moz-linear-gradient(10px 10px -0.125turn, red, blue) repeat",
|
||||
"-moz-repeating-radial-gradient(10% bottom, #ffffff, black) add no-repeat",
|
||||
"-moz-repeating-linear-gradient(10px 10px -45deg, red, blue) repeat",
|
||||
"-moz-radial-gradient(10% bottom, #ffffff, black) add repeat",
|
||||
"-moz-linear-gradient(10px 10px -45deg, red, blue) no-repeat",
|
||||
"-moz-linear-gradient(10px 10px -0.125turn, red, blue) no-repeat",
|
||||
"-moz-repeating-radial-gradient(10% bottom, #ffffff, black) add repeat",
|
||||
"-moz-repeating-linear-gradient(10px 10px -45deg, red, blue) no-repeat",
|
||||
"-moz-element(#test) alpha",
|
||||
/* multiple mask-image */
|
||||
"url(404.png), url(404.png)",
|
||||
@ -6972,10 +6972,10 @@ if (SupportsMaskShorthand()) {
|
||||
/* mixes with keywords have to be in correct order */
|
||||
"50% left", "top 50%",
|
||||
/* no quirks mode colors */
|
||||
"-moz-radial-gradient(10% bottom, ffffff, black) add no-repeat",
|
||||
"-moz-radial-gradient(10% bottom, ffffff, black) add repeat",
|
||||
/* no quirks mode lengths */
|
||||
"-moz-linear-gradient(10 10px -45deg, red, blue) repeat",
|
||||
"-moz-linear-gradient(10px 10 -45deg, red, blue) repeat",
|
||||
"-moz-linear-gradient(10 10px -45deg, red, blue) no-repeat",
|
||||
"-moz-linear-gradient(10px 10 -45deg, red, blue) no-repeat",
|
||||
"linear-gradient(red -99, yellow, green, blue 120%)",
|
||||
/* bug 258080: don't accept background-position separated */
|
||||
"left url(404.png) top", "top url(404.png) left",
|
||||
@ -7135,16 +7135,16 @@ if (SupportsMaskShorthand()) {
|
||||
domProp: "maskRepeat",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "repeat", "repeat repeat" ],
|
||||
other_values: [ "repeat-x", "repeat-y", "no-repeat",
|
||||
initial_values: [ "no-repeat", "no-repeat no-repeat" ],
|
||||
other_values: [ "repeat-x", "repeat-y", "repeat",
|
||||
"repeat-x, repeat-x",
|
||||
"repeat, no-repeat",
|
||||
"repeat-y, no-repeat, repeat-y",
|
||||
"repeat, repeat, repeat",
|
||||
"repeat no-repeat",
|
||||
"no-repeat, repeat",
|
||||
"repeat-y, repeat, repeat-y",
|
||||
"no-repeat, no-repeat, no-repeat",
|
||||
"no-repeat repeat",
|
||||
"no-repeat no-repeat",
|
||||
"repeat repeat, repeat repeat",
|
||||
"repeat no-repeat",
|
||||
"repeat repeat",
|
||||
"no-repeat no-repeat, no-repeat no-repeat",
|
||||
],
|
||||
invalid_values: [ "repeat repeat repeat",
|
||||
"repeat-x repeat-y",
|
||||
|
Loading…
Reference in New Issue
Block a user