summaryrefslogtreecommitdiffstats
path: root/layout/style/Loader.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #1629 - Part 5: Remove pointless local variables.athenian2002020-09-09-8/+7
| | | | Since the local variable is always initialized to false, we don't actually need to declare it and can just pass "false" directly as a parameter to the PrepareSheet function's bool. I was worried about code readability at first, but some well-placed comments took care of that.
* Issue #1629 - Part 4: Ensure isExplicitlyEnabled is false upon sheet creation.athenian2002020-09-06-2/+5
| | | | This clarifies the assumptions the code is making and the order in which the variables pass through the loading process. The new variable is set after the sheet is created and prepared, and is assumed to be false in the beginning.
* Issue #1629 - Part 2: Implement the Explicitly Enabled flag.athenian2002020-08-13-10/+18
| | | | | | | | | | | | | | | | This part of the bug was significantly complicated by the following major refactors: https://bugzilla.mozilla.org/show_bug.cgi?id=1456435 https://bugzilla.mozilla.org/show_bug.cgi?id=1459498 As best as I can tell, we just need to implement the explicitly enabled flag on every instance of GetStyleSheetInfo, make sure aIsExplicitlyEnabled is false in every situation except the one where the disabled content attribute is removed from a link element, and enable alternate stylesheets if this flag is set on them. So we take the explicitly enabled flag as an input to PrepareSheet, and also add it to LoadStyleLink and LoadInlineStyle. I also decided not to defer loading of alternate stylesheets that have been explicitly enabled.
* Issue #1564 - Split off nsIdentifierMapEntry in its own headerwolfbeast2020-05-25-0/+1
| | | | + Fix dependency fallout from removing nsDocument.h from ShadowRoot.h
* Bug 1425769 - Base class for ShadowRoot and Document to manage style stateMatt A. Tobin2020-04-17-2/+2
| | | | Tag #1375
* Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocumentMatt A. Tobin2020-04-17-3/+3
| | | | Tag #1375
* Remove various hard-coded Accept: headerswolfbeast2019-03-07-4/+0
| | | | | | | Since we're now handling this in the network back-end, there's no need for this anymore. Tag #993.
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+2694