https://bugzilla.wikimedia.org/show_bug.cgi?id=64719

            Bug ID: 64719
           Summary: Drop use of nth-child selector in ui.less
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: stable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

One of the important things to understand about how browsers read your CSS
selectors, is that they read them from right to left.

This means the first thing that is read in the rule .header > *:nth-child(3) is
:nth-child(3)

Looking closely at the performance issues documented in bug 64709 - a big cause
of the lag is this selector. Removing it from ui.less improves performance to
the same standard as the desktop site.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to