Gerrit UI (PolyGerrit) looks wrong

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Timur
Newbie
Newbie
Posts: 5
Joined: 2022-07-27, 14:00

Gerrit UI (PolyGerrit) looks wrong

Unread post by Timur » 2022-07-27, 14:03

Gerrit UI (PolyGerrit) looks wrong. Seen with https://gerrit.libreoffice.org.

Not sure if that's about search.php?keywords=optional+chaining&submit=Search

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 580
Joined: 2017-01-14, 02:40
Location: Philippines
Contact:

Re: Gerrit UI (PolyGerrit) looks wrong

Unread post by FranklinDM » 2022-07-27, 14:41

Timur wrote:
2022-07-27, 14:03
Not sure if that's about search.php?keywords=optional+chaining&submit=Search
Not related, there aren't any errors about that in the console.

This site requires WebComponents and expects support for the host selector:

Code: Select all

Unknown pseudo-class or pseudo-element ‘host(’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:11:9
Unknown pseudo-class or pseudo-element ‘host(’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:14:9
Unknown pseudo-class or pseudo-element ‘host’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:27:9
Unknown pseudo-class or pseudo-element ‘host(’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:30:9
Unknown pseudo-class or pseudo-element ‘host(’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:36:9
Unknown pseudo-class or pseudo-element ‘host(’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:42:9
Unknown pseudo-class or pseudo-element ‘host(’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:81:9
Unknown pseudo-class or pseudo-element ‘host’.  Ruleset ignored due to bad selector. 
status:open+-is:wip:28:9

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1533
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Gerrit UI (PolyGerrit) looks wrong

Unread post by athenian200 » 2022-07-27, 17:03

FranklinDM wrote:
2022-07-27, 14:41

This site requires WebComponents and expects support for the host selector:
I actually implemented the :host selector previously, but it seems like my implementation doesn't work well...

Enabling WebComponents causes the site not to display at all. It seems like despite passing tests, that selector doesn't quite work... though it could just be because I haven't implemented ::slotted, it's hard to tell. Hopefully that's the issue. It hard to tell where one problem ends and another begins.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

Locked