Dactyloidae/layout
FranklinDM edc45f6849 Issue #1593 - Follow-up: Fix :host selector matching
Previously, we would match `:host` if:
(a) we don't have any arguments and our parent is the shadow root, or;
(b) if any of the arguments match, then reject if we don't have a containing shadow

Revised, we would match `:host` if:
(Preconditions) The element must have a shadow root, the selector must not have any feature selectors, and it is not blocked from matching `:host` (e.g. .matches outside of the shadow root context)
(a) The selector does not have any arguments, or;
(b) It matches any of its arguments in the functional part of the pseudo-class

With this, we now pass these tests that were previously failing:
http://wpt.live/css/css-scoping/css-scoping-shadow-host-rule.html
http://wpt.live/css/css-scoping/host-descendant-002.html
http://wpt.live/css/css-scoping/host-multiple-001.html
Improved (1 less red box):
http://wpt.live/css/css-scoping/css-scoping-shadow-host-namespace.html
2023-02-27 11:03:50 +08:00
..
base Issue #1382 - Part 2: Add crash test 2023-02-27 11:03:31 +08:00
build Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
doc import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
forms Issue #2030 - Allow child nodes of button to participate in mouse hit tests 2022-12-02 23:55:57 +08:00
generic Issue #2068 - Only wrap the last line of inline elements when positively padding to the right. 2022-12-30 09:21:14 +08:00
inspector Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to RestrictedSelectorListMatches 2023-02-22 07:05:25 +08:00
ipc Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
mathml Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
media Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
printing Issue #80 - Re-unify most of the layout engine 2022-09-09 10:12:59 +08:00
reftests Issue #2075 - Part 4: Update tests 2023-01-06 20:36:22 +08:00
style Issue #1593 - Follow-up: Fix :host selector matching 2023-02-27 11:03:50 +08:00
svg Issue #1382 - Part 1: Remove assertion that GetPreEffectsVisualOverflowRect is called only by frames whose parent is an anonymous block 2023-02-27 11:03:05 +08:00
tables Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords. 2022-09-23 11:03:34 +08:00
tools Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
xul Issue #2104 - Part 2: Indicate if a label was cropped via the "_is_cropped" attribute 2023-02-08 16:57:11 +08:00
moz.build Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00