Commit Graph

22279 Commits

Author SHA1 Message Date
L. David Baron
2aa2ccaca4 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
5785e50c68 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
00ab56712f Merge backout of 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:06 -08:00
L. David Baron
b5cdb24735 Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
L. David Baron
434c5a53a6 Merge backout of 71032d21e8b1e6955baa996d9555624252700c6e due to mac startup failures. 2008-11-25 15:08:55 -08:00
L. David Baron
927e7f0297 Back out 71032d21e8b1e6955baa996d9555624252700c6e due to mac startup failures. 2008-11-25 15:08:51 -08:00
L. David Baron
0e85e09e27 Merge backout of 5bc893b6bdf23dcd44601727df5baab8a0dd361e due to mac startup failures. 2008-11-25 15:08:44 -08:00
L. David Baron
3211ab3eca Back out 5bc893b6bdf23dcd44601727df5baab8a0dd361e due to mac startup failures. 2008-11-25 15:08:40 -08:00
L. David Baron
6b71155549 Merge backout of 8d2453e98c3fc55ef6b02becf7a8e4d86a066e34 due to mac startup failures. 2008-11-25 15:08:34 -08:00
L. David Baron
a245c3537e Back out 8d2453e98c3fc55ef6b02becf7a8e4d86a066e34 due to mac startup failures. 2008-11-25 15:08:29 -08:00
L. David Baron
d8698eadf9 Merge backout of 6b99f95a3ee3e077bc85ab8ee36b7685b846faf4 due to mac startup failures. 2008-11-25 15:08:22 -08:00
L. David Baron
a7ccc1883f Back out 6b99f95a3ee3e077bc85ab8ee36b7685b846faf4 due to mac startup failures. 2008-11-25 15:08:18 -08:00
Robert O'Callahan
6220f97555 Bug 463292. Make text-shadows in XUL nsTextBoxFrames get the correct overflow area and actually paint when only the overflow area is intersected. r+sr=dbaron 2008-11-26 11:59:06 +13:00
Robert O'Callahan
f6f4295a88 Bug 463292. Make text-shadows in XUL nsTextBoxFrames get the correct overflow area and actually paint when only the overflow area is intersected. r+sr=dbaron 2008-11-26 11:59:06 +13:00
Robert O'Callahan
ab3854de4f Bug 462968. Sanitize block height. r+sr=dbaron 2008-11-26 11:57:28 +13:00
Robert O'Callahan
3330d2adb7 Bug 462968. Sanitize block height. r+sr=dbaron 2008-11-26 11:57:28 +13:00
Robert O'Callahan
e2d6438f48 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
Robert O'Callahan
6dd228bfdc Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
Robert O'Callahan
0be9ec5c8d Bug 455826. Look into overflow-lists of inlines to find text when we're building textruns. r=smontagu 2008-11-26 11:51:36 +13:00
Robert O'Callahan
19cdb639f2 Bug 455826. Look into overflow-lists of inlines to find text when we're building textruns. r=smontagu 2008-11-26 11:51:36 +13:00
Robert O'Callahan
6a37c5163c Bug 430332. Lazily rebuild transformed-textruns, deferring rebuild until after the linebreaker has finished analysis. r=smontagu 2008-11-26 11:44:05 +13:00
L. David Baron
5313218cd1 Merge backout of 5d6db13efa26534e3904b5afa5e6faf31c0c82f0 due to mac startup failures. 2008-11-25 14:38:34 -08:00
L. David Baron
0977d8e545 Back out 5d6db13efa26534e3904b5afa5e6faf31c0c82f0 due to mac startup failures. 2008-11-25 14:38:28 -08:00
L. David Baron
4756839d4c Merge backout of 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures. 2008-11-25 14:38:22 -08:00
L. David Baron
2a61487dd7 Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures. 2008-11-25 14:38:17 -08:00
L. David Baron
af2012cad7 Merge backout of 6ce5f62a59455c79b3e12414989d3727f283b7c3 due to mac startup failures. 2008-11-25 14:38:11 -08:00
L. David Baron
a5f7856bf5 Back out 6ce5f62a59455c79b3e12414989d3727f283b7c3 due to mac startup failures. 2008-11-25 14:38:06 -08:00
L. David Baron
64da9a8a44 Back out 48da1d4688225df4aaeb0c56744b7f150d65f5df due to mac startup failures. 2008-11-25 14:37:59 -08:00
Robert O'Callahan
54b396e60b Bug 463952. Expand destArea according to CSS background-repeat *before* intersecting with bgClipArea, instead of after. r+sr=dbaron 2008-11-26 11:19:34 +13:00
Robert O'Callahan
1dd1408b35 Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky 2008-11-26 11:15:41 +13:00
Robert O'Callahan
98a52f5f6c Bug 454751. Use a fresh nsFrameConstructorState when we construct new frames in ReconstructDocElementHierarchyInternal, so internal state pointing to deleted frames is flushed out. r+sr=bzbarsky 2008-11-26 11:12:06 +13:00
Robert O'Callahan
3f3b6013d1 Bug 454959. When a document is in a floating view, floating-ness doesn't propagate across view manager boundaries. So use the display-root view as the place to invalidate from. r+sr=bzbarsky 2008-11-26 11:09:37 +13:00
Robert O'Callahan
a2ca51eb94 Bug 444375. Take TEXT_HAS_TRAILING_BREAK into account when computing min-width for text which has entirely collapsed away. r=smontagu 2008-11-26 11:08:19 +13:00
L. David Baron
5be1b4ba70 Make mochitests not build and search the results table when run inside the harness. (Bug 466104) r=sayrer a=tests 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
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
4c4b3cbb89 Remove gfxFontLoaderContext, which seems to be replaced by gfxUserFont::LoaderContext. (Bug 457821) r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -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
b2d5d794fb Add tests for dynamic changes to @font-face. (Bug 457821) a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
e237592e8d I meant to use Mark2A rather than MarkB in prop-order-over-rule-order* tests (thanks to karlt for pointing out the problem). And, while I'm here, make a second multiple-in-family test variant so we don't lose any test coverage from the correction. a=tests
--HG--
rename : layout/reftests/font-face/multiple-in-family-1.html => layout/reftests/font-face/multiple-in-family-1b.html
2008-11-25 13:27:54 -08:00
L. David Baron
50244a3fdd 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 13:27:54 -08:00
L. David Baron
dc119e5622 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 13:27:54 -08:00
L. David Baron
3cd243672f 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 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