Commit Graph

571 Commits

Author SHA1 Message Date
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
1fc2b2455f Forgot to take out the style 2008-08-08 02:22:11 -04: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
Mats Palmgren
b98942ebaf Test for bug 428278. 2008-08-07 16:21:10 +02:00
Robert O'Callahan
e6245e9ce2 Bug 238072 backout 2008-08-07 22:22:08 +12:00
Robert O'Callahan
da39ecdce6 Bug 238072, fix test file I forgot to move
--HG--
rename : layout/reftests/bugs/374193-1xbl.xml => layout/base/crashtests/374193-1xbl.xml
2008-08-07 15:08:49 +12:00
Robert O'Callahan
8ad3721594 Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron 2008-08-07 13:18:24 +12:00
Boris Zbarsky
8b852d60e9 Adding test 2008-08-05 01:35:01 -04:00
Graeme McCutcheon
5f935257f5 Disable the test for now, since reftest can't get the privileges it needs. 2008-07-31 11:23:29 -07:00
Asaf Romano
86d6cde299 Bug 263683 - Findbar's Highlight feature should not manipulate the DOM. Patch by Graeme McCutcheon <graememcc_firefox@graeme-online.co.uk>, r=me,roc. sr=roc. 2008-07-30 23:48:56 +03:00
Robert O'Callahan
cb0cabc5be Bug 431341. Include floating first-letter text when we build textruns for a paragraph, because we want nsLineBreaker to see the text for capitalization analysis. Make sure that textrun construction for floating first-letter text uses the block as its scope. And make sure we reconstruct textruns after determining the first-letter length, so that ligatures are broken as necessary. r=smontagu 2008-07-29 22:11:26 -07:00
Robert O'Callahan
d7dcf6eeb2 Bug 419285. nsCSSFrameConstructor should stop looking for first-letter content after a <br>. r+sr=dbaron 2008-07-29 22:02:00 -07:00
Boris Zbarsky
cdd7ce070b Bug 431520. Don't do first-line styling on fieldsets, because it confuses the legend code, and it's not clear what it should even do. r+sr=dbaron 2008-07-28 23:08:57 -07:00
Robert O'Callahan
bfec0e91fa Backing out bug 431341 2008-07-25 00:33:05 +12:00
Robert O'Callahan
bf65b988d8 Bug 431341. Let textrun construction descend into first-letter frames so that the correct capitalization state is constructed in nsLineBreaker. r=smontagu 2008-07-24 20:39:53 +12:00
Zack Weinberg
2103ba64ef Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
L. David Baron
871adc9d57 Make less restrictive assumptions about how big a 'ch' unit is relative to the line-height (assuming 4ch greater than the line height, rather than assuming 2ch is). (Bug 363706) 2008-07-15 14:31:36 -07:00
Sylvain Pasche
8e13a26f87 Bug 438679 – Remove some duplicate reftest manifest entries. r=dbaron 2008-07-12 12:49:58 +02:00
Daniel Holbert
783f0d51f8 (No code changes) Change a bunch of non-executable files in layout/ to have non-executable mode.
Filetypes changed: .cpp .gif .h .html .list .png .svg .x-ccmap .xbl .xhtml .xul
2008-07-11 11:54:06 -07:00
Mats Palmgren
7f961e93b0 Fix and re-enable reftest for bug 433700. 2008-07-09 22:25:29 +02:00
Mats Palmgren
dbee45048b Temporarily disable reftest for bug 433700 since it fails on qm-win2k3-03. 2008-07-09 19:19:37 +02:00
Mats Palmgren
0f868c4acb Reftest for bug 433700. 2008-07-09 17:43:52 +02:00
L. David Baron
01cd70b583 Add reftest for the nesting case in bug 424236. 2008-07-08 13:46:56 -07:00
Masayuki Nakano
bcf4622ee8 Bug 436356 Bullet lists does not display correctly, works in FF 2 p=Atsushi Sakai, r+sr=roc 2008-07-03 14:49:24 +09:00
Simon Montagu
7eb12fe091 Reftest for bug 109735 2008-06-25 02:41:26 -07:00
Michael Ventnor
18e638d642 Bug 440112, Form elements are not hidden behind overlapping parent with overflow:hidden, r+sr=roc 2008-06-23 11:30:07 +03:00
Robert O'Callahan
efc2f0abe2 Bug 438981. The canonical 'body element' must be the first 'body' child. 2008-06-23 10:38:29 +12:00
Simon Montagu
5e9bee9eb7 reftest for bug 439910 2008-06-19 12:36:42 +03:00
L. David Baron
b5775b09ed Mark reftest added for bug 363706 as failing. 2008-06-17 16:11:45 -07:00
L. David Baron
87ff824652 Add basic test for bug 363706. 2008-06-17 14:37:56 -07:00
Robert O'Callahan
9915b4d25f Bug 421436. Remove hack that gives <br> 1-appunit width in standards mode; it's no longer necessary and it can cause subtle bugs. r+sr=dbaron 2008-06-14 20:48:07 +12:00
Robert O'Callahan
5cc4ce74b7 Bug 439004. Check whether there's logically empty content already placed on the line instead of just checking whether the line has advanced horizontally. r+sr=dbaron. 2008-06-14 20:28:07 +12:00
Robert O'Callahan
446ada92bc Allow floats to be placed on the current line even after nonzero-width inline content has been placed. Fixes an Acid3 layout bug. r+sr=dbaron 2008-06-11 11:53:22 +12:00
L. David Baron
3b97746336 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
0b3d9b76cc b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
89077a365d Snap background origin and clip areas to device pixels to prevent tiling from varying for subpixel position changes that don't change the box's visible position at all. Tests by roc (433640-*) and me (background-image-tiling-*). b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
8a92bdecfb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
L. David Baron
23d4d9af06 Add reftests for bug 399636. 2008-06-02 15:52:25 -07:00
Vladimir Vukicevic
fcccf788ee b=432954, disable reftest 413292-1.html; r=roc 2008-05-13 11:42:18 -07:00
Vladimir Vukicevic
d2d15ec07a b=432288, mozilla-central win32 build failing reftest 429849-1.html; r=roc 2008-05-13 11:42:16 -07:00
dbaron@dbaron.org
31fad3f842 Compute widths for replaced block clearing past floats once we're at the correct vertical position. b=430813 r+sr=roc a=schrep 2008-05-03 16:33:36 -07:00
dbaron@dbaron.org
f7b9b7673b Fix extra block-clearing caused by margins on tables. b=430813 r+sr=roc a=damon 2008-05-01 08:14:36 -07:00
gavin@gavinsharp.com
8030141361 Bug 429849: marquee text not on one line , part of this line on top and second part on bottom, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 10:09:09 -07:00
Olli.Pettay@helsinki.fi
2e5ae015ff backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu
471d67b7c4 Fixing bustage 2008-04-25 03:17:12 -07:00
roc+@cs.cmu.edu
914869aff7 Bug 430465. Don't round source coordinates in the tiled-image-drawing path. r=vlad,a=beltzner 2008-04-25 02:40:04 -07:00
dholbert@cs.stanford.edu
5e90a6931d Bug 428521: Allow DistributeWidthToColumns to complete BTLS_PREF_WIDTH runs in situations with guess_min < aWidth <= guess_pref. (Reverts optimization from 368504 in which I'd thought that a run with aWidth <= guess_pref would be skippable) r+sr=dbaron a=beltzner 2008-04-24 11:48:34 -07:00
roc+@cs.cmu.edu
f08441cfbe Bug 430412. Don't bother showing a scrollbar if there's less than one device pixel to scroll into view. r+sr=bzbarsky,a=beltzner 2008-04-24 01:14:06 -07:00
jonas@sicking.cc
c7c8c617b2 Change reftest and crashtest in preparation for bug 379959 to not use data-urls for -moz-binding. r=dholbert. Test changes only. 2008-04-23 21:41:33 -07:00
jruderman@hmc.edu
2e7b3c3587 Add reftests 2008-04-22 22:00:19 -07:00
dholbert@cs.stanford.edu
cd2cd226bc Bug 409084: When determining if a row or rowgroup isTopOfPage, check if the previous row has positive YMost, rather than just checking if there *is* a previous row. r=bernd sr=dbaron a1.9=beltzner 2008-04-17 11:18:41 -07:00
bzbarsky@mit.edu
d0934d18ac display:block legends should still shrink-wrap. Bug 428423, tests by dholbert, r=dholbert, sr=dbaron, a=beltzner 2008-04-16 09:07:27 -07:00
roc+@cs.cmu.edu
4f03ff6841 Bug 427730. Make text for ATSUI layout end in ' ' or ' .' instead of '.', to ensure the last character isn't treated as the start of a kerning pair. r=jdaggett,sr=vlad,a=beltzner 2008-04-14 18:48:19 -07:00
roc+@cs.cmu.edu
005cb0775b Bug 399258. nsCSSRendering::PaintBorder should not try to optimize away the case where the dirty rectangle is inside the element's padding-rect, because border-radius can make the border appear inside the padding-rect. nsDisplayBorder::OptimizeVisibility does this optimization correctly already so just remove it from PaintBorder. r+sr=vlad, a=damon 2008-04-14 18:41:12 -07:00
dbaron@dbaron.org
0cc180b641 Fix bug 427129 / 377664: When displacing blocks that don't interact with floats around floats, displace the border box rather than the margin box. Fix bug 427782: Simultaneously, only displace when the width actually won't go down to an amount that fits (i.e., if it will go to an amount smaller than the intrinsic minimum width, let it). b=427129 r+sr=roc a=schrep 2008-04-14 18:05:17 -07:00
mats.palmgren@bredband.net
5a624fe0b5 The position of an outside bullet should not be affected by floats inside the principal block (this fixes most cases). b=427370 r+sr=dbaron a1.9=beltzner 2008-04-13 10:43:12 -07:00
dholbert@cs.stanford.edu
8a24231d01 Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner 2008-04-11 22:32:49 -07:00
martijn.martijn@gmail.com
ffaf94a900 Extra reftest for bug 413027 - Marquee height is sized too small, clipping text vertically, a=beltzner 2008-04-10 16:17:20 -07:00
karlt+@karlt.net
16859d81d6 Tweak reftest again for aveCharWidth wide enough for numerals. b=410405 2008-04-08 23:57:34 -07:00
dholbert@cs.stanford.edu
1dc4ccf228 Bug 421710: Adding assertion reftest 2008-04-08 14:33:32 -07:00
gavin@gavinsharp.com
58eef70779 Re-land the part of bug 295994 that removes the reference to the removed test, since I didn't re-add it in my initial backout 2008-04-08 13:57:17 -07:00
gavin@gavinsharp.com
0ab8b765bb Back out patch for bug 295994 2008-04-08 13:50:00 -07:00
dbaron@dbaron.org
646994512a Don't let columns with no cells originating in them expand in the pass for expanding zero-width columns. b=425972 r=dholbert sr=roc a=blocking1.9+ 2008-04-08 12:07:16 -07:00
reed@reedloden.com
dce1fd1773 Bug 423833 - "Show Only This Frame code uses about: url for error pages, instead of original site url" [p=johnath@mozilla.com (Johnathan Nightingale [johnath]) r=Mano a=blocking-firefox3+] 2008-04-08 11:48:34 -07:00
roc+@cs.cmu.edu
4f41c023e3 Disabling failing test. It's not the important one here anyway. 2008-04-08 06:42:36 -07:00
roc+@cs.cmu.edu
2e1111534b Bug 411585. Traverse all pages after the current page when painting a page, to locate placeholders that we need to traverse in order to paint out-of-flows on the current page. r+sr=dbaron 2008-04-08 06:06:12 -07:00
roc+@cs.cmu.edu
d0931d8767 Bug 422678. Table rows whose style-height doesn't fit in the available height (but whose cells do) should be marked incomplete during reflow. r=bernd,sr=dbaron 2008-04-08 05:28:34 -07:00
vladimir@pobox.com
abe9217220 Revert incorrect commenting out of test 2008-04-07 13:27:20 -07:00
vladimir@pobox.com
1839ddc852 temporarily disable this reftest -- see bug 427480 2008-04-07 00:36:24 -07:00
bmlk@gmx.de
8e66beaecd initialize all border parameters so that the border is initialized even for empty rowgroups bug 424434 r/sr=bzbarsky a=mtschrep 2008-04-06 05:12:04 -07:00
roc+@cs.cmu.edu
a9f7ac7267 Bug 424710. Make sizing of abs-pos frames whose container is the initial containing block sane and consistent with Firefox 2, while still incorrect. r+sr=dbaron 2008-04-06 03:03:41 -07:00
dbaron@dbaron.org
891467d3f4 Disable a small part of the fix for bug 416168 to fix a regression with outlines of certain empty inlines. b=424236 r+sr=roc a=blocking1.9+ 2008-04-05 20:55:15 -07:00
roc+@cs.cmu.edu
ee4aefc695 Mark passing reftests as expected to pass 2008-04-01 17:11:44 -07:00
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
7ffca204c7 Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:40:02 -07:00
uriber@gmail.com
93c58b6cbd Only join ancestor inline frames for frames that are last children. bug=424631, r=smontagu, sr=dbaron, blocking1.9=vladimir 2008-03-27 12:27:32 -07:00
dtownsend@oxymoronical.com
d4be62f77d Marking test from bug 424074 as failing on linux 2008-03-27 02:17:19 -07:00
joshmoz@gmail.com
2b63edc0c2 Scrollbar thumb is drawn with wrong size for custom scrollbars. b=424074 r=josh sr=vlad 2008-03-26 22:36:20 -07:00
jruderman@hmc.edu
c46802513e Add reftest 2008-03-26 20:25:24 -07:00
jruderman@hmc.edu
f2aede83f9 Add reftest (mostly for an assertion, but also making sure it's blank) 2008-03-26 17:01:27 -07:00
karlt+@karlt.net
a2ecae57ca Need some space between the overline and "h" for Mac's fonts and antialiasing. 2008-03-25 19:51:45 -07:00
karlt+@karlt.net
a15b004ac1 Bug 421955: combining mark at start of text run rendered as NUL hex box or garbage 2008-03-25 18:30:39 -07:00
reed@reedloden.com
4167b1253b Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner] 2008-03-25 16:19:46 -07:00
uriber@gmail.com
a35f550c56 Reftest for bug 423676 2008-03-25 13:07:16 -07:00
reed@reedloden.com
5e63772b54 Back out Robert O'Callahan's patch from bug 423385 due to mochitest failure. 2008-03-24 23:26:53 -07:00
reed@reedloden.com
9d3d47e5fe Bug 417178 - "Google reader does not show subscribed topics in ff3b3 at certain zoom levels" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=mconnor] 2008-03-24 21:55:47 -07:00
reed@reedloden.com
1791d22006 Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner] 2008-03-24 21:50:12 -07:00
dholbert@cs.stanford.edu
2de08e5ba8 Bug 423599: Make native theming stuff use full padding when in XUL, and reduced padding when in HTML. Patch by _FrnchFrgg_ <frnchfrgg-mozbugs@altern.org>, r=ventron sr=vlad a1.9b5=beltzner. Reftest by me, r=bz a1.9b5=beltzner 2008-03-24 17:34:27 -07:00
reed@reedloden.com
afc1413921 Back out Robert O'Callahan's patch from bug 417178 due to mochitest failure. 2008-03-24 01:41:13 -07:00