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

Side by Side Diff: LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype.html

Issue 579673002: Check that an img element with src set to a data URI with an invalid mediatype renders Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add empty mediatype test Created 6 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Check that we accept a data URI with an incomplete mediatype (only
4 top-level type. without a slash and subtype) for backward compatibility.
hiroshige 2014/10/06 08:43:08 Does this description corresponds only to media ty
tyoshino (SeeGerritForStatus) 2014/10/16 09:27:54 Good point. Updated to explain both.
5 -->
6 <img src="data:image;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElE QVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==">
7 <img src="data:image\png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAA HElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==">
8 <script>
9 if (window.testRunner)
10 testRunner.dumpAsTextWithPixelResults();
11 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-from-data-uri-with-invalid-mediatype-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698