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

Unified Diff: third_party/WebKit/ng_paint.html

Issue 2842983002: [LayoutNG] Paint inlines from the fragment tree
Patch Set: Rebase w/HEAD Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/ng_paint.html
diff --git a/third_party/WebKit/ng_paint.html b/third_party/WebKit/ng_paint.html
new file mode 100644
index 0000000000000000000000000000000000000000..18129df58fe4e9d6ad7b830de4442df48362cdb4
--- /dev/null
+++ b/third_party/WebKit/ng_paint.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>LayoutNG Paint Test</title>
+ <style>
+ p {
+ border: 1px solid navy;
+ background: skyblue;
+ padding: 0.5ex;
+ }
+ .title {
+ border-bottom: 1px solid navy;
+ font-size: 150%;
+ }
+ p > span {
+ text-decoration: underline;
+ }
+ </style>
+ </head>
+ <body>
+ <p>
+ <span class="title">Hello Layout<b>NG</b><span style="color: red">!</span></span><br>
+ This is a test demonstrating inline painting from the <i>fragment tree</i>
+ for <u>LayoutNG</u>.
+ </p>
+ <p style="width: 40ex;">
+ Line <strike>breaking</strike> isn't really supported yet as it always uses the full
+ shape results for the entire text node for each line.
+ </p>
+ </body>
+</html>
« no previous file with comments | « third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698