Commit Graph

23227 Commits

Author SHA1 Message Date
L. David Baron
798ff29d8c Distribute extra space in fixed-layout tables where all columns have widths proportionally rather than equally, for compatibility. (Bug 445142) r=bernd sr=roc a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
ca761d4290 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
030c5e4da6 Introduce two different definitions of the placeholder's containing block in InitAbsoluteConstraints, since we want to use a different one for the hypothetical box and for the direction. (Bug 462844) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
09c2dabaf8 Add tests for dynamic changes to @font-face. (Bug 457821) a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
9d19739d81 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 15:22:39 -08:00
L. David Baron
0b7f60a456 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 15:22:38 -08:00
L. David Baron
f82a4ba107 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 15:22:38 -08:00
L. David Baron
b7c9a551d4 Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
L. David Baron
753588abda 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
04005c945f 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
73a2162d87 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
45ee791f57 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
3ccddbc00c 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
986cb9a310 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
f4b906eed7 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
46a07b04fe 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
e934b6946c 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
5d9a07b206 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
a338f958c7 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
d535dfb253 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
e5e8a86e73 imported patch nsIFrame.patch 2008-11-19 20:42:55 -08:00
L. David Baron
0b4fb2e351 Bug 379317 no longer affects these tests thanks to bug 464970. 2008-11-19 11:42:18 -08:00
L. David Baron
5a0377148b bug 464970 - nsCSSBorderRenderer::AreBorderSideFinalStylesSame is too pessimistic. r=vlad, a=beltzner 2008-11-19 11:53:08 -05:00
Boris Zbarsky
943fd4dbb7 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
f5b9109022 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
af14965574 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
db439546d0 Backed out changeset 0ced86fbf8ed (reftest failures) 2008-11-18 10:13:55 +13:00
Robert O'Callahan
9c78bd79e6 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
a2e51a3845 Mark yet another test random awaiting the font cache patch in bug 457821. 2008-11-14 18:02:22 -08:00
L. David Baron
b85b756fe2 OK, this is random on Windows too. 2008-11-14 16:27:26 -08:00
L. David Baron
a1c7b5aa6b Mark test as random on Mac, since it just failed on the tinderobx. 2008-11-14 16:04:26 -08:00
L. David Baron
e67249b3e3 Better approach to some tests to avoid subpixel spacing differences. (Bug 457821) 2008-11-14 14:07:45 -08:00
L. David Baron
06525abe29 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
2a6876ff60 Remove unwanted style attribute that slipped in from vlad's changes. 2008-11-14 14:07:45 -08:00
Daniel Holbert
58d145b691 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
2a5b7140ea 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
8ea614368d Bug 462458. Update @charset detection to spec changes. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
Boris Zbarsky
127f56f241 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
5b956f68de Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron 2008-11-11 13:38:54 -08:00
Robert O'Callahan
687210c214 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
e2320d90a2 Add crashtest for bug 451334 2008-11-09 19:18:22 -08:00
L. David Baron
a0344f93f0 Add some tests for @font-face (static cases, not dynamic ones). (Bug 457821) 2008-11-08 08:35:54 -08:00
L. David Baron
527fb03b03 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
e4d286fcca 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
abcfcbbd31 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
82356d4615 Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
16d0ef182e 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
af447b1195 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
ddc73a9bb1 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
d970a274b5 Bug 455057 - some chrome images have embedded profiles (sRGB chunk removal). ui-r=faaborg, r=dbaron 2008-11-05 19:19:44 -08:00