<div dir="ltr">Thank you! This is great news!<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 29, 2018 at 10:45 AM Paolo Amadini <<a href="mailto:paolo.02.prg@amadzone.org">paolo.02.prg@amadzone.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you notice anything that doesn't look right, please speak to a member<br>
of staff or text the British Transport Police at six-one-zero-one-six...<br>
<br>
Whoops, wrong announcement! Let's retry. If you're using Nightly and<br>
notice anything that looks off in the main browser interface or<br>
secondary windows, like an incorrect margin, color, or button state,<br>
please use mozregression to determine if it's caused by one of the CSS<br>
updates we're about to land, and file a bug in the "Firefox :: Theme"<br>
component as usual.<br>
<br>
*Details*<br>
<br>
The "browser.xul" window and other XUL documents use a variety of CSS<br>
stylesheets to define the appearance of interface elements. Many styles<br>
are defined in XBL stylesheets, some are defined in UA stylesheets, and<br>
others in regular stylesheets imported in the document. These all have<br>
different "cascade levels", meaning that the CSS specificity rules don't<br>
apply as one would expect if the sheets were at the same cascade level.<br>
There's no way to tell the difference just by looking at the file name.<br>
<br>
Today we are starting a process to convert XBL stylesheets to regular<br>
document stylesheets, and remove the XBL cascade level completely. We<br>
are also making sure that the sheets in the "browser" folder are loaded<br>
after those in the "toolkit" folder, because the former are meant to<br>
override the latter in the main browser window. This will make things<br>
easier because rules in "browser" will always take priority when they<br>
have the same specificity as those in "toolkit".<br>
<br>
This will greatly simplify reasoning about browser styles going forward,<br>
but there will be an initial cost. We have too many CSS rules to check<br>
them individually, and the "MozScreenshots" regression tests are limited<br>
to the main interface, so as we make these changes we expect the<br>
appearance of widgets to regress in subtle ways. This is part of the<br>
process, and this is why we are landing stylesheets migrations one by<br>
one, in dependencies of meta-bug 1470830.<br>
<br>
If you notice a regression, just file a bug in the "Firefox :: Theme"<br>
component. It would help a lot if you could use mozregression to find<br>
the exact bug it should block, rather than just blocking the meta-bug.<br>
<br>
We expect to respond quickly to bugs caused by these modifications,<br>
especially during the upcoming long Nightly cycle. While most migrations<br>
will land in one or two weeks, we may find some regressions only later.<br>
<br>
*Further reading*<br>
<br>
This plan of record has been defined after various attempts at different<br>
migration strategies in the past few months. If you're curious, you can<br>
find relevant discussion in these bugs:<br>
<br>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1470830" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1470830</a><br>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1463820" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1463820</a><br>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1457907" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1457907</a><br>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1458426" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1458426</a><br>
<br>
These are all under the tracking bug for the XBL removal project:<br>
<br>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1397874" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1397874</a><br>
<br>
Cheers,<br>
Paolo<br>
_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
</blockquote></div>