Moonchild
6176bd62d9
Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL.
...
The .style PutForwards bit is coming along for the ride here, aligning us with
the behavior of Blink and Gecko.
2024-04-08 11:01:02 +08:00
Moonchild
bb2aaeac9f
Issue #2490 - Part 8: Get rid of css::Rule::GetDOMRule.
2024-04-08 10:56:04 +08:00
Moonchild
fce04b3591
Issue #2490 - Part 7: Push the nsIDOMCSSRule implementation up to css::Rule.
2024-04-08 10:55:49 +08:00
Moonchild
8c871f602e
Issue #2490 - Part 6: Make css::Rule inherit from nsIDOMCSSRule.
2024-04-08 10:55:26 +08:00
Moonchild
c2ee755574
Issue #2490 - Part 5: Get rid of DOMCSSStyleRule.
2024-04-08 10:53:21 +08:00
Moonchild
1342838b3f
Issue #2490 - Part 4: Make css::Rule wrappercached.
2024-04-08 10:46:40 +08:00
Moonchild
5bb39ec403
Issue #2490 - Part 2: Remove the now-unused GetExistingDOMRule() function.
2024-04-08 10:40:28 +08:00
Moonchild
d6ec56a4c4
Issue #2490 - Part 1: Make all CSS rules cycle-collected.
2024-04-08 10:39:37 +08:00
FranklinDM
4d7bdedade
Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly
2024-04-02 22:47:20 +08:00
FranklinDM
5e34e0e81b
Issue #2111 - Follow-up: Add missing include and fix namespace conflict when building layout deunified
2024-04-02 22:46:30 +08:00
FranklinDM
92b31dd255
Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted()
2023-03-24 09:10:42 +08:00
FranklinDM
77ad970db6
Issue #1592 - Part 2: Parse ::slotted() pseudo-element as if it were a pseudo-class
...
- Block slot elements from being matched by ::slotted
- Ensure ::slotted() is serialized as a pseudo-element
- Add pref to control whether the pseudo-class is enabled
2023-03-24 09:07:36 +08:00
FranklinDM
2be0261d54
Issue #2078 - Follow-up: Ensure empty selector lists aren't iterated when serialized
...
Really odd that this wasn't caught/doesn't cause any issues on MSVC/unoptimized GCC. Must've been luck, I guess.
2023-03-12 07:10:40 +08:00
FranklinDM
82fa9fb80b
Issue #2137 - Part 1: Modify :not() selector to accept a complex selector list
2023-03-12 07:09:00 +08:00
FranklinDM
ba7e29a052
Issue #1823 - Ensure :host() and :host-context() are given proper weights
2023-02-22 07:06:43 +08:00
FranklinDM
4ece7873e0
Issue #2078 - Part 5: Ensure :is() and :where() are given proper weights
2023-02-22 07:06:05 +08:00
FranklinDM
0648ec64bb
Issue #2078 - Part 2: Rename nsPseudoClassList->u.mSelectors to mSelectorList
...
This makes it clear that we're accessing a selector list (nsCSSSelectorList), which is different from the selectors (nsCSSSelector) contained inside a selector list. Previously, both were confusingly referred to as mSelectors.
2023-02-22 07:05:08 +08:00
FranklinDM
453b715ef6
Issue #2078 - Part 1: Update CSS rule processor to handle :is() and :where() CSS pseudo-classes
...
This modifies selector list parsing to accommodate being "forgiving". Aliases for the :is selector's former names were also included. Note that the older and prefixed variant `-moz-any` remains unforgiving.
2023-02-22 07:04:49 +08:00
FranklinDM
6d3500bb48
Issue #2111 - Implement CSSStyleRule.selectorText setter
...
Unlike the original patch, this copies Chrome behavior: ignores invalid values of selectorText without any console log.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=37468
2023-02-21 08:20:21 +08:00
Jeremy Andrews
7472bc02be
Issue #1593 - Part 1: Import William Chen's patches w/o selector implementation, fixed up.
2022-04-21 21:52:40 +08:00
roytam1
ecdf4bfb29
Revert "Issue #3024 - First pass support for :host and :host-context"
...
This reverts commit 4cc56c2cb6 .
2022-04-21 21:51:52 +08:00
Matt A. Tobin
4cc56c2cb6
Issue #3024 - First pass support for :host and :host-context
2022-03-22 22:57:05 +08:00
Moonchild
f7493bacb5
Issue #80 - De-unify layout/style
2020-05-02 08:28:32 +08:00
Matt A. Tobin
ca09afd0b0
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]
...
Tag #1375
2020-04-18 07:06:12 +08:00
Matt A. Tobin
5d444ef68a
Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocument
...
Tag #1375
2020-04-18 07:04:19 +08:00
wolfbeast
39d5eb7759
Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
2019-02-16 00:27:49 +08:00
roytam1
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00