Michael Drake 7b78ef3361 Style: Fix ignoring of STYLE elements with non-screen media.
We were handling the STYLE tag getting added in the
dom_default_action_DOMSubtreeModified_cb callback, however,
the media attribute dadn't been added by that point.

We now check it in the dom_default_action_DOMNodeInserted_cb
callback, at which time the media attribute is available for
checking.

Note, we should probably store the media type in the
html_stylesheet structure, but for now we just have an
`unused` boolean.

Also, it may be possible to optimise to avoid parsing non-
screen media STYLE element data if we could detect the media
earlier.
2016-09-24 12:44:28 +01:00
..
2016-09-13 09:16:31 +01:00
2016-06-14 12:39:54 +01:00
2016-09-13 09:16:31 +01:00
2015-02-26 17:05:12 +00:00
2016-09-13 09:16:31 +01:00
2016-05-30 11:23:32 +01:00
2014-11-08 12:35:11 +00:00