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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years 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
Index: LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce9ddb7df120449dffb5fbe6167231367efa8c3
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x91
+ RenderBlock {HTML} at (0,0) size 800x91
+ RenderBody {BODY} at (8,8) size 784x75
+ RenderText {#text} at (0,0) size 758x19
+ text run at (0,0) width 758: "This test shows what alt content looks like when an image errors out on a page with a CSP that blocks data: URIs for images. "
+ RenderBlock {IMG} at (0,20) size 50x50
+ RenderText {#text} at (0,0) size 0x0
+layer at (8,28) size 50x50 clip at (9,29) size 48x48
+ RenderBlock {DIV} at (0,0) size 50x50 [border: (1px solid #C0C0C0)]
+ RenderImage {IMG} at (2,2) size 16x16
+layer at (26,30) size 30x40
+ RenderBlock {DIV} at (18,2) size 30x40
+ RenderText {#text} at (0,0) size 22x39
+ text run at (0,0) width 14: "alt"
+ text run at (0,20) width 22: "text"

Powered by Google App Engine
This is Rietveld 408576698