Commit Graph

16577 Commits

Author SHA1 Message Date
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
gerv%gerv.net
670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
bmlk%gmx.de
3afdea9ca5 switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky 2004-12-01 18:47:34 +00:00
tor%cs.brown.edu
63185ce368 Bug 272425 - fix nsSVGInnerSVGFrame transformation ordering. r=jwatt. 2004-12-01 16:23:12 +00:00
aaronleventhal%moonset.net
d3e9a04f62 Bug 269212. CSS select:focus outline too large on combobox, extending past the right side. Make sure to FinishAndStoreOverflow() even if returning early from nsComboboxFrame::Reflow(). r+sr=roc 2004-12-01 16:17:44 +00:00
bzbarsky%mit.edu
05b01d4b46 Fix painting of backgrounds on scrollable rowgroups (which aren't kids of the
table, so require slightly more complicated computation of the coordinate
transformations).  Bug 267592, r=fantasai, sr=roc
2004-12-01 03:51:35 +00:00
dbaron%dbaron.org
f162e6b75d Do size adjustments for empty cells only when 'empty-cells' says empty cells don't have borders. b=271955 r=bernd sr=roc 2004-12-01 03:50:03 +00:00
bzbarsky%mit.edu
5d84790d77 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc
2004-12-01 03:28:44 +00:00
dbaron%dbaron.org
2b702a8ce5 Fix make install, patch from crispin@flowerday.cx. b=272151 2004-11-30 22:19:45 +00:00
dbaron%dbaron.org
18184d121e Back out 266930 because SVG still modifies the ua.css in dist. 2004-11-30 19:41:55 +00:00
smontagu%smontagu.org
52ff1c323f Prevent the right-to-left directional hook from overlapping the caret and make both directions thinner. Bug 264903, r=mkaply, aaronleventhal, sr=rbs. 2004-11-30 19:28:00 +00:00
dbaron%dbaron.org
c21915db9d Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu
da145480c7 Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
dbaron%dbaron.org
e2aa2edb92 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2004-11-30 06:04:04 +00:00
dbaron%dbaron.org
f94a5bc660 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky 2004-11-30 05:31:37 +00:00
bzbarsky%mit.edu
8aee5bd06a Fixing build bustage. Bug 263581. 2004-11-29 22:29:06 +00:00
bzbarsky%mit.edu
8134fe17e1 Final fix for bug 263581 -- pre-dirty wrapped lines with dirty continuations,
if needed, before entering the loop over lines.  r+sr=roc
2004-11-29 22:02:11 +00:00
smontagu%smontagu.org
5bff65e904 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc. 2004-11-29 20:28:46 +00:00
tor%cs.brown.edu
73a9432572 Set surface origin. 2004-11-29 18:53:37 +00:00
ginn.chen%sun.com
8c0e241876 Bug 256835 [crash]ctrl+left cause crash in bugzilla
[@ nsTextFrame::PeekOffset ] [@ ntdll.dll - nsFrame::GetFrameFromDirection ]
r=aaronleventhal sr=dbaron
2004-11-29 02:13:17 +00:00
mats.palmgren%bredband.net
5984611143 Skip leading space inside :not(). b=271916 r+sr=dbaron 2004-11-28 15:04:13 +00:00
mats.palmgren%bredband.net
2ea386e9aa Fix margin-right for ::first-letter. b=60289 r=rbs sr=dbaron 2004-11-28 02:17:42 +00:00
mats.palmgren%bredband.net
760b1b170b Implement CSS2.1 10.3.7, shrink-to-fit for abs.pos. elements. b=201897 r=bzbarsky sr=dbaron 2004-11-26 23:28:09 +00:00
mats.palmgren%bredband.net
6a6fc8d7ac Making invalid selectors ignore the following rule in more cases. b=265542 r=bzbarsky sr=dbaron 2004-11-26 21:05:45 +00:00
mats.palmgren%bredband.net
f98dac5a17 Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron 2004-11-26 20:39:30 +00:00
roc+%cs.cmu.edu
c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
ginn.chen%sun.com
59cfede2d2 Bug 256833 Right arrow skips some text after <HR>
r=aaronleventhal sr=dbaron
2004-11-26 05:51:36 +00:00
dbaron%dbaron.org
cbf3debd30 Comment why resize reflow optimization is broken. 2004-11-26 02:31:58 +00:00
roc+%cs.cmu.edu
b527d8f5e6 Bug 270804. Lines that we skipped reflowing during shrink-wrap-width block reflow may need to be reflowed if the shrink-wrap-width changes. r+sr=dbaron 2004-11-26 02:03:24 +00:00
roc+%cs.cmu.edu
4858a7c4ff Bustage fix. 2004-11-25 16:52:46 +00:00
roc+%cs.cmu.edu
13a6502805 Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron 2004-11-25 14:51:00 +00:00
tor%cs.brown.edu
8155af99e0 Fix canvas clipping order. 2004-11-25 12:35:33 +00:00
tor%cs.brown.edu
8786143978 Clip to canvas boundaries. 2004-11-25 03:42:55 +00:00
bzbarsky%mit.edu
17ca54b983 Fixing build bustage. Bug 263374 2004-11-25 02:58:01 +00:00
bzbarsky%mit.edu
0b677b9e39 First cut at not having a O(N^2) algorithm for WrappedLinesAreDirty(). Bug
263581, r+sr=dbaron
2004-11-25 02:54:58 +00:00
bzbarsky%mit.edu
1cb3693088 Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
roc+%cs.cmu.edu
40a410c03c Bug 264839. Don't let columns try a line-by-line search for the optimal height if we appear to be crawling through a frame that's continuously breakable. r+sr=dbaron 2004-11-25 00:11:35 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
dbaron%dbaron.org
4b47c345dd Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc 2004-11-24 22:05:36 +00:00
roc+%cs.cmu.edu
917ba5cead Bug 269905. Remember emptiness state on line boxes, but be selective about to to minimize the invalidation burden. r+sr=dbaron 2004-11-24 13:22:10 +00:00
neil%parkwaycc.co.uk
a45fb5a046 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
darin%meer.net
6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
bzbarsky%mit.edu
5c090d38bd Fixing build bustage. I have no idea how gcc 3.2 managed to build this... Bug
269697
2004-11-23 18:23:12 +00:00
tor%cs.brown.edu
15c27f5665 Bug 271174 - build problem with SUNWspro compilers. r=darin 2004-11-23 18:01:01 +00:00
tor%cs.brown.edu
a586fb7a82 Bug 271174 - build problem with SUNWspro compilers. r=darin 2004-11-23 17:58:30 +00:00
bzbarsky%mit.edu
095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
9e94a3b521 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
bzbarsky%mit.edu
6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
tor%cs.brown.edu
53255669fd Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc. 2004-11-23 13:51:57 +00:00
smontagu%smontagu.org
33a7df720e Make form controls, scroll boxes and columns inherit "unicode-bidi" correctly. Also force file inputs to have left-to-right directionality. Bug 267459, r=dbaron, sr=bzbarsky. 2004-11-23 09:42:23 +00:00
bzbarsky%mit.edu
7028f44696 Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa
2004-11-22 02:59:19 +00:00
tor%cs.brown.edu
5ebe551c2f Bug 267195 - implement svg opacity property. r=scooter 2004-11-19 22:52:15 +00:00
aaronleventhal%moonset.net
fa8a4835aa Bug 265940. Textfield doesn't scroll horizontally to left after backspace or left arrow. r=mats, sr=roc, a=asa 2004-11-19 03:49:20 +00:00
jshin%mailaps.org
7f32280119 get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry) 2004-11-19 03:32:28 +00:00
jshin%mailaps.org
0bce7f2fcb bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc) 2004-11-19 03:21:12 +00:00
shaver%mozilla.org
af61b217ff Bug 267352: make sure frame construction events are flushed before starting
to print, to fix regression (form inputs print blank) from 228557. r=darin,
sr=jst, a=roc.
2004-11-17 16:38:01 +00:00
rbs%maths.uq.edu.au
2013840a25 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky 2004-11-17 04:12:02 +00:00
rbs%maths.uq.edu.au
0fa5dc1b07 Crash due to buffer overrun on malformed URL with soft-hyphen characters, b=267669, r+sr=bz 2004-11-16 22:43:06 +00:00
bryner%brianryner.com
b8230b567b Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky 2004-11-16 18:07:13 +00:00
bryner%brianryner.com
40d10075b6 Testing whether this QI is responsible for the Tp increase on btek. 2004-11-16 08:28:26 +00:00
bryner%brianryner.com
4d7fcaaa94 Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally. 2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
8f7bf9d9b8 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron
2004-11-16 02:20:37 +00:00
timeless%mozdev.org
fa834e0b4c Bug 269922 /Users/timeless/mozilla/layout/html/base/src/nsObjectFrame.cpp:3931: warning: `void ConvertTwipsToPixels(nsPresContext&, nsRect&, nsRect&)' defined but not used
r=bz sr=bz
2004-11-15 18:12:35 +00:00
tor%cs.brown.edu
c7cea850ee Bug 267650 - crash if <svg:text> is stroked and has fill='none'.
Patch by jonathan.watt@strath.ac.uk, r=tor.
2004-11-15 13:55:34 +00:00
roc+%cs.cmu.edu
b7dfbedd1f Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in. 2004-11-15 05:01:11 +00:00
tor%cs.brown.edu
a4fd23d276 Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
roc+%cs.cmu.edu
fbb67978a5 Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp) 2004-11-14 20:22:58 +00:00
bmlk%gmx.de
cf27365150 update the block overflow area if we shorten a cell in fixed layout, bug 266868 r/sr=roc 2004-11-14 14:47:59 +00:00
aaronleventhal%moonset.net
add2b7a5d7 Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner 2004-11-12 21:58:12 +00:00
neil%parkwaycc.co.uk
5a8ea2c738 Install (symlink) ua.css rather than always copying it b=266930 r=bsmedberg sr=dbaron 2004-11-11 23:26:02 +00:00
smontagu%smontagu.org
bf4ea89835 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc. 2004-11-11 17:48:09 +00:00
bmlk%gmx.de
ce51183fce Split row groups works only for paginated media bug 268231 r/sr=bzbarsky 2004-11-11 17:27:38 +00:00
aaronleventhal%moonset.net
9f011feb30 Part of bug 250269. Outline missing on some elements. r+sr=roc 2004-11-11 15:21:52 +00:00
aaronleventhal%moonset.net
2ba6814444 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc 2004-11-11 15:07:22 +00:00
tor%cs.brown.edu
3b9813f31a Bug 240408 - allow SVG builds to handle SVG content in <html:embed> natively.
r=dbaron, sr=jst
2004-11-10 19:02:52 +00:00
timeless%mozdev.org
fb483e6b15 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
scott%scott-macgregor.org
903bd845ea Try landing the fix for infamous Bug #98564 again -->
caret overlaps the last character in textfield (if positioned after the last char)

r=smontagu
sr=sfraser

We think this patch can land again because the regression it introduced was fixed by
Bug #216101 which does a better job of clearing out caret fragments.
2004-11-10 07:14:08 +00:00
tor%cs.brown.edu
4dc9eba112 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
darin%meer.net
950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
bmlk%gmx.de
2eda0dd986 during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky 2004-11-06 07:07:43 +00:00
bzbarsky%mit.edu
b1ffcf0672 Fix parent frame determination for tables so that positioned tables end up with
the placeholder in the right place.  Bug 266850, r=mats.palmgren, sr=roc
2004-11-04 18:53:05 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
neil%parkwaycc.co.uk
07d61a2f74 Fix crash caused by destroying active popup menu b=266822 r+sr=roc 2004-11-04 14:11:06 +00:00
pkw%us.ibm.com
419d22bc83 Bug 267498 - Dialogs cutting off content
Patch contributed by Stephen Walker <sdwalker@myrealbox.com>
r/sr=roc@ocallahan.org
2004-11-03 23:31:17 +00:00
bzbarsky%mit.edu
7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
fcbe64e4d0 relanding fix for bug 265165 because it wasn't the source of Tp/Tdhtml regression 2004-11-03 12:20:13 +00:00
roc+%cs.cmu.edu
7582b05b06 Backing out fix for bug 265165 to see if it's the source of Tp/Tdhtml regression 2004-11-03 06:11:34 +00:00
roc+%cs.cmu.edu
82d2fed87b Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner 2004-11-03 02:52:16 +00:00
roc+%cs.cmu.edu
e3a829ac3e Bug 265165. For XUL elements, min-size should trump max-size not the other way around, according to CSS. But make it possible to set min-size to zero by setting it to 0% --- ugly hack until we get a better box-model spec. r+sr=bzbarsky 2004-11-03 02:32:00 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
tor%cs.brown.edu
c236c53ff3 Bug 134708 - SVG fragments should composite with background.
Patch by brians.bugs@gmail.com, r=tor.
2004-10-31 21:41:58 +00:00
dbaron%dbaron.org
976fc758a4 Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky 2004-10-31 17:33:50 +00:00
bmlk%gmx.de
38ed40934b fix build bustage 2004-10-31 16:55:12 +00:00
bmlk%gmx.de
68d0ad36e1 paint borders rtl in border collapsed tables when dir=rtl is specified for the table, initial patch by dbaron bug 174470 r/sr=dbaron 2004-10-31 15:52:52 +00:00
bzbarsky%mit.edu
6d088112bb Adding regression tests from bug 264914 2004-10-31 01:31:46 +00:00
bzbarsky%mit.edu
fa86106a4d Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
60e2f8a8ed Assert if someone calls frame->SetNextSibling(frame), since that creates a
looped linked list.  Bug 266332, patch by timeless, r+sr=bzbarsky
2004-10-30 18:37:35 +00:00
bzbarsky%mit.edu
630c5022f7 Add loop-detection to the various methods that can change an nsFrameList. This
will assert if a loop is detected.  Bug 266332, r+sr=roc
2004-10-30 18:35:53 +00:00
bzbarsky%mit.edu
cf0cf99c31 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc
2004-10-30 18:27:40 +00:00
bmlk%gmx.de
4f05ce3a62 change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky 2004-10-29 17:44:29 +00:00