Commit Graph

3655 Commits

Author SHA1 Message Date
L. David Baron
a245c3537e Back out 8d2453e98c3fc55ef6b02becf7a8e4d86a066e34 due to mac startup failures. 2008-11-25 15:08:29 -08:00
L. David Baron
e1fd81e8d3 Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
49d3fcc1ac Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
88620d4af0 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
8be0d9e6b5 Fix assertion about being too late to set quirks style sheet. (Bug 450191) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
cd219c1d22 Add test for slow performance in bug 438509, as suggested by dholbert, and based on a testcase he wrote. a=blocking1.9.1+ 2008-11-25 13:27:53 -08:00
L. David Baron
be3321e732 Simplify conditions, part 2, since we're really only trying to avoid IsGeometryDirty if we're not going to need any reflow at all. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+ 2008-11-25 13:27:53 -08:00
L. David Baron
c0cc02dfd5 Simplify condition, part 1, since mVResize already implies IsGeometryDirty thanks to the code immediately above. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+ 2008-11-25 13:27:53 -08:00
L. David Baron
3dbd3c34af Avoid exponential growth of special height reflows. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+ 2008-11-25 13:27:53 -08:00
L. David Baron
58064fc1f3 Remove nsHTMLReflowState::mPercentHeightReflowInitiator, which is write-only. (Bug 438509) r+sr=roc a=blocking1.9.1+ 2008-11-25 13:27:53 -08:00
L. David Baron
03bdd4f9f2 Use a host that we proxy to the local server so that the test doesn't require network access. (Bug 466102) r+sr=bzbarsky a=tests 2008-11-25 13:27:53 -08:00
L. David Baron
209d99a0b6 Make justification test pass more reliably on Mac, which is sensitive to subpixel positioning of text, by replacing <wbr> elements with zero-width spaces. (Bug 466101) r+sr=roc a=tests 2008-11-25 13:27:53 -08:00
L. David Baron
3c30b8af4d Make zwnj-02.html reftest more tolerant of font anti-aliasing. (Bug 465140) r=smontagu a=tests
--HG--
rename : layout/reftests/text/zwnj-02-ref.html => layout/reftests/text/zwnj-01-notref.html
rename : layout/reftests/text/zwnj-02-ref.html => layout/reftests/text/zwnj-02-ref.xhtml
rename : layout/reftests/text/zwnj-02.html => layout/reftests/text/zwnj-02.xhtml
2008-11-25 13:27:53 -08:00
L. David Baron
0dd791554f Add tests for the format() function in the 'src' descriptor that use a known-unsupported value in addition to an unknown value. a=tests
--HG--
rename : layout/reftests/font-face/src-list-format-1.html => layout/reftests/font-face/src-list-format-4.html
rename : layout/reftests/font-face/src-list-format-2.html => layout/reftests/font-face/src-list-format-5.html
rename : layout/reftests/font-face/src-list-format-3.html => layout/reftests/font-face/src-list-format-6.html
2008-11-25 13:27:53 -08:00
L. David Baron
86e77bc298 Make layout/reftests/text/444656.html not depend on the size ratio between Hebrew and Western fonts. (Bug 466484) r=smontagu a=tests 2008-11-25 13:27:53 -08:00
Jeff Walden
4180ce8eae imported patch nsIFrame.patch 2008-11-19 20:42:55 -08:00
L. David Baron
2c8df8f80f Bug 379317 no longer affects these tests thanks to bug 464970. 2008-11-19 11:42:18 -08:00
L. David Baron
914fe872e6 bug 464970 - nsCSSBorderRenderer::AreBorderSideFinalStylesSame is too pessimistic. r=vlad, a=beltzner 2008-11-19 11:53:08 -05:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
Robert O'Callahan
2f76e95c17 Bug 464811. Snap the anchor point to pixels using a method that guarantees the source rect and the subimage rect intersect. r+sr=dbaron 2008-11-18 20:48:46 +13:00
Daniel Holbert
de4e07999e Bug 465475: Shorten reftest 413292-1.html so that it doesn't time out 2008-11-17 23:20:54 -08:00
Robert O'Callahan
774dc6063b Backed out changeset 0ced86fbf8ed (reftest failures) 2008-11-18 10:13:55 +13:00
Robert O'Callahan
48c8f9855c Bug 464811. Tweak the anchor point snapping algorithm again. This time we have a proof that the resulting snapping algorithm guarantees the subimage rectangle intersects the logical source rectangle. r+sr=dbaron 2008-11-18 09:32:11 +13:00
L. David Baron
cac176ae93 Mark yet another test random awaiting the font cache patch in bug 457821. 2008-11-14 18:02:22 -08:00
L. David Baron
8bf54a6850 OK, this is random on Windows too. 2008-11-14 16:27:26 -08:00
L. David Baron
218e9dfc3d Mark test as random on Mac, since it just failed on the tinderobx. 2008-11-14 16:04:26 -08:00
L. David Baron
6eb576e8cc Better approach to some tests to avoid subpixel spacing differences. (Bug 457821) 2008-11-14 14:07:45 -08:00
L. David Baron
4aa4a48164 Adjust expected results based on http://lists.w3.org/Archives/Public/www-style/2008Nov/0190.html and add tests for format(). (Bug 457821)
--HG--
rename : layout/reftests/font-face/src-list-1-ref.html => layout/reftests/font-face/order-1-ref.html
rename : layout/reftests/font-face/src-list-2-ref.html => layout/reftests/font-face/order-2-ref.html
rename : layout/reftests/font-face/src-list-3-ref.html => layout/reftests/font-face/order-3-ref.html
2008-11-14 14:07:45 -08:00
L. David Baron
30848475fd Remove unwanted style attribute that slipped in from vlad's changes. 2008-11-14 14:07:45 -08:00
Daniel Holbert
d56b70f7b8 Bug 420697: Add svgGlyphFrame check to GetStrokeDashoffset and GetStrokeDashArray, making them match GetStrokeWidth. r+sr=roc a=beltzner 2008-11-14 10:46:56 -08:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Boris Zbarsky
091edfd4c7 Bug 462458. Update @charset detection to spec changes. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
Boris Zbarsky
695687d1fe Bug 458381 followup: tests and a code fix for a problem the tests caught. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
Blake Kaplan
337fb163df Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron 2008-11-11 13:38:54 -08:00
Robert O'Callahan
c8375e914a Bug 463217. Don't let nsLayoutUtils::DrawSingleImage/DrawSingleUnscaledImage do any tiling, restrict their drawing to the single tile. r+sr=dbaron 2008-11-10 20:24:21 +13:00
Jesse Ruderman
c093828228 Add crashtest for bug 451334 2008-11-09 19:18:22 -08:00
L. David Baron
d0fe12906f Add some tests for @font-face (static cases, not dynamic ones). (Bug 457821) 2008-11-08 08:35:54 -08:00
L. David Baron
33d6e6cc48 Add a set of fonts for presence testing, each of which has a single glyph at the codepoint for a capital letter A-Z. (Bug 457821) 2008-11-08 08:35:54 -08:00
L. David Baron
c920abe631 Allow HTTP(..), HTTP(../..) that allow HTTP reftests to use resources not in the same directory. (Bug 457821) r=jwalden 2008-11-08 08:35:54 -08:00
L. David Baron
14126e8fd6 Make about:blank work correctly as a reference for reftests served over HTTP. (Bug 457821) r=jwalden 2008-11-08 08:35:54 -08:00
Joe Drew
a2b8f5356f Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32 Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+ 2008-11-07 14:35:22 -05:00
Dave Townsend
68663a73e2 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the Vista Ts regression 2008-11-07 15:21:35 +00:00
Dave Townsend
2545ad97e1 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the
Vista Ts regression
2008-11-07 15:21:23 +00:00
Justin Dolske
23299930f7 Bug 455057 - some chrome images have embedded profiles (sRGB chunk removal). ui-r=faaborg, r=dbaron 2008-11-05 19:19:44 -08:00
Justin Dolske
c16718dbda Backout 30bfb150da06 (bug 449315) due to unit test timeouts. 2008-11-05 16:37:51 -08:00
Justin Dolske
f701f9d7f5 Backed out changeset 30bfb150da06 2008-11-05 16:36:12 -08:00
John Daggett
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson
02e25a07c2 b=416725 reftest 2008-11-07 15:31:02 +13:00
Robert O'Callahan
ba9c7fb6b5 Bug 418740. Make sure that mouse events are reported to windowless plugins relative to the widget we associated with the plugin. r+sr=jst 2008-11-07 14:00:42 +13:00