Last modified: 2014-05-19 17:16:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66719, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64719 - Drop use of nth-child selector in ui.less
Drop use of nth-child selector in ui.less
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-01 21:43 UTC by Jon
Modified: 2014-05-19 17:16 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2014-05-01 21:43:45 UTC
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.
Comment 1 Bingle 2014-05-01 21:45:18 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/wmlklDjZ
Comment 2 Gerrit Notification Bot 2014-05-06 22:59:26 UTC
Change 131892 had a related patch set uploaded by Jdlrobson:
Cleanup ui.less now universal header

https://gerrit.wikimedia.org/r/131892
Comment 3 Gerrit Notification Bot 2014-05-19 17:16:05 UTC
Change 131892 merged by jenkins-bot:
Fix VE performance by cleaning up ui.less now universal header

https://gerrit.wikimedia.org/r/131892

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links