Commit Graph

610 Commits

Author SHA1 Message Date
Robert O'Callahan
ec55ad45cf Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. r=smontagu 2009-01-09 13:13:45 +13:00
Robert O'Callahan
6b943be957 Backed out changeset 5041ce453104 2009-01-08 23:19:21 +13:00
Zack Weinberg
25f522098f Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
--HG--
extra : rebase_source : ec710fd6f83332fcecaa926b1f0ec07e4d2e3635
2009-01-08 21:10:21 +13:00
Boris Zbarsky
95874e95d3 Bug 472500. Allow generated content on XUL frames. r+sr=roc 2009-01-07 18:22:08 -05:00
Robert O'Callahan
fc6a9b80a5 Disable reftests with random failures (probably) exposed by invalidation-reftest system 2009-01-06 21:54:02 +13:00
Robert O'Callahan
b4af72fc54 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
Boris Zbarsky
5f9f12e3db Adding a test 2009-01-05 14:08:16 -05:00
Boris Zbarsky
9fcdc6e542 Adding test 2009-01-05 13:32:00 -05:00
Daniel.S
409d9a892a Bug 389623 - box with background-attachment:fixed goes on top of floats; reftest; r+sr=dbaron 2009-01-02 07:21:30 +01:00
Daniel.S
5fe3c82ff6 Bug 240029 - table in this page incorrectly off right edge of page when fonts are small; r+sr=dbaron 2009-01-01 15:00:15 +01:00
Mats Palmgren
895369cbd3 Reftest for bug 302379. 2008-12-31 17:38:00 +01:00
L. David Baron
c48e8cee0e Fix regression in CalcQuirkContainingBlockHeight from change from area frame to block frame in bug 243519. (Bug 471356) r+sr=roc 2008-12-29 10:07:38 -05:00
Mats Palmgren
201ead948a Additional tests for clip property. (Bug 372063) 2008-12-29 10:07:38 -05:00
Robert O'Callahan
5625c48582 Bug 458296 --- fix reference test name 2008-12-29 22:31:48 +13:00
Robert O'Callahan
0731a2c4f4 Bug 458296. When a block doesn't carry out the bottom-margin of its children, add that bottom-margin to its overflow area. Also, add the bottom-padding of a scrolled block to its overflow area. r+sr=dbaron 2008-12-29 21:18:40 +13:00
L. David Baron
16aba7fd6b Set up image loaders before reflow for border-image in XUL just like for HTML. (Bug 468473) r+sr=roc 2008-12-23 09:06:56 -05:00
dolphinling
6c0238bf8b Adding test 2008-12-22 13:08:38 -08:00
Serge Gautherie
98e21ae301 Backed out changeset: 4fbb9483d7e6 2008-12-20 04:59:56 +01:00
Zack Weinberg
6e87ad1067 Bug 456219 - fix background clipping with rounded corners; r+sr=roc 2008-12-20 01:55:59 +01:00
Robert O'Callahan
ed66190092 Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
L. David Baron
3ca4fcee61 Merge backout of changeset 5bf3661db065 (Bug 454349) due to Windows reftest failures. 2008-12-16 18:19:00 -08:00
L. David Baron
db94b8d7d7 Backed out changeset 5bf3661db065 (Bug 454349) due to Windows reftest failures. 2008-12-16 18:15:38 -08:00
L. David Baron
3e5f6435ab Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
--HG--
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/421203-3.xul
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/421203-4.xul
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/421203-5.xul
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/421203-6.xul
2008-12-16 16:30:31 -08:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
af4589e214 Paint different backgrounds behind the reftest test and references to detect areas that are not painted at all. (Bug 454349) r=dbaron 2008-12-16 16:30:30 -08:00
Robert O'Callahan
a3a3951684 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
Robert O'Callahan
10f2d6de05 Bug 466268. Fix cairo-win32 bug that needed MOD but was using the C % operator. r=jmuizelaar 2008-12-08 13:54:10 +13:00
L. David Baron
5ef811c47a Make incremental frame construction set mFixedPosIsAbsPos just like from-the-top frame construction. (Bug 467460) r+sr=roc 2008-12-04 08:09:53 -08:00
L. David Baron
b9d0715bd4 Avoid discontinuity when options drop to height:0 by using CalcFallbackRowHeight only when GetNumberOfOptions() == 0, thus eliminating the last caller of CalcFallbackRowHeight passing a non-zero option count. (Bug 467084) sr=roc r=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Simon Montagu
6780389753 Reftests for bug 418574 2008-12-02 23:04:39 -08:00
L. David Baron
16009115b3 Use larger values for no-minimum and no-maximum so that we don't cross them. (Bug 466395) r+sr=roc a191=beltzner 2008-11-27 20:08:32 -08:00
Robert O'Callahan
8ff4467f78 Bug 457398. Don't treat empty lines as the first line for text-indent or first-letter/first-line purposes. r+sr=dbaron 2008-11-27 10:44:47 -08: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
Brad Lassey
ea8dd114d1 backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp. 2008-11-26 12:20:26 -05:00
Brad Lassey
9491b0201f merge 2008-11-26 10:08:45 -05: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
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
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
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
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
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
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
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
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
Robert O'Callahan
6303f1ce0f Bug 463204. Be more careful about snapping the anchor point. We must transform the anchor point to match the snapping of the fill rect before we actually snap it to device pixels. r+sr=dbaron 2008-11-07 13:58:42 +13:00
Robert O'Callahan
b781aa0ad5 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
L. David Baron
e56f086139 Don't eat up too much when we hit an error in the last media query in a list. (Bug 461266) r+sr=bzbarsky 2008-11-02 11:44:56 -08:00
Zack Weinberg
679447bf82 Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc 2008-10-30 12:54:58 +03:30
Serge Gautherie
84d77d1fc8 Disable failing new test from
Bug 461512 - nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset)
2008-10-28 04:42:55 +01:00
Masayuki Nakano
2a195344de Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc 2008-10-28 11:05:38 +09:00
Zack Weinberg
b7aed62d25 Bug 228856 - [FIX] \0 in CSS is ignored; r+sr=dbaron 2008-10-23 18:29:24 +02:00
Jesse Ruderman
b5fce63981 Add reftest for bug 252920 2008-10-18 20:04:47 -07:00
Bernd
ffc4c848b4 trigger fixed layout if the width cahnges from auto to fixed, bug 426629r/sr=dbaron 2008-10-18 19:25:26 +02:00
Boris Zbarsky
d4e731a68c Bug 442542. Make sure to reflow our possibly-size-dependent abs pos kids on the followup reflow that happens if clearance is discovered. r+sr=roc 2008-10-15 16:30:42 -04:00
Mats Palmgren
0e2cd0e161 Testcase for bug 203727. 2008-10-11 03:41:31 +02:00
Vladimir Vukicevic
cb575d2878 b=448193, 3d border effects missing with moz-border-radius; r=zweinberg 2008-10-09 14:49:15 -07:00
Boris Zbarsky
11c7a6ff2f Bug 452964. Don't flag pseudo-frames wrapping generated content as themselves being generated content, since they might be shared with non-generated content. r+sr=roc. 2008-10-07 14:53:22 -04:00
Boris Zbarsky
b28b834ff8 Bug 456484. Kids of an inline-block that has overflow:'something other than visible' should not necessarily shrink-wrap. r+sr=roc 2008-10-07 14:53:22 -04:00
Vladimir Vukicevic
2e98b20f18 Mark reftest for bug 456147 as failing on Mac; problem isn't caused by this bug but by an unknown earlier regression 2008-10-01 12:11:36 -07:00
Zack Weinberg
62dec54d8c Bug 456147 - Fix color and layering of text-decoration:line-through in XUL textboxes [r=enndeakin sr=dbaron] 2008-10-01 00:46:18 -05:00
L. David Baron
bb1dbb4eec For fixed-layout tables, leave room for the cell spacing for all columns, whether they have cells originating in them or not, since we don't know if cells for those columns will arrive as the table loads incrementally. (Bug 444928) r=bernd sr=roc 2008-09-24 10:14:35 -07:00
Olli Pettay
022e3032e0 backout Bug 456147 2008-09-20 23:01:34 +03:00
Zack Weinberg
8a68981404 Bug 456147 - nsTextBoxFrame (XUL <label>, <description>, <text>) uses underline color for line-through; r=enndeakin 2008-09-20 20:09:15 +02:00
Bernd
5afcd8c5a4 make sure that the height from a fixed height tbody gets distributed, bug 439639, r=dholbert, sr=roc 2008-09-20 11:30:30 +02:00
Boris Zbarsky
ba7a7fd7fd Adding test 2008-09-19 09:52:16 -04:00
Jesse Ruderman
5e293ad348 Another try at fixing this test (bug 450637 comment 28) 2008-09-16 15:32:50 -07:00
Robert O'Callahan
be33d80a1a Bug 455280. Distinguish pre-transform overflow area from post-transform overflow area and have nsDisplaySVGEffects use the pre-transform area. r=kschwarz,sr=dbaron 2008-09-16 13:51:52 +12:00
Bernd
3df8e64982 CSS 2.1 empty-cell handling of the excotic cases, bug 76331, r/sr=roc 2008-09-13 16:38:29 +02:00
Mats Palmgren
2a5d48aacb Test for bug 454361. 2008-09-12 03:37:02 +02:00
Boris Zbarsky
c718d157e0 Removing stray '+' 2008-09-10 01:13:38 -04:00
Boris Zbarsky
e2a7d5fe50 Bug 449171. Fix bogus assertion. r+sr=dbaron 2008-09-09 21:39:38 -04:00
Robert O'Callahan
cddb22d87c Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-08 20:13:17 +12:00
Jesse Ruderman
3dfe222dd8 Try re-enabling reftests that used to turn Windows red (409150). 2008-09-07 19:25:12 -07:00
Robert O'Callahan
ea7596e60c Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures 2008-09-07 00:35:20 +12:00
Robert O'Callahan
f7339a0460 Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-06 21:35:05 +12:00
Simon Montagu
7d27e3c620 Test cases for bug 116882 2008-09-03 22:46:32 +03:00
Bernd
2020f8d70c accumulate margins as they might be overconstrained bug 444015 r/sr=dbaron 2008-08-30 18:25:38 +02:00
Bernd
321a788704 CSS 2.1 compliance empty-cells does not apply in border-collapsed tables, initial patch by William Wedin, bug 392047, r/sr=roc 2008-08-26 09:59:34 +02:00
Reed Loden
4035a62e14 Add reftest to reftest.list 2008-08-19 22:51:43 -05:00
Benjamin Smedberg
9348662846 Backed out changeset fb099f5a4d32 due to windows test failure... the headers are misaligned pretty badly. 2008-08-19 14:38:06 -04:00
Teune van Steeg
90db55ade4 Bug 404816 reftests, r=roc 2008-08-19 12:16:30 -04:00
Martijn Wargers
f0b88f7d3d Bug 449653. Make drawWindow work even inside an onload handler (so before we've unsuppressed painting), r+sr=roc 2008-08-18 15:09:17 -04:00
Robert O'Callahan
0f9e4e319d Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky 2008-08-18 13:16:42 +12:00
Robert O'Callahan
86e7983c19 Bug 423823. Clip overflowing background when tbody is scrollable. r=fantasai,sr=dbaron 2008-08-16 21:10:29 +12:00
Robert O'Callahan
7dd66f45b7 Bug 450670. Avoid conflicts in textframe state bits, urk. r=smontagu 2008-08-16 21:06:21 +12:00
Martijn Wargers
a09c45c51d Reftests for bug 441703 - direction attribute of marquee should be case-insensitive (for selector matching) 2008-08-15 23:22:26 +02:00
Robert O'Callahan
96e07add82 Bug 449519. Make text-shadow code compute the right areas for RTL. r=smontagu 2008-08-15 22:12:39 +12:00
Robert O'Callahan
b74b2f791f Bug 411059. Take preformatted tabs into account when computing the min and pref widths for text. r=smontagu 2008-08-15 22:10:33 +12:00
Robert O'Callahan
3976bbe726 Bug 413048. Disable float breaking in columns. r+sr=dbaron 2008-08-12 21:32:10 +12:00
Robert O'Callahan
4d9c5e19b6 Bug 441259. Account for trimmable width when deciding whether we can place a float on the line. Also, only try to place a float at a point where we can have a line break. r+sr=dbaron 2008-08-12 21:29:35 +12:00
Robert O'Callahan
412609685e Bug 438987. Propagate background color correctly when the root element is a table. Relanding with a crash fix. r+sr=dbaron 2008-08-08 20:21:13 +12:00
Boris Zbarsky
e802f1d69d Bug 210094. Make min-height and max-height work on fieldset. r+sr=dbaron 2008-08-08 01:18:00 -04:00
Boris Zbarsky
edb33ffe21 Adding test 2008-08-08 00:55:50 -04:00
Robert O'Callahan
18e74a0f2d Bug 438987, backing out 2008-08-08 15:34:43 +12:00
Robert O'Callahan
d75aff2db8 Bug 438987. Propagate background color correctly when the root element is a table. r+sr=dbaron 2008-08-08 13:52:41 +12:00
Mats Palmgren
c45157cc43 Oops, forgot that this test needs privileges. Disable it for now. 2008-08-07 18:04:29 +02:00
Mats Palmgren
c7c66f0b12 Test for bug 448987. 2008-08-07 16:44:24 +02:00