[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3047: gb.xml.html XmlElement.GetChildrenByFilter selects incorrect element
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3047: gb.xml.html XmlElement.GetChildrenByFilter selects incorrect element
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Sun, 11 Oct 2026 21:32:44 GMT
- To: t.lee.davidson@xxxxxxxxx,claus.dietrich@xxxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3047&from=L21haW4- Comment #5 by T. Lee DAVIDSON: As .GetChildrenByFilter is dependent on a correct response from .MatchFilter, I have done some deciphering, editing, and testing of gb.xml/src/html/cssfilter.cpp from Master. I made some changes that seem to fix the following CSS selectors: element , element element element element > element element + element I did not test [attribute$="value"] and [attribute*="value"] prior to making the above changes (which should not have affected them), but after found them to be OK. And, the pseudo-element selectors, first-child and last-child, also seem to be fixed with the edits made. Although, I have not done extensive testing. Attached is a DIFF file and a new, more generic test project. ---------------------------------------------------------------------------- Attachment: cssfilter.diff Attachment: TestCssMatch-0.0.4.tar.gz ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----