Include disabled stylesheets in document.styleSheets.

Stylesheets disabled through LinkStyle.disabled were not included in
Document.styleSheets, even if they existed as CSSStyleSheet objects.

Fixed LinkStyle::setDisabled so it propagates disabled state to the sheet
object when present.

According to the HTML5 spec, setting disabled on LinkStyle when the sheet is
not present should not have any effect and getting it should return false. I
did not dare to do any changes there in this CL.

BUG=88310

Review URL: https://chromiumcodereview.appspot.com/17827004

git-svn-id: svn://svn.chromium.org/blink/trunk@153485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
8 files changed
tree: f0bfef2217b5d3c6b94e4cfb5e346419edf5606b
  1. third_party/