11096 Commits

Author SHA1 Message Date
dbaron%dbaron.org
c82ed2c978 Back out 266930 because SVG still modifies the ua.css in dist.
git-svn-id: svn://10.0.0.236/trunk@165955 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 19:41:55 +00:00
bzbarsky%mit.edu
98e8d59a4a Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165948 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 18:30:58 +00:00
dbaron%dbaron.org
5096bc252b Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@165932 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 06:04:04 +00:00
bzbarsky%mit.edu
9d9fbba5d2 Fixing build bustage. Bug 263581.
git-svn-id: svn://10.0.0.236/trunk@165909 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 22:29:06 +00:00
bzbarsky%mit.edu
18b7766c94 Final fix for bug 263581 -- pre-dirty wrapped lines with dirty continuations,
if needed, before entering the loop over lines.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@165906 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 22:02:11 +00:00
smontagu%smontagu.org
9edf6384c3 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165899 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 20:28:46 +00:00
ginn.chen%sun.com
5cefdafe85 Bug 256835 [crash]ctrl+left cause crash in bugzilla
[@ nsTextFrame::PeekOffset ] [@ ntdll.dll - nsFrame::GetFrameFromDirection ]
r=aaronleventhal sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165872 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 02:13:17 +00:00
mats.palmgren%bredband.net
7e7b69f2ba Fix margin-right for ::first-letter. b=60289 r=rbs sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165843 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-28 02:17:42 +00:00
mats.palmgren%bredband.net
999f9c93d7 Implement CSS2.1 10.3.7, shrink-to-fit for abs.pos. elements. b=201897 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165820 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 23:28:09 +00:00
mats.palmgren%bredband.net
b9fa4efa1b Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165817 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 20:39:30 +00:00
roc+%cs.cmu.edu
d6143a38f4 Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165810 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 18:40:58 +00:00
ginn.chen%sun.com
520db24a83 Bug 256833 Right arrow skips some text after <HR>
r=aaronleventhal sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165797 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 05:51:36 +00:00
dbaron%dbaron.org
c3a4ca29a1 Comment why resize reflow optimization is broken.
git-svn-id: svn://10.0.0.236/trunk@165796 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 02:31:58 +00:00
roc+%cs.cmu.edu
474bdee350 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
git-svn-id: svn://10.0.0.236/trunk@165795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 02:03:24 +00:00
roc+%cs.cmu.edu
cebdd644df Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@165783 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 16:52:46 +00:00
roc+%cs.cmu.edu
d4a6c32e7b 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
git-svn-id: svn://10.0.0.236/trunk@165781 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 14:51:00 +00:00
bzbarsky%mit.edu
563abfec2c First cut at not having a O(N^2) algorithm for WrappedLinesAreDirty(). Bug
263581, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165767 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:54:58 +00:00
bzbarsky%mit.edu
4c07e20fbe 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


git-svn-id: svn://10.0.0.236/trunk@165766 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:43:28 +00:00
roc+%cs.cmu.edu
cc8218faa2 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
git-svn-id: svn://10.0.0.236/trunk@165762 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 00:11:35 +00:00
roc+%cs.cmu.edu
0ce7145190 Bug 269905. Remember emptiness state on line boxes, but be selective about to to minimize the invalidation burden. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165713 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 13:22:10 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
4da6d417c5 Fixing build bustage. I have no idea how gcc 3.2 managed to build this... Bug
269697


git-svn-id: svn://10.0.0.236/trunk@165650 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 18:23:12 +00:00
bzbarsky%mit.edu
91c825c2cc Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@165646 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
067c70d127 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
tor%cs.brown.edu
d0fcc0b497 Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165632 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 13:51:57 +00:00
smontagu%smontagu.org
ba8768a8b1 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.
git-svn-id: svn://10.0.0.236/trunk@165628 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 09:42:23 +00:00
bzbarsky%mit.edu
a37e7c24da Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@165565 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 02:59:19 +00:00
jshin%mailaps.org
44363fac1b get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry)
git-svn-id: svn://10.0.0.236/trunk@165496 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:32:28 +00:00
jshin%mailaps.org
e9432dbeae bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc)
git-svn-id: svn://10.0.0.236/trunk@165494 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au
64635379a7 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165418 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 04:12:02 +00:00
rbs%maths.uq.edu.au
f2ee68ca0b Crash due to buffer overrun on malformed URL with soft-hyphen characters, b=267669, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165411 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 22:43:06 +00:00
bryner%brianryner.com
825da8256d Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165400 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 18:07:13 +00:00
bryner%brianryner.com
87b5cad1f0 Testing whether this QI is responsible for the Tp increase on btek.
git-svn-id: svn://10.0.0.236/trunk@165396 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 08:28:26 +00:00
bryner%brianryner.com
b571a18dfa Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally.
git-svn-id: svn://10.0.0.236/trunk@165395 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
14b137de99 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165384 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 02:20:37 +00:00
timeless%mozdev.org
4ea97b3413 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


git-svn-id: svn://10.0.0.236/trunk@165367 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 18:12:35 +00:00
roc+%cs.cmu.edu
05b0dbe26a Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
git-svn-id: svn://10.0.0.236/trunk@165364 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
7f490d3aac 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)
git-svn-id: svn://10.0.0.236/trunk@165349 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 20:22:58 +00:00
bmlk%gmx.de
b232386286 update the block overflow area if we shorten a cell in fixed layout, bug 266868 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@165348 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 14:47:59 +00:00
aaronleventhal%moonset.net
9faffb9ffc 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
git-svn-id: svn://10.0.0.236/trunk@165323 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 21:58:12 +00:00
neil%parkwaycc.co.uk
d220944b9d Install (symlink) ua.css rather than always copying it b=266930 r=bsmedberg sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165285 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 23:26:02 +00:00
smontagu%smontagu.org
d4954c0fc8 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165260 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:48:09 +00:00
bmlk%gmx.de
52743ec8c0 Split row groups works only for paginated media bug 268231 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165259 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:27:38 +00:00
aaronleventhal%moonset.net
2c7eca3827 Part of bug 250269. Outline missing on some elements. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165256 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:21:52 +00:00
aaronleventhal%moonset.net
59b589b964 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
tor%cs.brown.edu
d0993e942b Bug 240408 - allow SVG builds to handle SVG content in <html:embed> natively.
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@165214 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 19:02:52 +00:00
timeless%mozdev.org
d046585f1b Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan


git-svn-id: svn://10.0.0.236/trunk@165193 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 07:27:11 +00:00
darin%meer.net
3d52b0860b fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
bmlk%gmx.de
d17e10572f during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165055 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:07:43 +00:00
bzbarsky%mit.edu
69eb75b943 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


git-svn-id: svn://10.0.0.236/trunk@164930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 18:53:05 +00:00