зеркало из https://github.com/mozilla/gecko-dev.git
ca33d8548f
...instead of forwarding to the sheet like HTMLStyleElement does. I've proposed this behavior in: https://github.com/whatwg/html/issues/3840#issuecomment-480894419 I think this is one of the sane behaviors we can have, what Blink / WebKit do makes no sense to me. Alternative potentially-sane behavior is making the initial value of the stylesheet's disabled bit the same as the content attribute, and both reflect and forward the attribute from the setter. That means that setAttribute does something different than setting `disabled`, which means that you can get into all sorts of funny states when reloading the sheet... So I rather not do that. Differential Revision: https://phabricator.services.mozilla.com/D26573 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
crashtests | ||
resources | ||
test | ||
CDATASection.cpp | ||
CDATASection.h | ||
ProcessingInstruction.cpp | ||
ProcessingInstruction.h | ||
XMLDocument.cpp | ||
XMLDocument.h | ||
XMLStylesheetProcessingInstruction.cpp | ||
XMLStylesheetProcessingInstruction.h | ||
htmlmathml-f.ent | ||
moz.build | ||
nsIXMLContentSink.h | ||
nsXMLContentSink.cpp | ||
nsXMLContentSink.h | ||
nsXMLElement.cpp | ||
nsXMLElement.h | ||
nsXMLFragmentContentSink.cpp | ||
nsXMLPrettyPrinter.cpp | ||
nsXMLPrettyPrinter.h |