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

Side by Side Diff: third_party/WebKit/LayoutTests/csspaint/style-first-letter-pseudo.html

Issue 2428793002: Test usage of registered custom properties in custom paint (Closed)
Patch Set: Created 4 years, 2 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/run-after-layout-and-paint.js"></script> 4 <script src="../resources/run-after-layout-and-paint.js"></script>
5 <script src="resources/test-runner-paint-worklet.js"></script> 5 <script src="resources/test-runner-paint-worklet.js"></script>
6 <script src="resources/generate-paint-style-logging.js"></script> 6 <script src="resources/generate-paint-style-logging.js"></script>
7 <style> 7 <style>
8 div { 8 div {
9 color: rgb(0, 255, 0); 9 color: rgb(0, 255, 0);
10 line-height: 1px; 10 line-height: 1px;
(...skipping 13 matching lines...) Expand all
24 testRunner.dumpAsText(); 24 testRunner.dumpAsText();
25 25
26 importPaintWorkletAndTerminateTestAfterAsyncPaint( 26 importPaintWorkletAndTerminateTestAfterAsyncPaint(
27 generatePaintStyleLogging([ 27 generatePaintStyleLogging([
28 'color', 28 'color',
29 'line-height', 29 'line-height',
30 ])); 30 ]));
31 </script> 31 </script>
32 <p>This tests the style information in the paint callback.</p> 32 <p>This tests the style information in the paint callback.</p>
33 <p>See the devtools console for test output. The console should log:</p> 33 <p>See the devtools console for test output. The console should log:</p>
34 color: rgb(255, 0, 0)<br> 34 color: [CSSStyleValue=rgb(255, 0, 0)]<br>
35 line-height: 2px<br> 35 line-height: [CSSSimpleLength=2px]<br>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698