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

           Summary: Web performance: texvc math images do not specify width
                    and height attributes
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://en.wikipedia.org/wiki/White_dwarf
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: texvc
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: br...@wikimedia.org


The <img> tags generated by our math module do not list the width or height;
this can delay page rendering while the image is loaded, or cause the page to
reflow and jump around after the loading is complete:

<img class="tex" alt="E_k \approx \frac{N (\Delta p)^2}{2m} \approx \frac{N
\hbar^2 n^{2/3}}{2m} \approx \frac{M^{2/3} N^{5/3} \hbar^2}{2m R^2}."
src="http://upload.wikimedia.org/math/b/7/e/b7e74c9f6c091d2c1e157e29381a5132.png";
/>

Note we probably need to change the math table so we actually record the
size...


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to