You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facebook Container Version: 2.3.11 (this affects 2.3.9 and newer)
Operating System + Version: Ubuntu Linux 24.04
Firefox Version: 132.0a1 (2024-09-11) (64-bit)
Other installed Add-ons + Version + Enabled/Disabled-Status: None
Actual behavior
Facebook Container adds a style rule that applies to the <body> element in all web content, as shown in DevTools. (This style rule has 10 declarations and takes up a substantial amount of space in the DevTools rules view, which makes it feel slightly cluttery; and it impacts the page behavior if the page happens to use these variables.)
Expected behavior
Facebook Container shouldn't add any styles for <body>, for regular web content.
--fbc-transition: all .15scubic-bezier(.07,.95,0,1);
--fbc-borders:1px solid #ededf0;
--fbc-primary-text:#15141A;
--fbc-secondary-text:#5B5B66;
--fbc-font-size:13px;
}
git blame indicates that these styles were added here, where they seem to have been intended to target some of the addon's UI rather than actual web content: 00ded76
That commit included some regular CSS properties, too (like font-family: ... and overflow: hidden;) which presumably broke/impacted body rendering in lots of cases -- those were removed (or moved to another rule, for font-family) in subsequent commits like: 9503ba9 3e6dc51
...but these CSS variables remain as being specified on body. Maybe they can move to the .fbc-container CSS rule, like the font-family declaration did in that last commit?
Actual behavior
Facebook Container adds a style rule that applies to the
<body>
element in all web content, as shown in DevTools. (This style rule has 10 declarations and takes up a substantial amount of space in the DevTools rules view, which makes it feel slightly cluttery; and it impacts the page behavior if the page happens to use these variables.)Expected behavior
Facebook Container shouldn't add any styles for
<body>
, for regular web content.Steps to reproduce
Notes
Here's a screenshot showing the unexpected styles shown in devtools:
The text was updated successfully, but these errors were encountered: