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

Side by Side Diff: LayoutTests/svg/custom/invalid-dasharray.svg

Issue 913313002: Use isComma more in CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Handle stroke-dasharray trailing comma Created 5 years, 10 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 | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd">
3 <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" width=" 100%" height="100%"> 3 <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" width=" 100%" height="100%">
4 <!-- Test that invalid stroke-dasharray values are not applied --> 4 <!-- Test that invalid stroke-dasharray values are not applied -->
5 <style type="text/css"><![CDATA[ 5 <style type="text/css"><![CDATA[
6 #rect { 6 #rect {
7 stroke-dasharray: none, 3; 7 stroke-dasharray: none, 3;
8 stroke-dasharray: 3, none; 8 stroke-dasharray: 3, none;
9 stroke-dasharray: nonsense; 9 stroke-dasharray: nonsense;
10 stroke-dasharray: 3,3,;
10 } 11 }
11 ]]></style> 12 ]]></style>
12 <rect id="rect" fill="none" stroke="green" stroke-width="10" stroke-dasharra y="10 10" width="100" height="100"/> 13 <rect id="rect" fill="none" stroke="green" stroke-width="10" stroke-dasharra y="10 10" width="100" height="100"/>
13 </svg> 14 </svg>
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698