Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-text-composited.html

Issue 1734863003: Remove webkit-background-composite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .div {
6 width: 300px;
7 height: 80px;
8 border: 1px solid black;
9 font-size: 50px;
10 font-weight: bold;
11 text-align:center;
12 color: transparent;
13 -webkit-background-clip: text;
14 background-color: rgba(0, 255, 0, 0.5);
15 /* 300 x 100 image, left half filled with rgba(0, 0, 255, 0.5), right half tra nsparent */
16 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAABkCA YAAAA8AQ3AAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGA AAARlJREFUeNrt1MEJACAQBLE7GxcrX2sQQRCSEuYxnaQAftBVmTJwI6mlAi8MCQDDAjAswLAADAvAsA DDAjAsAMMCDAvAsAAMCzAsAMMCMCzAsAAMC8CwAMMCMCwAwwIMC8CwAAwLMCwAwwIwLMCwAAwLMCwAww IwLMCwAAwLwLAAwwIwLADDAgwLwLAADAswLADDAjAswLAADAvAsADDAjAsAMMCDAvAsAAMCzAsAMMCMC zAsAAMCzAsAMMCMCzAsAAMC8CwAMMCMCwAwwIMC8CwAAwLMCwAwwIwLMCwAAwLwLAAwwIwLADDAgwLwL AADAswLADDAjAswLAADAswLADDAjAswLAADAvAsADDAjAsAMMCDAvAsACObZ9kB8Gc0I/yAAAAAElFTk SuQmCC);
17 }
18
19 .label {
20 font-size: 20px;
21 color: black;
22 }
23 </style>
24 </head>
25 <body >
26 <div style="display: inline-block;">
27 <div class="div" style="-webkit-background-clip: border-box;">01234 56789
28 <div class="label">unclipped background</div>
29 </div>
30 <div class="div" style="-webkit-background-composite: xor;">01234 56789
31 <div class="label">xor</div>
32 </div>
33 <div class="div" style="-webkit-background-composite: plus-lighter;">01234 56789
34 <div class="label">plus-lighter</div>
35 </div>
36 <div class="div" style="-webkit-background-composite: source-over;">01234 56789
37 <div class="label">source-over</div>
38 </div>
39 <div class="div" style="-webkit-background-composite: source-atop;">01234 56789
40 <div class="label">source-atop</div>
41 </div>
42 <div class="div" style="-webkit-background-composite: source-in;">01234 56 789
43 <div class="label">source-in</div>
44 </div>
45 <div class="div" style="-webkit-background-composite: source-out;">01234 5 6789
46 <div class="label">source-out</div>
47 </div>
48 </div>
49 <div style="display: inline-block;">
50 <div class="div" style="-webkit-background-composite: clear;">01234 56789
51 <div class="label">clear</div>
52 </div>
53 <div class="div" style="-webkit-background-composite: copy;">01234 56789
54 <div class="label">copy</div>
55 </div>
56 <div class="div" style="-webkit-background-composite: destination-over;">0 1234 56789
57 <div class="label">destination-over</div>
58 </div>
59 <div class="div" style="-webkit-background-composite: destination-atop;">0 1234 56789
60 <div class="label">destination-atop</div>
61 </div>
62 <div class="div" style="-webkit-background-composite: destination-in;">012 34 56789
63 <div class="label">destination-in</div>
64 </div>
65 <div class="div" style="-webkit-background-composite: destination-out;">01 234 56789
66 <div class="label">destination-out</div>
67 </div>
68 </div>
69 </body>
70 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698