We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ae2f9 commit f4618deCopy full SHA for f4618de
src/AngleSharp.Css/Dom/Internal/MediaList.cs
@@ -56,7 +56,7 @@ public String MediaText
56
public void SetMediaText(String value, Boolean throwOnError)
57
{
58
_media.Clear();
59
- var media = MediaParser.Parse(value, ValidatorFactory);
+ var media = MediaParser.Parse(value ?? CssKeywords.All, ValidatorFactory);
60
61
if (media != null)
62
0 commit comments