Mozilla Home
Privacy
Cookies
Legal
Bugzilla
Browse
Advanced Search
New Bug
Reports
Documentation
Log In
Log In with GitHub
or
Remember me
Browse
Advanced Search
New Bug
Reports
Documentation
Attachment 514128 Details for
Bug 635373
[patch]
tests
bug635373-tests (text/plain), 6.23 KB, created by
Robert O'Callahan (:roc) (email my personal email if necessary)
(
hide
)
Description:
tests
Filename:
MIME Type:
Creator:
Robert O'Callahan (:roc) (email my personal email if necessary)
Size:
6.23 KB
patch
obsolete
>From: Robert O'Callahan <robert@ocallahan.org> >Bug 635373. Tests > >diff --git a/layout/reftests/bugs/635373-1-ref.html b/layout/reftests/bugs/635373-1-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bugs/635373-1-ref.html >@@ -0,0 +1,28 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<style> >+body { background:white; } >+#d { >+ position:absolute; >+ top:200px; >+ left:200px; >+ font-size:30px; >+ transform:rotate(30deg); >+ -moz-transform:rotate(30deg); >+ background:white; >+} >+span { display:block; background:rgb(200,200,200); } >+</style> >+</head> >+<body> >+<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span> >+<span style="width:100px; height:20px;"></span> >+</div> >+<script> >+var ctx = document.getElementById("c").getContext("2d"); >+ctx.fillStyle = "lime"; >+ctx.fillRect(5,5,5,5); >+</script> >+</body> >+</html> >diff --git a/layout/reftests/bugs/635373-1.html b/layout/reftests/bugs/635373-1.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bugs/635373-1.html >@@ -0,0 +1,28 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<title>Testing compositing of opaque layer with complex visible region</title> >+<style> >+body { background:white; } >+#d { >+ position:absolute; >+ top:200px; >+ left:200px; >+ font-size:30px; >+ transform:rotate(30deg); >+ -moz-transform:rotate(30deg); >+} >+span { display:block; background:rgb(200,200,200); } >+</style> >+</head> >+<body> >+<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span> >+<span style="width:100px; height:20px;"></span> >+</div> >+<script> >+var ctx = document.getElementById("c").getContext("2d"); >+ctx.fillStyle = "lime"; >+ctx.fillRect(5,5,5,5); >+</script> >+</body> >+</html> >diff --git a/layout/reftests/bugs/635373-2-ref.html b/layout/reftests/bugs/635373-2-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bugs/635373-2-ref.html >@@ -0,0 +1,29 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<title>Testing compositing of translucent layer with complex visible region</title> >+<style> >+body { background:white; } >+#d { >+ position:absolute; >+ top:200px; >+ left:200px; >+ font-size:30px; >+ transform:rotate(30deg); >+ -moz-transform:rotate(30deg); >+ background:white; >+} >+span { display:block; background:rgba(200,200,200, 0.4); } >+</style> >+</head> >+<body> >+<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span> >+<span style="width:100px; height:20px;"></span> >+</div> >+<script> >+var ctx = document.getElementById("c").getContext("2d"); >+ctx.fillStyle = "lime"; >+ctx.fillRect(5,5,5,5); >+</script> >+</body> >+</html> >diff --git a/layout/reftests/bugs/635373-2.html b/layout/reftests/bugs/635373-2.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bugs/635373-2.html >@@ -0,0 +1,28 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<title>Testing compositing of translucent layer with complex visible region</title> >+<style> >+body { background:white; } >+#d { >+ position:absolute; >+ top:200px; >+ left:200px; >+ font-size:30px; >+ transform:rotate(30deg); >+ -moz-transform:rotate(30deg); >+} >+span { display:block; background:rgba(200,200,200, 0.4); } >+</style> >+</head> >+<body> >+<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span> >+<span style="width:100px; height:20px;"></span> >+</div> >+<script> >+var ctx = document.getElementById("c").getContext("2d"); >+ctx.fillStyle = "lime"; >+ctx.fillRect(5,5,5,5); >+</script> >+</body> >+</html> >diff --git a/layout/reftests/bugs/635373-3-ref.html b/layout/reftests/bugs/635373-3-ref.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bugs/635373-3-ref.html >@@ -0,0 +1,29 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<title>Testing compositing of component alpha layer with complex visible region</title> >+<style> >+body { background:white; } >+#d { >+ position:absolute; >+ top:200px; >+ left:200px; >+ font-size:30px; >+ transform:rotate(30deg); >+ -moz-transform:rotate(30deg); >+ background:white; >+} >+span { display:block; background:rgba(200,200,200, 0.4); } >+</style> >+</head> >+<body> >+<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas>XYZ</span> >+<span style="width:100px; height:20px;"></span> >+</div> >+<script> >+var ctx = document.getElementById("c").getContext("2d"); >+ctx.fillStyle = "lime"; >+ctx.fillRect(5,5,5,5); >+</script> >+</body> >+</html> >diff --git a/layout/reftests/bugs/635373-3.html b/layout/reftests/bugs/635373-3.html >new file mode 100644 >--- /dev/null >+++ b/layout/reftests/bugs/635373-3.html >@@ -0,0 +1,28 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<title>Testing compositing of component alpha layer with complex visible region</title> >+<style> >+body { background:white; } >+#d { >+ position:absolute; >+ top:200px; >+ left:200px; >+ font-size:30px; >+ transform:rotate(30deg); >+ -moz-transform:rotate(30deg); >+} >+span { display:block; background:rgba(200,200,200, 0.4); } >+</style> >+</head> >+<body> >+<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas>XYZ</span> >+<span style="width:100px; height:20px;"></span> >+</div> >+<script> >+var ctx = document.getElementById("c").getContext("2d"); >+ctx.fillStyle = "lime"; >+ctx.fillRect(5,5,5,5); >+</script> >+</body> >+</html> >diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list >--- a/layout/reftests/bugs/reftest.list >+++ b/layout/reftests/bugs/reftest.list >@@ -1608,8 +1608,11 @@ HTTP(..) == 621253-2-externalFilter.html > HTTP(..) == 619511-1.html 619511-1-ref.html > random-if(winWidget) == 621918-1.svg 621918-1-ref.svg # 1-pixel diacritic positioning discrepancy in rotated text (may depend on platform fonts) > random-if(winWidget) HTTP(..) == 621918-2.svg 621918-2-ref.svg # same 1px issue as above, and HTTP(..) for filters.svg, used to mask antialiasing issues where glyphs touch > == 625409-1.html 625409-1-ref.html > == 627393-1.html about:blank > == 631352-1.html 631352-1-ref.html > fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936 > == 632781-normalsize.html 632781-ref.html >+== 635373-1.html 6353731-1-ref.html >+== 635373-2.html 6353731-2-ref.html >+== 635373-3.html 6353731-3-ref.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
|
Review
Attachments on
bug 635373
:
513923
|
513924
|
513926
|
514069
|
514078
| 514128 |
514129
|
514156
|
514449
|
514973
|
514974
|
522336