gecko-dev/dom/xml
Emilio Cobos Álvarez ca33d8548f Bug 1281135 - Make <link disabled> work and HTMLLinkElement.disabled reflect that attribute. r=bzbarsky
...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
2019-04-19 13:31:05 +00:00
..
crashtests Bug 1523655 - Allow non-HTML elements to attach UA Shadow Root r=emilio 2019-01-31 18:33:30 +00:00
resources Bug 205202 part 1 - [css-lists][css-pseudo] Add support for the ::marker pseudo element on list items. Alias :-moz-list-bullet/number to that in the parser. r=emilio 2019-03-24 23:13:53 +01:00
test Bug 332175 - Disable the XMLDocument.load() API on trunk; r=bzbarsky 2019-04-17 19:37:10 +00:00
CDATASection.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CDATASection.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ProcessingInstruction.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ProcessingInstruction.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XMLDocument.cpp Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan 2019-04-12 05:31:32 +00:00
XMLDocument.h Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan 2019-04-12 05:31:32 +00:00
XMLStylesheetProcessingInstruction.cpp Bug 1281135 - Make <link disabled> work and HTMLLinkElement.disabled reflect that attribute. r=bzbarsky 2019-04-19 13:31:05 +00:00
XMLStylesheetProcessingInstruction.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
htmlmathml-f.ent Bug 1479815. Align our XHTML entity definitions with the HTML ones. r=hsivonen 2018-08-08 08:27:17 +00:00
moz.build Bug 1435430 part 1. Switch to creating XSLTProcessors via constructor, not contract. r=mystor 2018-02-05 16:00:04 -05:00
nsIXMLContentSink.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsXMLContentSink.cpp Bug 1539742 - Notify of appends to the right document when parsing into an already-adopted node. r=bzbarsky 2019-03-29 09:55:10 +00:00
nsXMLContentSink.h Bug 1518252 - Block layout on Fluent. r=smaug 2019-01-25 23:14:03 +00:00
nsXMLElement.cpp Bug 205202 part 1 - [css-lists][css-pseudo] Add support for the ::marker pseudo element on list items. Alias :-moz-list-bullet/number to that in the parser. r=emilio 2019-03-24 23:13:53 +01:00
nsXMLElement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsXMLFragmentContentSink.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsXMLPrettyPrinter.cpp Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan 2019-03-08 09:04:11 +00:00
nsXMLPrettyPrinter.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00