Commit Graph

708 Commits

Author SHA1 Message Date
jwatt@jwatt.org
c644886ee5 Fixing bug 384591. Make nsSVGForeignObjectFrame.cpp easier to understand. r+sr=tor@acm.org 2007-06-21 16:01:10 -07:00
dbaron@dbaron.org
a2803faf25 Add reftest for bug 368155 from Ryan VanderMeulen <ryanvm@gmail.com>. r+sr=dbaron 2007-06-21 15:34:21 -07:00
dbaron@dbaron.org
ad3d506605 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
tor@cs.brown.edu
d22cf92ba6 Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc 2007-06-21 08:05:05 -07:00
tor@cs.brown.edu
2e18506291 Bug 382333 - update filter invalidation region before use. r=longsonr, sr=roc 2007-06-21 08:03:30 -07:00
longsonr@gmail.com
28b07366fc Bug 384637 - Self-referencing svg:mask causes stack overflow crash. r+sr=tor 2007-06-21 04:01:41 -07:00
neil@parkwaycc.co.uk
9b5434879e Bug 384874 Fix regression from previous patch for bug 382746 r=Enn sr=bz 2007-06-21 03:25:06 -07:00
Olli.Pettay@helsinki.fi
be8f9644bb Bug 384491, remove assertion when <xul:listboxbody style='overflow: hidden' />, r+sr=roc 2007-06-21 02:35:41 -07:00
sharparrow1@yahoo.com
7b70874e6a Mark passing testcases as such on mac (caused by checkin for bug 382092) 2007-06-20 23:09:32 -07:00
jwatt@jwatt.org
f8ae555c59 Fixing bug 385218. Remove nsISVGSVGElement. r+sr=tor@acm.org 2007-06-20 14:56:03 -07:00
roc+@cs.cmu.edu
fa68433e1f Bug 385234. Marking test as failure so we can reopen the tree after new-textframe landing. 2007-06-20 14:31:13 -07:00
roc+@cs.cmu.edu
8dbe06191f Bug 367177. (Re)enabling new-textframe. 2007-06-20 12:49:46 -07:00
jwalden@mit.edu
48ddf6ad09 C++ and/or gcc sucks for not allowing commas at the end of enums; this compiled in Visual Studio. 2007-06-19 22:24:09 -07:00
jwalden@mit.edu
8d353cbe72 Move frame bit #defines into an anonymous enum, to aid debuggers in determining their values, since the two I've used can't do so, at least not with the default build options. rs=roc 2007-06-19 22:12:35 -07:00
dbaron@dbaron.org
c5e11e3168 Mac-only, probably. 2007-06-18 16:53:06 -07:00
dbaron@dbaron.org
125bf117e9 Mark test as random for now. 2007-06-18 16:50:58 -07:00
dbaron@dbaron.org
3b94faebcf Back out patch to make mousethrough attribute apply to all elements. b=380094 a=roc 2007-06-18 16:22:46 -07:00
dbaron@dbaron.org
39a48943d0 Make marquee work again when direction is rtl, by working around changes to range of offsetLeft. b=336736 Patch by Daniel Holbert <dholbert@mozilla.com>. r=martijn sr=dbaron 2007-06-18 16:21:56 -07:00
dbaron@dbaron.org
2f78e9db17 Reftest for bug 381507. Patch by Daniel Holbert <dholbert@mozilla.com>. r=dbaron 2007-06-18 16:20:34 -07:00
dbaron@dbaron.org
3ee9b0de0f Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc 2007-06-18 16:19:39 -07:00
bzbarsky@mit.edu
1512b600e3 Don't tear down part of the content tree while there are still frames
referencing it.  Bug 384728, r+sr=tor
2007-06-18 08:30:57 -07:00
m_kato@ga2.so-net.ne.jp
c978630279 bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron 2007-06-17 07:00:30 -07:00
sharparrow1@yahoo.com
78559aa94e Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc. 2007-06-16 13:27:46 -07:00
bzbarsky@mit.edu
b689f46a37 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron
2007-06-15 22:12:58 -07:00
bzbarsky@mit.edu
96d924392f Fix parent style context warnings by being consistent about parent contexts.
Bug 380116, r+sr=dbaron
2007-06-15 22:11:20 -07:00
bzbarsky@mit.edu
4742664b10 Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
285140, r+sr=dbaron
2007-06-15 22:09:51 -07:00
jwalden@mit.edu
386663f9bc Add an omitted word to a comment. 2007-06-15 14:37:03 -07:00
Olli.Pettay@helsinki.fi
fcd8e6531d Bug 383837, Crash [@ nsXULTooltipListener::LaunchTooltip], r=enn, sr=neil 2007-06-15 11:53:42 -07:00
roc+@cs.cmu.edu
250e787eff Bug 382105. Yet another word caret movement fix to ensure we stop at punctuation. 2007-06-14 22:37:08 -07:00
jwatt@jwatt.org
160f90c7ac Comment out optimization to fix reftest failures. 2007-06-14 14:24:16 -07:00
jwatt@jwatt.org
633cc0b3b6 Fixing bug 384046. nsSVGOuterSVGFrame::Reflow should not call NotifyViewportChange unconditionally. r+sr=tor@acm.org 2007-06-14 13:51:42 -07:00
bzbarsky@mit.edu
8fda7529f2 Mathml inlines are still bidi containers. Bug 371481, r=uriber, sr=rbs 2007-06-14 10:36:27 -07:00
aaronleventhal@moonset.net
10f59fc4fa Fixing bustage 2007-06-14 06:47:23 -07:00
aaronleventhal@moonset.net
df65a58ec3 Bug 384265. No accessible focus events fired during incremental find in an HTML <select>. r=mats, sr=neil 2007-06-14 06:18:16 -07:00
Olli.Pettay@helsinki.fi
1ada41249c Bug 382444, r+sr=roc 2007-06-14 01:37:21 -07:00
Olli.Pettay@helsinki.fi
19e2e52116 Adding a null check, Bug 384133, r=enn, sr=neil 2007-06-14 01:18:11 -07:00
roc+@cs.cmu.edu
5ecac60819 Backing out new textframe landing because of Windows bustage. 2007-06-13 15:31:31 -07:00
roc+@cs.cmu.edu
aabe78b6ca Bug 367177. Turn on new textframe. Lord, have mercy upon us. 2007-06-13 13:20:19 -07:00
roc+@cs.cmu.edu
fba8d645e8 Not part of the build (barely). Don't skip updating per-char arrays for characters that are cluster continuations (in small-caps code). 2007-06-13 11:28:38 -07:00
roc+@cs.cmu.edu
5c7dda1060 Not part of the build (barely). Don't allow PeekOffsetWord to break before the first cluster. Avoids a fencepost error in ClusterIterator where going backwards we might try to look at one past the end of mWordBreaks. 2007-06-13 11:25:14 -07:00
mats.palmgren@bredband.net
3f7e3e99ea Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
roc+@cs.cmu.edu
ee1924e0c6 Not part of the build (barely). Fix intrinsic-min-widths properly for preformatted white-space... the previous checkin messed up the check for newline characters. 2007-06-13 03:58:44 -07:00
roc+@cs.cmu.edu
7cd4ee1cff Bug 366128. Restrict disabling of floats in XUL to cases where the container is not a float containing block. r+sr=bzbarsky 2007-06-13 02:13:25 -07:00
roc+@cs.cmu.edu
e799be426c Not Part Of The Build (barely). Clean up function names and comments. Also fix an unreported regression where we failed to take preformatted newlines into account when computing text intrinsic-min-width. 2007-06-13 02:06:28 -07:00
longsonr@gmail.com
6ea3a1da38 Bug 378583 - Large pattern surfaces crash browser. r=tor,sr=roc 2007-06-13 02:02:48 -07:00
joshmoz@gmail.com
951494d5ed a couple of these tests only fail on PPC now. b=382883 2007-06-12 16:20:50 -07:00
roc+@cs.cmu.edu
2f18074ec6 Landing textframe updates: Use word-based textrun cache; rewritten PeekOffsetWord; adjust textframe content-offsets and content-lengths when CharacterDataChanged fires; search backwards for textrun scanning/creation start point, instead of all the way back to the start of the block; ensure that we pass the correct start iterator to PropertyProvider in TrimTrailingWhiteSpace. 2007-06-12 14:01:12 -07:00
dbaron@dbaron.org
00f940f9de Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
dbaron@dbaron.org
9e2fef4c30 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky 2007-06-12 11:27:09 -07:00
dbaron@dbaron.org
09faa5525d Add checkLoadURI calls to reftest harness. b=371075 r=bzbarsky 2007-06-12 11:25:15 -07:00
sdwilsh@shawnwilsher.com
e3566c42dd Bug 383890 - crash creating new dom attribute with prefix [@inDOMView::GetChildNodesFor]. Patch by Mook <mook.moz+mozbz@gmail.com>. r=sdwilsh, sr=neil 2007-06-12 10:19:55 -07:00
Olli.Pettay@helsinki.fi
1daadb05f5 Bug 381120, ensure view in reflowcallback, r+sr=roc 2007-06-12 03:26:13 -07:00
rbs@maths.uq.edu.au
a1255bceaf Add emacs modeline comments, patch by Vlad Sukhoy <vladimir.sukhoy@gmail.com>, r+sr=rbs, b=382884 2007-06-11 23:10:23 -07:00
mozilla@weilbacher.org
a614a85c71 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
jwalden@mit.edu
6bb999c588 Move object reftest list into its own reftest.list. rs=dbaron 2007-06-07 12:18:51 -07:00
bzbarsky@mit.edu
4c062a36e2 Make the about:blank documents created by CreateAboutBlankContentViewer havethe same encoding as real about:blank documents (that is, UTF-8). Bug 380383,r+sr=jst 2007-06-07 00:13:04 -07:00
roc+@cs.cmu.edu
054b7d42be Bug 356325. Don't let WipeContainingBlock wipe out anonymous popops. Popups, decks and groupboxes are not really inline. r+sr=dbaron 2007-06-06 20:22:00 -07:00
roc+@cs.cmu.edu
fce2486aa2 Bug 322436. Disable floats inside XUL. r+sr=bzbarsky 2007-06-06 20:16:25 -07:00
neil@parkwaycc.co.uk
4e03c3eea8 Bug 383236 Fix missing null-check from previous patch for bug 382746 r=Enn sr=bz 2007-06-06 13:28:47 -07:00
mats.palmgren@bredband.net
39f5613641 Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron 2007-06-06 10:56:18 -07:00
vladimir@pobox.com
11537f7259 b=382482, error when accessing navigator.offlineResources (NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO) -- missing xpt file from packaging manifests; patch from dcamp@mozilla.com, r+sr=vlad 2007-06-05 17:03:12 -07:00
bzbarsky@mit.edu
2a16b873e4 Looks like this test is failing on mac and all... 2007-06-05 15:41:41 -07:00
bzbarsky@mit.edu
377f6c1eee Wrong bug numbers... oops. 2007-06-05 14:00:36 -07:00
bzbarsky@mit.edu
5dc5a6dc00 Adding test. 2007-06-05 13:12:10 -07:00
bzbarsky@mit.edu
0b580ac505 Adding test. 2007-06-05 12:58:10 -07:00
bzbarsky@mit.edu
4ffd04a699 Make OrderRowGroups type-safe. Bug 367706, r=bernd, sr=roc 2007-06-05 11:55:26 -07:00
bzbarsky@mit.edu
503fe8c628 Adding regression test. 2007-06-05 11:00:21 -07:00
bzbarsky@mit.edu
51d2b9a535 Adding test. 2007-06-04 12:09:41 -07:00
martijn.martijn@gmail.com
8bf4d21602 Bug 383030 - Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron 2007-06-03 14:15:45 -07:00
neil@parkwaycc.co.uk
4c9b839ddb Bug 382746 "ASSERTION: Lists not the same length"Bug 382899 "ASSERTION: bad pref, min, max size"Both patches r=Enn sr=bz 2007-06-03 13:46:59 -07:00
smontagu@smontagu.org
2926465a3b Clear textruns during bidi resolution. Not Part of the Build. Bug 382429, r+sr=roc 2007-06-02 23:53:10 -07:00
joshmoz@gmail.com
c4219bdb45 need to set plugin window x and y coords in CG mode. b=382765 r=sfraser sr=roc 2007-06-02 15:02:57 -07:00
emaijala@kolumbus.fi
ae598fdeb7 Patch for bug 382480: Crash at nsBidiPresUtils::ProcessTextr+sr=roc 2007-06-02 00:09:26 -07:00
bmlk@gmx.de
9a1faa8eb4 add table background tests to get more border collapse code coverage. The tests compare currently against a empty file. The original author is fantasai 2007-06-01 23:35:03 -07:00
bmlk@gmx.de
e43ec42d28 add table background tests to get more border collapse code coverage. The tests compare currently against a empty file. The original author is fantasai 2007-06-01 23:30:31 -07:00
roc+@cs.cmu.edu
fa9335bd42 Bug 382279. Disable ligatures when letter-spacing is in effect. Also, avoid adding space inside ligatures if the gfx backend doesn't respect our disabling of ligatures. r=pavlov 2007-05-30 22:01:56 -07:00
bzbarsky@mit.edu
f5f6fbc39c Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
enndeakin@sympatico.ca
44793caa0f Bug 332283, drop indicator not working for trees, r=sr=roc 2007-05-30 16:09:56 -07:00
roc+@cs.cmu.edu
cf38be799a Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
roc+@cs.cmu.edu
18223fc22d Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -07:00
mats.palmgren@bredband.net
1cb22a625f Check LL_GOTLINEBOX before using mLineBox. b=382396 r+sr=dbaron 2007-05-30 08:08:50 -07:00
vladimir@pobox.com
69daab478e b=353860, -moz-border-radius, margin-left leaving 1px gaps -- fixed by 368247, marking reftests as passing 2007-05-30 02:46:01 -07:00
vladimir@pobox.com
994327cd00 b=379505, content overflows border with -moz-border-radius: a.k.a. death to QBCurve; r+sr=roc 2007-05-30 01:37:30 -07:00
vladimir@pobox.com
306552e337 mark reftests as XFAIL on mac, see bug 382039 2007-05-29 20:49:56 -07:00
vladimir@pobox.com
3f6df29e29 b=368247, new border rendering approach, r+sr=roc 2007-05-29 19:46:54 -07:00
tor@cs.brown.edu
09f9fb3648 Bug 382333 - CTM changes not updating filter invalidation regions.r=longsonr, sr=roc 2007-05-29 17:36:02 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
joshmoz@gmail.com
c5eb505c59 don't let comboboxes render their labels over the native combobox button on Mac OS X. b=382043 r/sr=roc 2007-05-28 22:31:04 -07:00
smontagu@smontagu.org
d16cf8e31c Do bidi resolution during GetPrefWidth() and GetMinWidth() as well as Reflow(). Bug 365130, r+sr=roc 2007-05-28 07:40:56 -07:00
roc+@cs.cmu.edu
3fac21ece0 Not part of the build. Don't trim whitespace if wrapping is disabled --- in min-width and pref-width calculations. 2007-05-27 19:38:21 -07:00
roc+@cs.cmu.edu
8b4068bd66 Not part of the build. Don't trim whitespace if wrapping is disabled. Don't compress a space that's preceded by an incompressible space. 2007-05-27 19:20:58 -07:00
dbaron@dbaron.org
43a98c6a0e Add a few reftests for native theme drawing. 2007-05-25 15:25:57 -07:00
dbaron@dbaron.org
b990f59854 Mark two of the Mac OS X form controls (bug 175279) regressions as failures rather than random, since they haven't been observed to pass, and add bug numbers (which should have been added when fails-if/random-if were added). 2007-05-25 13:29:00 -07:00
dbaron@dbaron.org
b44cc40989 Some of the mac image scaling failures only show up on some machines, so mark as random. 2007-05-25 13:16:36 -07:00
Olli.Pettay@helsinki.fi
b14e1983fd Bug 381862, r+sr=roc 2007-05-25 03:14:55 -07:00
Olli.Pettay@helsinki.fi
b9a6965dbe Bug 381153, r+sr=roc 2007-05-25 03:09:29 -07:00
joshmoz@gmail.com
22ca9802cb turn on native form controls for Mac OS X again... b=175279 sr=pav 2007-05-24 01:13:04 -07:00
masayuki@d-toybox.com
54605b25b1 Bug 381426 Can't be activated Input Method in the Bookmark Properties. #2 r+sr=roc 2007-05-23 23:51:42 -07:00
roc+@cs.cmu.edu
91834d1895 Reftests for long textruns (bug 380484). 2007-05-23 20:11:45 -07:00
roc+@cs.cmu.edu
b83f90d3ea Not part Of The Build. Bug 381228. Fix handling of case where the text is not part of a block. 2007-05-23 20:06:37 -07:00
preed@mozilla.com
4750a2febd Bug 381695: TextFrame feature makefile switch needs to pick up its setting from environment. r=bsmedberg 2007-05-23 19:13:04 -07:00
roc+@cs.cmu.edu
453188b497 Fixing reftest bustage 2007-05-23 15:56:06 -07:00
joshmoz@gmail.com
577a45aa8b clean up unused methods and virualized methods in nsButtonFrameRenderer. Patch by Rob Arnold. b=315347 r/sr=roc 2007-05-23 13:32:56 -07:00
bzbarsky@mit.edu
7d924947e9 Fix bug 380516, bug 375342, bug 374293. Patch in bug 380516. r=jwatt, sr=dbaron 2007-05-23 13:10:43 -07:00
bzbarsky@mit.edu
870f8e4cd8 No max-width means "none", not null unit. Bug 381284, r+sr=dbaron 2007-05-23 12:56:02 -07:00
joshmoz@gmail.com
2e745eb301 Turn native form controls on again for Mac OS X. b=175279 a=mconnor 2007-05-23 12:49:24 -07:00
joshmoz@gmail.com
a1f4216754 don't add scrollbar width to getPrefWidth in nsComboboxControlFrame if the themed widget has set the internal button width to 0. b=381669 r/sr=roc 2007-05-23 12:16:27 -07:00
dbaron@dbaron.org
29b9526afc Fewer reftests are random now that bug 324698 is fixed, mostly fixing bug 371316. 2007-05-23 08:57:21 -07:00
dbaron@dbaron.org
df6fb0a433 Disable antialiasing of borders again, for Linux only, to avoid the performance penalty of pushing/popping groups. b=380473 r=vlad 2007-05-23 08:56:15 -07:00
tor@cs.brown.edu
56af31dc01 Bug 381622 - complete cairo removal from svg. r+sr=roc 2007-05-23 08:42:12 -07:00
benjamin@smedbergs.us
772b616ee2 Bug 381501 - Small screen resolutions mess up reftests, and backout by randomizer from the other day, r=dbaron 2007-05-23 06:57:07 -07:00
roc+@cs.cmu.edu
d88807555b (Not Part Of The Build). Fix incorrect treatment of first character always as uppercase, even when it isn't, when building a small-caps textrun ... 2007-05-23 02:37:52 -07:00
roc+@cs.cmu.edu
b2cf85dacd Bug 380625. (Not Part Of The Build). Fix cluster count for trimmed spaces. 2007-05-23 02:36:16 -07:00
jwatt@jwatt.org
751609e0c6 Fixing bug 380952. nsSVGForeignObjectFrame::PaintSVG calls GetCanvasTM twice. r=tor@acm.org, sr=roc@ocallahan.org 2007-05-23 01:39:00 -07:00
jwatt@jwatt.org
604300c6e7 Fixing bug 381447. nsSVGLengthList::mCtxType is always set to nsSVGUtils::X. r+sr=tor@acm.org 2007-05-23 01:38:54 -07:00
sharparrow1@yahoo.com
e98fa1cc43 Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky. 2007-05-22 22:55:03 -07:00
roc+@cs.cmu.edu
2d4b4128c0 Not Part Of The Build (new textframe). IsInBounds uses incorrect logic and produces spurious warnings. 2007-05-22 21:08:38 -07:00
sharparrow1@yahoo.com
d4a50fcc87 Bug 381645: Remove nsBoxFrame::GetContentOf. r+sr=dbaron. 2007-05-22 20:48:43 -07:00
sharparrow1@yahoo.com
2c7439459f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
roc+@cs.cmu.edu
a56819194e Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
dbaron@dbaron.org
8622b8f32c Add bug number for test Benjamin marked as random yesterday. 2007-05-22 14:54:55 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
dbaron@dbaron.org
25fe9e5d7a Back out incorrect change from yesterday: if we don't have room for the test, it isn't valid, so it should fail. 2007-05-22 14:42:15 -07:00
sharparrow1@yahoo.com
888cd6828d Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron. 2007-05-22 13:34:00 -07:00
joshmoz@gmail.com
3a52820c7e remove camino-specific CSS from forms.css. b=381539 r=cbarrett sr=dbaron 2007-05-22 12:44:01 -07:00
joshmoz@gmail.com
609f3449c8 Don't paint the background for the text frame in comboboxes if the combobox is themed. b=381268 r/sr=roc 2007-05-22 12:42:01 -07:00
tor@cs.brown.edu
34808a27d2 Bug 380072 - switch svg mask from cairo to thebes. r=jwatt, sr=roc 2007-05-22 12:31:04 -07:00
benjamin@smedbergs.us
89a8a681bb Marking this reftest random until we can figure out the scrollbar issue. 2007-05-21 16:03:49 -07:00
masayuki@d-toybox.com
e06ebc1983 Bug 381426 Can't be activated Input Method in the Bookmark Properties. r+sr=roc 2007-05-21 15:58:17 -07:00
tor@cs.brown.edu
c3f20a0396 Bug 380757 - switch svg filters to thebes. r=jwatt, sr=roc 2007-05-21 14:41:53 -07:00
benjamin@smedbergs.us
91803a7b6f Attempt to fix unit-test orange: the two tests differ only by the width of a scrollbar, so attempt to make the ref the same height as the test, r=dbaron 2007-05-21 13:45:43 -07:00
sharparrow1@yahoo.com
e121bf78ce Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc 2007-05-21 03:06:08 -07:00
sharparrow1@yahoo.com
197f518480 Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc. 2007-05-21 02:55:27 -07:00
Olli.Pettay@helsinki.fi
3abcfaa5a3 Bug 378961, r+sr=roc 2007-05-21 00:33:32 -07:00
Olli.Pettay@helsinki.fi
5b6a10c55d Bug 381167, r+sr=roc 2007-05-21 00:27:47 -07:00
roc+@cs.cmu.edu
b7f3dc0143 Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron 2007-05-20 20:44:26 -07:00
jminta@gmail.com
1fb0dc7c7f Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
vladimir@pobox.com
c176bd9ca0 b=380561, missing borders when dashed and dotted border-style is used, r=dbaron 2007-05-20 15:49:20 -07:00
vladimir@pobox.com
d7a24f9856 b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron 2007-05-20 15:44:45 -07:00
vladimir@pobox.com
e51fc700f7 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
Olli.Pettay@helsinki.fi
b7db6f5a38 Bug 380217, r+sr=roc 2007-05-18 04:37:57 -07:00
dbaron@dbaron.org
d4440c538a Call SetGeometryDirty if we need to call DistributeHeightToRows, since DistributeHeightToRows can't deal with rows that have already had height distributed to them. Patch by Daniel Holbert <dholbert@mozilla.com>. b=380227 r+sr=dbaron 2007-05-17 23:04:43 -07:00
dbaron@dbaron.org
93042a4e45 Don't propagate line layout in reflow state when we're not in the line. b=320502 r+sr=roc 2007-05-17 23:04:04 -07:00
dbaron@dbaron.org
4fdff9f2af Block outline-color for always use my colors pref. b=380924 r+sr=bzbarsky 2007-05-17 23:02:57 -07:00
joshmoz@gmail.com
861dd29eb5 this camino-only CSS is no longer necessary after bug 370282 landed. r/sr=roc 2007-05-17 20:15:04 -07:00
joshmoz@gmail.com
bd0d160e41 don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc 2007-05-17 20:04:04 -07:00
neil@parkwaycc.co.uk
073bc637e1 Relanding bug 377035 Allow tree as anonymous parent of treechildren r=Enn sr=roc 2007-05-17 13:55:03 -07:00
mats.palmgren@bredband.net
169e12a7c6 Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky 2007-05-17 04:12:30 -07:00
mats.palmgren@bredband.net
032cb5c51d NPOTB. Add missing rendering context null-checks. b=380502 r+sr=roc 2007-05-17 03:52:20 -07:00
mats.palmgren@bredband.net
242b3deec7 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir 2007-05-17 03:14:35 -07:00
dbaron@dbaron.org
471819ac98 Add bug numbers._dont_use_document_colors.html 2007-05-16 18:56:18 -07:00
dbaron@dbaron.org
cdc8086606 Add test for always-use-my-colors preference. b=58048 2007-05-16 18:51:30 -07:00
dbaron@dbaron.org
ba164cc517 Fix some debugging code. b=380825 r+sr=bzbarsky 2007-05-16 14:17:45 -07:00
dbaron@dbaron.org
326dbd88d2 Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky 2007-05-16 14:17:21 -07:00
dbaron@dbaron.org
8d20e3f29b Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
dbaron@dbaron.org
5d44540384 Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky 2007-05-16 14:08:51 -07:00
bzbarsky@mit.edu
6e1cb1e471 Minor tweaks to the HTML. 2007-05-16 10:01:17 -07:00
bzbarsky@mit.edu
e8a960c0a8 Fix regression bug 380842: allow block-display generated content on table cellsand captions again. r+sr=dbaron 2007-05-16 09:57:28 -07:00
bzbarsky@mit.edu
01da3bef40 Followup tweak for bug 379809, r=dbaron 2007-05-16 09:03:05 -07:00
masayuki@d-toybox.com
cae88bda36 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
tor@cs.brown.edu
fbf7c7d5ef Bug 380691 - <clipPath> and <mask> not working with <foreignObject>. r+sr=roc 2007-05-16 08:14:19 -07:00
roc+@cs.cmu.edu
752cb1c711 Not Part Of The Build. 1) Round font underline/overline/strikeout offsets and sizes to device pixels to try to ensure consistent visual offsets and sizes even when the baseline point is not pixel-aligned. 2) snap the text baseline y coordinate to the nearest pixel, because the decoration lines will be snapped themselves and we need the gaps to remain consistent. 3) fix bug in selection-decoration x coordinate which was forgetting to include the frame x-offset. 2007-05-15 22:21:41 -07:00
bzbarsky@mit.edu
1492416482 Back out part of the last change which is not actually correct 2007-05-15 20:39:36 -07:00
bzbarsky@mit.edu
9a024b3234 Apparently we can't handle "thin" here yet. 2007-05-15 20:33:04 -07:00
bzbarsky@mit.edu
63661ce0ab Make sure FrameNeedsReflow() is not called during reflow, and remove thewasDirty asserts and O(N^2) check for existing reflow root in the list. Bug379904, r=roc, sr=dbaron 2007-05-15 20:22:45 -07:00
bzbarsky@mit.edu
24bc303d9e Use the right parent when resolving style contexts in IsValidSibling. Bug380096, r=bernd, sr=roc 2007-05-15 20:18:50 -07:00
bzbarsky@mit.edu
6f8670aed8 Change round-trip testing for specified sub-properties of a shorthand to setthem all before looking at computed style, since, for example, the specifiedfont-family affects the computed line-height if the specified line-height is"normal". Bug 379809, r=dbaron 2007-05-15 20:03:34 -07:00
roc+@cs.cmu.edu
00c14ee581 Not Part Of The Build. Fix underline/strikeout positioning in new text frame --- simple appunits/pixels confusion. 2007-05-15 16:41:41 -07:00
dbaron@dbaron.org
e9a2ce02d6 Fix vertical resizing for quirks mode percentage heights. b=380004 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron 2007-05-15 14:52:44 -07:00
ginn.chen@sun.com
a334324e77 Bug 357969 container xul element which doesn't have a xbl def under a deck frame has no accessible objectpatch by nian.liu at sun.com r=surkov.alexander sr=neil 2007-05-15 02:46:06 -07:00
roc+@cs.cmu.edu
42a453e958 NPOTB, new-text-frame. Fix mouse events targeting after the end of a textframe. 2007-05-14 22:23:19 -07:00
dbaron@dbaron.org
b065ff84ea Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
dbaron@dbaron.org
0b1ce291e2 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-14 22:13:49 -07:00
roc+@cs.cmu.edu
c04ab10b10 Back out enabling of new text frame... its time has not yet come 2007-05-14 20:58:10 -07:00
roc+@cs.cmu.edu
69246cf0ee Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-14 20:56:47 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
mats.palmgren@bredband.net
587e9762aa Don't create a widget if the view already has one and check error return code from CreateViewForFrame(). b=374102 r+sr=roc 2007-05-13 17:42:38 -07:00
asqueella@gmail.com
1f0637ebc5 Bug 380094 - make mousethrough more generally usefulp=toshok@hungry.comr+sr=roc 2007-05-13 09:00:00 -07:00
neil@parkwaycc.co.uk
23a051773f Follow-up cleanup b=375403 r+sr=roc 2007-05-13 03:06:57 -07:00
mats.palmgren@bredband.net
ba05ce501d Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
roc+@cs.cmu.edu
9a3b1f05c8 Not part of the build. Fix off-by-one error in selected-text painting in new text frame. 2007-05-11 15:54:51 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
3e2d05ec11 Remove known failure fixed by patches in bug 379741. 2007-05-10 23:50:35 -07:00
dbaron@dbaron.org
6becb79be4 Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
6375aad92f Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-10 23:01:31 -07:00
dbaron@dbaron.org
ce027d98d6 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-10 23:00:26 -07:00
dbaron@dbaron.org
49f0460769 Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky 2007-05-10 22:58:34 -07:00
jonas@sicking.cc
36cb23b6c1 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
Olli.Pettay@helsinki.fi
095492e4a3 Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc 2007-05-10 11:16:00 -07:00
neil@parkwaycc.co.uk
001e700eb6 Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc 2007-05-10 08:46:42 -07:00
roc+@cs.cmu.edu
5dacf8d2c6 Fix const issue. Not Part Of The Build 2007-05-10 07:42:56 -07:00
bzbarsky@mit.edu
e77dda0c0b Twiddle parentheses a little bit. Bug 311415 followup, r+sr=dbaron 2007-05-09 19:55:15 -07:00
roc+@cs.cmu.edu
55d1df583d Not part of the build. Fix text lifetime issues for transformed textruns. 2007-05-09 17:58:47 -07:00
jst@mozilla.org
bdfbc4a316 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
ccae61e56a Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
roc+@cs.cmu.edu
e360cfb42d Not part of the build. Update new text frame for textrun API changes. Also implements a textrun cache for the new text frame 2007-05-09 15:04:56 -07:00
roc+@cs.cmu.edu
f8fbe830af Bug 380209. Hooks for a textframe-specific textrun cache startup/shutdown. r+sr=bzbarsky 2007-05-09 15:02:29 -07:00
neil@parkwaycc.co.uk
c88375308d Backing out bug 377035 because it caches the tree body inappropriately 2007-05-09 13:13:26 -07:00
joshmoz@gmail.com
41cf3b9332 Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc 2007-05-09 12:17:17 -07:00
smontagu@smontagu.org
1589352d02 Uneven justification with new textframe. Bug 380062, r+sr=roc 2007-05-09 11:09:32 -07:00
neil@parkwaycc.co.uk
0b4c61480c Bug 377035 Allow <tree> to be anonymous parent of <treechildren> r=Enn sr=roc 2007-05-09 01:54:24 -07:00
neil@parkwaycc.co.uk
b945e58d65 Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 01:48:38 -07:00
bzbarsky@mit.edu
afee4515d5 Add test for last-minute regression I found. 2007-05-08 20:41:39 -07:00
roc+@cs.cmu.edu
9cbc5fa356 Fixing bustage 2007-05-08 17:45:21 -07:00
roc+@cs.cmu.edu
168e80e375 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-08 15:46:14 -07:00
vladimir@pobox.com
7f82fa63ba b=379474, borders render incorrectly when using moz-border-radius (also 379446, hr noshade renders incorrectly); r=dbaron 2007-05-08 10:40:08 -07:00
smontagu@smontagu.org
7ce6d0b781 Clear mTextRun on a style change reflow. Bug 379969, r+sr=roc 2007-05-08 07:33:09 -07:00
jwatt@jwatt.org
f848bafef9 Add reftest for changing transform on foreignObject 2007-05-08 05:54:12 -07:00
jwatt@jwatt.org
1fc1017af6 add some comments to reftest and change it so that it's less likely to give false results 2007-05-08 05:47:47 -07:00
jwatt@jwatt.org
74f0a5196b Conditionally run the reftests that crash linux instead of commenting them out entirely 2007-05-08 03:22:36 -07:00
jwatt@jwatt.org
9b68589f21 Fixing bug 379823. Allow conditional skipping of reftests (reporting them as failures). r+sr=dbaron@mozilla.com 2007-05-08 03:21:22 -07:00
mats.palmgren@bredband.net
0006aa95d7 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 23:56:14 -07:00
mats.palmgren@bredband.net
3100ae9cba Backing out bug 379906 to fix orange. 2007-05-07 23:25:04 -07:00
mats.palmgren@bredband.net
68c21e9819 Fix an assertion when setting a 'quotes' property value. b=379906 r+sr=dbaron 2007-05-07 23:00:37 -07:00
mats.palmgren@bredband.net
8368c269c8 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 22:46:37 -07:00
bzbarsky@mit.edu
2464dea33d Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc 2007-05-07 21:46:55 -07:00
bzbarsky@mit.edu
ab6e18ee19 Fix determination of the style context parent for the inner table frame of aroot table. Bug 379386, r+sr=roc 2007-05-07 20:59:12 -07:00
joshmoz@gmail.com
b8a5d1d3bf remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc 2007-05-07 18:20:11 -07:00
jonas@sicking.cc
1c214cc3a2 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
9179b005a4 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
f8ee0d58ee This is failing... which is sort of expected. Whether it fails or not willdepend on the exact restyles and frame reconstructs happening here; maybe weeven want to mark it random until bug 8253 is fixed. 2007-05-07 12:18:53 -07:00
bzbarsky@mit.edu
fb38ef82f1 Rename some functiosn as suggested by dbaron. Bug 379799 followup. 2007-05-07 12:03:24 -07:00
vladimir@pobox.com
b44e49e901 Adding another reftest-to-html script 2007-05-07 11:59:59 -07:00
bzbarsky@mit.edu
3f8cd7bd8c Better check for first-letter. Bug 379799, r+sr=dbaron 2007-05-07 10:57:33 -07:00
bzbarsky@mit.edu
1c6f84af69 Back out bug 377850 -- it regresses bug 71191, and causes bug 379920. 2007-05-06 23:51:57 -07:00
bzbarsky@mit.edu
a7666d89a7 Fixing typo. 2007-05-06 19:58:07 -07:00
joshmoz@gmail.com
289921ae56 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc 2007-05-06 19:06:58 -07:00
bzbarsky@mit.edu
56618fc0ac Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
jwatt@jwatt.org
c5b4794641 Remove test that is a duplicate of rect-with-rx-or-ry-01.svg in this directory's parent. 2007-05-06 13:24:29 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
kjh-5727@comcast.net
363cd7633d Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
mats.palmgren@bredband.net
87fe66d658 Incremental reflow bug with direction:rtl and bidi-override. b=375716 r=uriber sr=dbaron 2007-05-06 03:29:58 -07:00
jwatt@jwatt.org
49448575f8 Add reftest for bug 369992. Areas previously occupied by a foreignObject aren't repainted. 2007-05-05 10:11:45 -07:00
jwatt@jwatt.org
c975670c19 Add bug numbers for failing tests 2007-05-05 10:09:26 -07:00
dbaron@dbaron.org
7e729aa8a8 Fix the description of the serialize+parse tests. 2007-05-05 10:06:49 -07:00
dbaron@dbaron.org
79c8ea4796 Remove special handling of empty continuations, which should no longer be needed. b=238473 Based on patch by Hideo Saito <saito@densan.co.jp>. r=dbaron sr=roc 2007-05-05 10:06:04 -07:00
dbaron@dbaron.org
2f7331b24a Address bzbarsky's final review comments (comment 14) on bug 311415: consider ch units fixed as well. 2007-05-05 10:01:51 -07:00
jwatt@jwatt.org
a741b8c701 Fixing bug 369827. Reflow of foreignObject with percentage width/height doesn't work. r=tor@acm.org, sr=dbaron@mozilla.com (this also fixes bug 379615, so changing the reftest manifest to expect the foreignObject tests to pass) 2007-05-05 04:11:07 -07:00
bzbarsky@mit.edu
7ba39f6392 This passes now. 2007-05-05 00:43:52 -07:00
bzbarsky@mit.edu
ca2c9fb263 Oops. Missed a file. 2007-05-05 00:42:37 -07:00
bzbarsky@mit.edu
45c81654ba Factor out test that fails on Mac. 2007-05-05 00:28:20 -07:00
bzbarsky@mit.edu
6bea7ead90 Comment out test for now until I can debug it. Bug 379809. 2007-05-05 00:05:18 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
c172ba40a4 Fixing build bustage 2007-05-04 23:37:05 -07:00
bzbarsky@mit.edu
e63c5bfed6 Override just the border width, not all the border properties. Bug 377584, r+sr=dbaron 2007-05-04 23:22:36 -07:00
bzbarsky@mit.edu
f4c385a5ea Don't cut off the right-hand side of empty comboboxes. Bug 364510, r+sr=dbaron 2007-05-04 23:20:10 -07:00
bzbarsky@mit.edu
a73ee91520 Simplify code. Bug 367442 followup, jag's idea, r+sr=dbaron 2007-05-04 23:13:48 -07:00
bzbarsky@mit.edu
67c2d05514 Bail out of ReconstructDocElementHierarchy early if there is no root frame(which shouldn't even happen!). Bug 377850, r=mats, sr=dbaron 2007-05-04 23:12:44 -07:00