Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas

This commit is contained in:
Thomas Wisniewski 2016-08-04 15:05:50 -04:00
parent 4f6b9572f5
commit 1fbaa831cc
7 changed files with 3 additions and 13 deletions

View File

@ -233,8 +233,7 @@ DOMInterfaces = {
'createImageData', 'getImageData'
],
'binaryNames': {
'mozImageSmoothingEnabled': 'imageSmoothingEnabled',
'mozFillRule': 'fillRule'
'mozImageSmoothingEnabled': 'imageSmoothingEnabled'
}
},

View File

@ -16,7 +16,6 @@ skip-if(Android||B2G) skip-if(gtkWidget&&isDebugBuild) load 789933-1.html # bug
load 794463-1.html
load 802926-1.html
load 896047-1.html
load 896047-2.html
load 916128-1.html
load 934939-1.html
load 1099143-1.html

View File

@ -203,7 +203,6 @@ disabled = bug 407107
[test_bitmaprenderer.html]
[test_bug232227.html]
[test_bug613794.html]
[test_bug753758.html]
[test_bug764125.html]
[test_bug856472.html]
[test_bug866575.html]

View File

@ -153,8 +153,6 @@ interface CanvasRenderingContext2D {
[Throws]
attribute object mozCurrentTransformInverse;
attribute DOMString mozFillRule; /* "evenodd", "nonzero" (default) */
[Throws]
attribute any mozDash; /* default |null| */

View File

@ -3,10 +3,9 @@
<script type="text/javascript">
window.onload = function() {
var ctx = document.getElementById("c1").getContext("2d");
ctx.mozFillRule = "evenodd";
ctx.rect(50, 50, 200, 200);
ctx.rect(100, 100, 100, 100);
ctx.fill();
ctx.fill("evenodd");
}
</script>
</head>

View File

@ -3,7 +3,6 @@
<script type="text/javascript">
window.onload = function() {
var ctx = document.getElementById("c1").getContext("2d");
ctx.mozFillRule = "evenodd";
ctx.moveTo(50, 50);
ctx.lineTo(250, 50);
@ -17,7 +16,7 @@ window.onload = function() {
ctx.lineTo(200, 100);
ctx.lineTo(100, 100);
ctx.fill();
ctx.fill("evenodd");
}
</script>
</head>

View File

@ -73,11 +73,8 @@ fails-if(!(Android)&&(OSX==1006||(azureQuartz&&OSX>=1007))||azureSkiaGL||azureSk
== zero-dimensions.html zero-dimensions-ref.html
== evenodd-fill-sanity.html data:text/html,<body>Pass
!= evenodd-fill-1.html nonzero-fill-1.html
== evenodd-fill-1.html evenodd-fill-ref.html
random-if(azureSkiaGL) == evenodd-fill-2.html evenodd-fill-ref.html
== evenodd-fill-3.html nonzero-fill-2.html
== dash-sanity.html data:text/html,<body>Pass
fuzzy-if(azureSkia||skiaContent,9,470) random-if(Android) == dash-1.html dash-1-ref.svg # Bug 668412 (really is android-specific, not IPC-specific)