layout/reftests/border-image/border-image-linear-gradient-slice-fill-2-ref.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html lang="en-US">
michael@0 3 <head>
michael@0 4 <title>test of border-image-source: linear-gradient with border-image-slice and fill</title>
michael@0 5 <style>
michael@0 6 table { margin: 0; padding: 0; border-spacing: 0; empty-cells: show; }
michael@0 7 td { padding: 0; }
michael@0 8 </style>
michael@0 9 </head>
michael@0 10 <body>
michael@0 11 <table>
michael@0 12 <col style="width: 30px">
michael@0 13 <col style="width: 180px">
michael@0 14 <col style="width: 30px">
michael@0 15 <tr style="height: 30px">
michael@0 16 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 600px; background-position: 0px 0px;"></td>
michael@0 17 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 600px; background-position: -90px 0px;"></td>
michael@0 18 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 600px; background-position: -90px 0px;"></td>
michael@0 19 </tr>
michael@0 20 <tr style="height: 180px">
michael@0 21 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 200px; background-position: 0px -10px;"></td>
michael@0 22 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 200px; background-position: -90px -10px;"></td>
michael@0 23 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 200px; background-position: -210px -10px;"></td>
michael@0 24 </tr>
michael@0 25 <tr style="height: 30px">
michael@0 26 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 600px; background-position: 0px -570px;"></td>
michael@0 27 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 600px; background-position: -90px -570px;"></td>
michael@0 28 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 600px; background-position: -90px -570px;"></td>
michael@0 29 </tr>
michael@0 30 </table>
michael@0 31 <table>
michael@0 32 <col style="width: 30px">
michael@0 33 <col style="width: 180px">
michael@0 34 <col style="width: 30px">
michael@0 35 <tr style="height: 30px">
michael@0 36 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 120px; background-position: 0px 0px;"></td>
michael@0 37 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 200px 120px; background-position: -10px 0px;"></td>
michael@0 38 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 120px; background-position: -570px 0px;"></td>
michael@0 39 </tr>
michael@0 40 <tr style="height: 180px">
michael@0 41 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 360px; background-position: 0px -90px;"></td>
michael@0 42 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 200px 360px; background-position: -10px -90px;"></td>
michael@0 43 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 360px; background-position: -570px -90px;"></td>
michael@0 44 </tr>
michael@0 45 <tr style="height: 30px">
michael@0 46 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 120px; background-position: 0px -90px;"></td>
michael@0 47 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 200px 120px; background-position: -10px -210px;"></td>
michael@0 48 <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 120px; background-position: -570px -90px;"></td>
michael@0 49 </tr>
michael@0 50 </table>
michael@0 51 </body>
michael@0 52 </html>

mercurial