DescriptionInclude 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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153485
Patch Set 1 #
Total comments: 10
Patch Set 2 : Rebased onto current master #Patch Set 3 : Review issue: removed css from variable name #Patch Set 4 : Changed expected result for mac #Messages
Total messages: 12 (0 generated)
|