GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    SuperDicq (superdicq@minidisc.tokyo)'s status on Friday, 02-Aug-2024 22:53:35 JSTSuperDicqSuperDicq

    Today I encountered the funniest bug ever at work.

    There was one page that started showing a little Palestian flag 🇵🇸 in the top left corner of the screen, seemingly for no reason.

    The cause of the bug turned out to be a left over debug echo in the page script.

    Why the hell would this cause a Palestinian flag to be rendered?
    * The echo gets inserted at the start of the page (before <!doctype html>).
    * Doctype becomes invalid, browser goes into Quirks Mode.
    * In Quirks Mode CSS classes become case insensitive.
    * We have a FlagKit CSS file that defines classes for flags using two letter country codes with "PS" for "Palestine".
    * We also have a CSS file for "Perfect Scrollbar" that has a shorthand CSS class called "ps".
    * Quirks mode applied the "PS" styling to the "ps" tag.

    In conversationabout a year ago from minidisc.tokyopermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.