Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
109e27f5
Commit
109e27f5
authored
Feb 22, 2019
by
mrbean-bremen
Committed by
mrbean-bremen
Feb 22, 2019
Browse files
Fixed order of setting parsing context while parsing hex value
- fixes #399
parent
9fc47d84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/External/ExCSS/Parser.Blocks.cs
View file @
109e27f5
...
...
@@ -482,8 +482,8 @@ namespace Svg.ExCSS
break
;
}
ParseSingleValueHexColor
(
_buffer
.
ToString
());
SetParsingContext
(
ParsingContext
.
InSingleValue
);
ParseSingleValueHexColor
(
_buffer
.
ToString
());
return
ParseSingleValue
(
token
);
}
...
...
Tests/Svg.UnitTests/LexerIssueTests.cs
View file @
109e27f5
...
...
@@ -38,7 +38,6 @@ namespace Svg.UnitTests
[
TestMethod
]
public
void
Lexer_ImportantAfterHex_Success
()
{
Assert
.
Inconclusive
(
"The important after the hex codes is not working at the moment. Re-enable these tests if the issue is resolved (#399)"
);
//Important should be valid on 3 digit hex
GenerateLexerTestFile
(
"border-top: 1px solid #333 !important;"
);
//Important should be valid on 6 digit hex
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment