WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-76006-20120111112142.patch (text/plain), 4.44 KB, created by
Mike Lawther
on 2012-01-10 16:21:45 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Mike Lawther
Created:
2012-01-10 16:21:45 PST
Size:
4.44 KB
patch
obsolete
>Subversion Revision: 104412 >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index d8bc61b25cfe728e49439cf45a1b51a782c78372..a370bc0ed9b3e4435c05f5cdbbd0521c4e1ea3c3 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,19 @@ >+2012-01-10 Mike Lawther <mikelawther@chromium.org> >+ >+ composited mask test for CSS3 calc >+ https://bugs.webkit.org/show_bug.cgi?id=76006 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Tests for future implementation of CSS3 calc() (see http://webkit.org/b/16662) >+ >+ These tests are expected to 'fail', and will pass once calc() functionality is landed. >+ For now, they serve to demonstrate that the current code doesn't crash on these tests. >+ >+ * css3/calc/resources/alpha-gradient.png: Added. >+ * css3/calc/simple-composited-mask-expected-mismatch.html: Added. >+ * css3/calc/simple-composited-mask.html: Added. >+ > 2012-01-08 Sheriff Bot <webkit.review.bot@gmail.com> > > Unreviewed, rolling out r104403. >diff --git a/LayoutTests/css3/calc/resources/alpha-gradient.png b/LayoutTests/css3/calc/resources/alpha-gradient.png >new file mode 100644 >index 0000000000000000000000000000000000000000..d182eb97e628889de4584005e3d5e8651b5a0bde >GIT binary patch >literal 476 >zcmeAS@N?(olHy`uVBq!ia0vp^CqS5k1xT_7rilV6mUKs7M+Sy#H?H_c7y<c`C9V-A >z!TD(=<%vb942~)JNvR5+xryniL8*x;m4zo$Z5S9B^E_P~Ln>~)y>?LWfCA4E2k964 >zQ=C|zNcyCOGD*pvt6*xCXt}belBu;p!07>hAP0vcON#(gxR{6&l<CC5sHo5)AW*b_ >z!b?FBCJ?u!K_Fcpq@dB>MN#2Milbu7ffP*^2r)xP!$mQGL(w2Ipu=f_K&yiySEG{% >z6OabWa|LpUED{i4n!Hp1s1B?dDDTj5vdM{~@njGOhhby@gaDcV*6Eb6323bk$VEQW >zoE$h5)x41`1)2xe2QoBi6WBhWy<qczmTIs-EC<qxEI@q$98goB_Q5PwWceom3;_YK >zr_aTK0>c5x|1A$V&I)UQ0tV<v?brXmc=S7P#I+odZ?b)P0_bLNm^pDAJg)Qh-!A6e >TxqJM9(Zk^B>gTe~DWM4fgr11m > >literal 0 >HcmV?d00001 > >diff --git a/LayoutTests/css3/calc/simple-composited-mask-expected-mismatch.html b/LayoutTests/css3/calc/simple-composited-mask-expected-mismatch.html >new file mode 100644 >index 0000000000000000000000000000000000000000..c0909452e05d4113818f6b31f6dac88ecf529ca7 >--- /dev/null >+++ b/LayoutTests/css3/calc/simple-composited-mask-expected-mismatch.html >@@ -0,0 +1,31 @@ >+<!DOCTYPE html> >+<style> >+ #container { >+ height: 760px; >+ width: 260px; >+ border: solid black; >+ display: inline-block; >+ } >+ .box { >+ position: relative; >+ width: 200px; >+ height: 200px; >+ margin: 30px; >+ border: 10px solid black; >+ background-color: rgba(100, 100, 255, 0.8); >+ -webkit-box-sizing: border-box; >+ -webkit-box-shadow: black 0 4px 4px; >+ } >+ >+ #container .masked { >+ -webkit-mask-image: url(resources/alpha-gradient.png); >+ -webkit-mask-repeat: repeat; >+ -webkit-mask-size: 50px; >+ } >+</style> >+<p>Testing masks on compositing layers.</p> >+<div id="container"> >+ <div class="masked box"></div> >+ <div class="masked box"></div> >+ <div class="masked box"></div> >+</div> >diff --git a/LayoutTests/css3/calc/simple-composited-mask.html b/LayoutTests/css3/calc/simple-composited-mask.html >new file mode 100644 >index 0000000000000000000000000000000000000000..834bfd7ec57068dd39d3cacd9c5c81c344a5a7f7 >--- /dev/null >+++ b/LayoutTests/css3/calc/simple-composited-mask.html >@@ -0,0 +1,43 @@ >+<!DOCTYPE html> >+<style> >+ #container { >+ height: 760px; >+ width: 260px; >+ border: solid black; >+ display: inline-block; >+ } >+ .box { >+ position: relative; >+ width: 200px; >+ height: 200px; >+ margin: 30px; >+ border: 10px solid black; >+ background-color: rgba(100, 100, 255, 0.8); >+ -webkit-box-sizing: border-box; >+ -webkit-box-shadow: black 0 4px 4px; >+ } >+ >+ #container .masked-px { >+ -webkit-mask-image: url(resources/alpha-gradient.png); >+ -webkit-mask-repeat: repeat; >+ -webkit-mask-size: -webkit-calc(50px); >+ } >+ >+ #container .masked-percent { >+ -webkit-mask-image: url(resources/alpha-gradient.png); >+ -webkit-mask-repeat: repeat; >+ -webkit-mask-size: -webkit-calc(25%); >+ } >+ >+ #container .masked-percent-px { >+ -webkit-mask-image: url(resources/alpha-gradient.png); >+ -webkit-mask-repeat: repeat; >+ -webkit-mask-size: -webkit-calc(10% + 30px); >+ } >+</style> >+<p>Testing masks on compositing layers.</p> >+<div id="container"> >+ <div class="masked-px box"></div> >+ <div class="masked-percent box"></div> >+ <div class="masked-percent-px box"></div> >+</div>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 76006
: 121935