webcode-tk 1.1.11__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/PKG-INFO +1 -1
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/pyproject.toml +1 -1
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/__init__.py +1 -1
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/cascade_tools.py +7 -4
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/LICENSE.rst +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/README.rst +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/animation_tools.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/color_keywords.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/color_tools.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/css_tools.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/font_tools.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/html_tools.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/sample_report.json +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/utils.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/ux_tools.py +0 -0
- {webcode_tk-1.1.11 → webcode_tk-1.2.0}/webcode_tk/validator_tools.py +0 -0
|
@@ -1399,10 +1399,13 @@ def descendant_selector_applies(element: Element, sel: str) -> None:
|
|
|
1399
1399
|
for ancestor in ancestor_list:
|
|
1400
1400
|
id = ancestor[1]
|
|
1401
1401
|
ancestor_element = __get_element_by_id(id)
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1402
|
+
if selector_list:
|
|
1403
|
+
selector = selector_list[current_pos]
|
|
1404
|
+
cur_selector_applies = does_selector_apply(
|
|
1405
|
+
ancestor_element, selector
|
|
1406
|
+
)
|
|
1407
|
+
if cur_selector_applies:
|
|
1408
|
+
selector_list = selector_list[1:]
|
|
1406
1409
|
applies = not selector_list
|
|
1407
1410
|
return applies
|
|
1408
1411
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|