[cssom-1] Incorrect handling of media
in Create a constructed CSSStyleSheet
?
#11778
Labels
cssom-1
Current Work
media
in Create a constructed CSSStyleSheet
?
#11778
Step 12 of the procedure requires serializing a media query list from
media
when it is not a string:I doubt that the procedure for serializing a media query list expects a
MediaList
(cf.CSSStyleSheetInit
).Besides, the media query list associated to the new
MediaList
should be updated whenever the attribute (of the owner node) is updated:For example:
So I suspect that step 12 should parse a media query list from
media
when it is a string, create aMediaList
object with it, and assign it assheet
's media. Otherwise, if it is aMediaList
, it should create a newMediaList
with the media query list associated tomedia
.The text was updated successfully, but these errors were encountered: