Commit Graph

785 Commits

Author SHA1 Message Date
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
bzbarsky@mit.edu
64c3e5df8a Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
bzbarsky@mit.edu
685a823789 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
sayrer@gmail.com
53b6461aa3 backout patch for bug 375760 due to bustage. 2007-05-04 21:36:13 -07:00
roc+@cs.cmu.edu
c38af9c6b8 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-04 19:16:16 -07:00
sharparrow1@yahoo.com
7b9d18d3fe Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
2d01bfcf6a Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz 2007-05-04 11:09:02 -07:00
jwatt@jwatt.org
08b3bf4a57 Stop assuming that the antialiased edge of a square rect with rx and ry equal to width/2 will be exactly the same as a circle with radius width/2. Hopefully that will fix this reftest's failure on Mac OS X (bug 379606). 2007-05-04 01:19:29 -07:00
jwatt@jwatt.org
50aa0beec0 Adding reftest for SVG rect with rx _and_ ry attributes. 2007-05-04 01:05:05 -07:00
jwatt@jwatt.org
8f64a47ebc Now using the reftest condition construct for tests that fail instead of commenting them out entirely. 2007-05-04 00:12:14 -07:00
aaronleventhal@moonset.net
76c30e6edf Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 19:19:18 -07:00
dbaron@dbaron.org
258af67040 Fix bad string comparison preventing 'none' and 'initial' values of 'counter-increment' and 'counter-reset' from being parsed correctly. b=379555 r+sr=dbaron Patch by Daniel Holbert <dholbert@mozilla.com>. 2007-05-03 17:05:16 -07:00
dbaron@dbaron.org
7dc7c89d6c Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
aaronleventhal@moonset.net
7385300b31 Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6b2f0681ff Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 12:22:24 -07:00
jwatt@jwatt.org
06e5605325 Turn on off text-in-link-01.svg since it's crashing linux 2007-05-03 07:50:45 -07:00
jwatt@jwatt.org
3bd170a69e Turn on off pseudo-classes-01.svg again (looks like both tests are crashing) 2007-05-03 07:47:58 -07:00
jwatt@jwatt.org
4437cc01cf Turn on off pseudo-classes-02.svg since it's crashing on linux (oops, it wasn't pseudo-classes-01.svg) 2007-05-03 06:49:02 -07:00
jwatt@jwatt.org
a51d3255fd Turn on off pseudo-classes-01.svg since it's crashing on linux 2007-05-03 06:23:29 -07:00
jwatt@jwatt.org
c27d474c90 Turn on off reftests that are failing on osx 2007-05-03 06:22:06 -07:00
jwatt@jwatt.org
5517536912 Turn on off reftests in 'bugs' subdirectory (I didn't mean to turn that on) 2007-05-03 06:03:14 -07:00
jwatt@jwatt.org
68977756ac Dedicate to the public domain the reftest testcases that I've contributed 2007-05-03 05:20:17 -07:00
jwatt@jwatt.org
4845370b54 Turn on SVG reftests (foreignObject-01.svg and foreignObject-overflow-01.svg turned off since they currently fail) 2007-05-03 05:18:34 -07:00
bzbarsky@mit.edu
73bb8b2e6d When we have a url() value that doesn't give us an imgIRequest (e.g. couldn'tcreate nsIURI, URI load blocked by security manager, etc), make sure to stillpick up the fallback value for cursor. Bug 379440, r+sr=dbaron 2007-05-02 23:33:13 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu
4272f75194 Fix assert to be more correct. Bug 379383, r+sr=dbaron 2007-05-02 13:32:17 -07:00
asqueella@gmail.com
113e3fd4df Bug 379019 - Add license boilerplates to xul-document-load reftestsThe patch also adds missing newlines at the end of some files and fixes thewindows linebreaks in some files.r=gerv/robcee 2007-05-02 13:16:32 -07:00
joshmoz@gmail.com
4777e8e1b0 Remove some files as part of bug 379319. r=enn sr=dbaron 2007-05-02 11:13:18 -07:00
masayuki@d-toybox.com
3d8a57b83a Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
joshmoz@gmail.com
48cbd7d72e Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
07a89fd883 Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron 2007-05-01 19:25:50 -07:00
roc+@cs.cmu.edu
61473971b1 Bug 372703. Position child views whenever we place an abs-pos child; even if the child hasn't moved, this frame itself might have, so view offsets might have changed. r=eli,sr=dbaron 2007-05-01 17:07:51 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
df17b534a2 This test passes now that bug 221428 is fixed. 2007-05-01 14:11:19 -07:00
bzbarsky@mit.edu
1414308296 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
bzbarsky@mit.edu
db73e399d0 Switch order around a bit to be safer. Followup to bug 379093, r+sr=roc 2007-05-01 12:11:28 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
vladimir@pobox.com
9562fa3e4d marking 368020-2 random on gtk2, due to 368517 (drawWindow and DrawTile don't get along on X11) 2007-04-30 23:31:30 -07:00
jruderman@hmc.edu
9412f89a2a Add reftest for bug 379328. r=bz over IRC. 2007-04-30 22:29:06 -07:00
vladimir@pobox.com
78efa3954b b=379328, focus outline rendering regression fix 2007-04-30 21:58:44 -07:00
bzbarsky@mit.edu
3e48c43b01 This test passes now. 2007-04-30 21:31:06 -07:00
vladimir@pobox.com
7a057606e0 marking test as passing 2007-04-30 20:59:42 -07:00
bzbarsky@mit.edu
a47578fd0a Fixing parsing of opacity components of rgba() and hsla() that are out of the0 <= x <= 1 range. Bug 379316, r+sr=dbaron 2007-04-30 20:50:31 -07:00
vladimir@pobox.com
02374fc781 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-04-30 20:31:25 -07:00
joshmoz@gmail.com
463084360e remove duplicate line of a CSS rule from forms.css. r/sr=dbaron 2007-04-30 18:51:47 -07:00
mats.palmgren@bredband.net
dfbd9d77a5 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
tor@cs.brown.edu
bc62b5fe42 Bug 379045 - switch svg patterns to thebes. r=longsonr, sr=roc 2007-04-30 08:53:55 -07:00
longsonr@gmail.com
6a52ba8cb1 remove strange additional styles from reftest 2007-04-30 03:03:07 -07:00
longsonr@gmail.com
332e20a00f Bug 378897 - foreignObject doesn't clip its content. r=jwatt,sr=tor 2007-04-30 02:02:38 -07:00
bzbarsky@mit.edu
8416080bd2 Fix build bustage 2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
05d5e6a371 Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
45ccef2087 remove debugging code again. 2007-04-29 21:36:03 -07:00
bzbarsky@mit.edu
b6c687f148 This test is failing for good reasons.... 2007-04-29 20:55:40 -07:00
bzbarsky@mit.edu
013df0d678 Put back this test code for one run so I can get data from Tp/Tp2 2007-04-29 20:11:04 -07:00
bzbarsky@mit.edu
2172c60660 Make sure to flush out reflows before firing onload instead of (imperfectly)blocking onload on reflow events. This makes sure that we are in fact fullyreflowed before onload fires. Bug 379093, r+sr=roc 2007-04-29 20:09:55 -07:00
mats.palmgren@bredband.net
731778235e Create a rendering context before calling GetPrefSize and friends and assert in those methods that we have one. b=379090 r+sr=dbaron 2007-04-29 15:24:59 -07:00
dbaron@dbaron.org
394f44d6ff Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 09:01:24 -07:00
asqueella@gmail.com
20e9450a7d bug 375291 - update layout/generic/punct_marks.ccmap to unicode 5.0p=arno. <arno.@no-log.org>r=smontagu, sr=dbaron 2007-04-27 09:42:22 -07:00
asqueella@gmail.com
18c7325a7b Bug 376034 - Possible incorrect coordinate transform in nsImageFramep=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:40:17 -07:00
longsonr@gmail.com
9f0916238d Bug 378900 - Use NS_DECL_NSIMUTATIONOBSERVER macros where possible. r+sr=tor 2007-04-27 07:37:15 -07:00
tor@cs.brown.edu
469ca7336a Bug 378508 - convert svg gradients to thebes. r=longsonr, sr=roc 2007-04-27 07:28:39 -07:00
mats.palmgren@bredband.net
3168e0cbeb Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky 2007-04-27 04:06:22 -07:00
longsonr@gmail.com
e1a49a1bec Bug 378857 - Simplify clipPath frame access to units. r=tor,sr=roc 2007-04-27 01:42:51 -07:00
bzbarsky@mit.edu
4739353ef4 Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
bzbarsky@mit.edu
e0ed942e8a Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
a5e93e2e05 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
789ffd0e73 Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle. 2007-04-26 15:46:05 -07:00
tor@cs.brown.edu
34470215e9 Bug 370416 - <textPath> not updating when referenced path changed.r=longsonr, sr=sicking 2007-04-26 08:46:29 -07:00
tor@cs.brown.edu
682bb92ef5 Bug 378771 - crash when invalidating <foreignObject> with nondisplay parent.r+sr=roc 2007-04-26 08:31:26 -07:00
longsonr@gmail.com
ce1411d840 Bug 377149 - stop storing mask and clipPath frames. r=tor,sr=roc 2007-04-26 01:36:16 -07:00
bzbarsky@mit.edu
d6f7ea03d4 272830-1.html succeeds everywhere now that we disallow incremental reflow of pagesequences. 2007-04-25 22:52:16 -07:00
bzbarsky@mit.edu
f1c4c68543 Don't do incremental reflow for now, because tables can't deal. Followup forbug 378480, r+sr=roc 2007-04-25 22:33:34 -07:00
bzbarsky@mit.edu
52ba74f675 Make sure to return at the end of a method that returns nsresult, in casecallers are actually checking the return value. Bug 378827, patch by RyanVanderMeulen <ryanvm@gmail.com>, r+sr=bzbarsky 2007-04-25 19:37:27 -07:00
bzbarsky@mit.edu
b7a4fc60e7 Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc 2007-04-25 19:33:02 -07:00
bzbarsky@mit.edu
24c328d268 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
bzbarsky@mit.edu
c77758b510 Resolve the right (parentless) style context for a table as a document root,and fix the assertion when adjusting parent style context frames to not triggerin non-scrollable documents. Bug 378693, r+sr=roc 2007-04-25 19:26:25 -07:00
sharparrow1@yahoo.com
59eeb27c4d Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
20e714482b Make assertion reflect reality better. Bug 357044, r+sr=roc 2007-04-25 18:17:05 -07:00
bzbarsky@mit.edu
860a7a4ebd Remove the root from mDirtyRoots if we resize-reflow it, so that we don't getassertions about frame state not matching with whether the frame is inmDirtyRoots. Bug 374167, r+sr=dbaron 2007-04-25 17:17:50 -07:00
dbaron@dbaron.org
2861548e6d Add test for computed style on elements with frames as well. 2007-04-25 16:27:36 -07:00
bzbarsky@mit.edu
3cfe7cdfcc Don't drop the old sheet when "rel" changes from one value that contains"stylesheet" to anoher. Bug 360746, r+sr=sicking 2007-04-25 11:48:18 -07:00
Olli.Pettay@helsinki.fi
08402ec8a3 Bug 377899, Cycle between nsXULTooltipListener and nsGlobalWindows causes leaks, r=neil,sr=peterv 2007-04-25 10:18:50 -07:00
sharparrow1@yahoo.com
5885215d03 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
longsonr@gmail.com
0612c11da2 Include reftests from bugs subdirectory 2007-04-25 06:13:52 -07:00
longsonr@gmail.com
82a337b0dc Update and rename simple clipPath reftest 2007-04-25 06:06:22 -07:00
sharparrow1@yahoo.com
add7264218 Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
13e6ddd1c4 Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron 2007-04-25 01:22:28 -07:00
longsonr@gmail.com
cb1b05eaa0 Reftest for a simple clip-path 2007-04-24 02:14:42 -07:00
longsonr@gmail.com
4b7db8e4dd Reftest to check that the opacity of element referencing a pattern is respected. See bug 374280 2007-04-24 01:48:26 -07:00
longsonr@gmail.com
273bbf57a6 Bug 377833 - Crash on SVG element nested in a xul:stack. r+sr=bzbarsky 2007-04-24 01:14:58 -07:00
longsonr@gmail.com
9e968ee157 Bug 374280 - Opacity of elements referencing a pattern isn't respected. r=jwatt,sr=tor 2007-04-24 01:11:22 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
sayrer@gmail.com
ddf9bb7e6d bug 378487. allocator mismatch in SpanningCellSorter. r+sr=bzbarsky 2007-04-23 11:40:07 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
2491d0c723 Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
1e5e8e3c76 Trying something to see its effect on Tp2. Will back out in the morning.Followup to bug 84582, no reviews yet. 2007-04-23 02:36:40 -07:00
longsonr@gmail.com
bf485b653e Bug 377834 - make paint server setup return booleans for success/failure. r+sr=tor 2007-04-23 02:11:19 -07:00
longsonr@gmail.com
5a09e35207 Bug 378023 - Fix build warnings compiling nsSVGGlyphFrame. r+sr=tor 2007-04-23 01:39:54 -07:00
bzbarsky@mit.edu
fe52a23803 min-width/height should not affect computed max-width or max-height. Both ofthem should affect computed width and height, though. Bug 371042, r+sr=dbaron 2007-04-23 00:04:33 -07:00
Olli.Pettay@helsinki.fi
e53440116d Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
sayrer@gmail.com
7de2f0e3e0 bug 378339. nsFrameIterator doesn't initialize mOffEdge. r=uriber, sr=roc 2007-04-22 21:14:25 -07:00
bzbarsky@mit.edu
e745cf0125 Round instead of truncating when converting a percentage color into aninteger. Bug 340613, r+sr=dbaron 2007-04-22 15:03:30 -07:00
sayrer@gmail.com
d75d2627f8 bug 378383. nsReflowStatus not always initialized in nsBlockFrame::ReflowInlineFrame. r+sr=bzbarsky 2007-04-22 13:57:54 -07:00
bzbarsky@mit.edu
be25658d6f Give captions the right style context parent when dynamically restyling. Bug378240, r=bernd, sr=dbaron 2007-04-22 12:15:24 -07:00
bzbarsky@mit.edu
504fdf1c28 Move the Background struct to its new rightful place. Bug 378245, r+sr=dbaron 2007-04-20 22:40:13 -07:00
bzbarsky@mit.edu
5a4fccb862 Fix assertion to be more correct. No bug. 2007-04-20 20:57:40 -07:00
roc+@cs.cmu.edu
2eec67fef4 Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron 2007-04-20 17:42:58 -07:00
dbaron@dbaron.org
3b44cc72ab Test copy constructors of nsStyleStruct. 2007-04-20 17:17:29 -07:00
dbaron@dbaron.org
be11deaee0 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-20 17:16:52 -07:00
sharparrow1@yahoo.com
b9768958d9 Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc. 2007-04-20 16:51:12 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
bzbarsky@mit.edu
fb91b11144 Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron 2007-04-20 14:27:02 -07:00
enndeakin@sympatico.ca
9e554b3e8b Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
enndeakin@sympatico.ca
f7b1a69686 Bug 377663, <titlebar> should move popup if inside one instead of the window, r+sr=roc 2007-04-20 03:56:49 -07:00
dbaron@dbaron.org
a6c2821169 Fix setting of prereqs so it doesn't interfere with testing initial values properly. 2007-04-19 20:41:05 -07:00
sayrer@gmail.com
c4a67f09f0 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc 2007-04-19 12:11:42 -07:00
longsonr@gmail.com
5ec14fa391 Bug 377263, bug 377399 - patternContentUnits='objectBoundingBox' not translated correctly. r=tor,sr=roc 2007-04-19 01:29:27 -07:00
longsonr@gmail.com
ac087ce706 Bug 377892 - Simple clipPath asserting and crashing. r+sr=tor 2007-04-19 01:21:49 -07:00
dbaron@dbaron.org
f5a47a6bb4 Add tests for computed values. 2007-04-18 19:49:44 -07:00
tor@cs.brown.edu
7daef7a6cf Bug 375141 - convert svg text to thebes. r=longsonr, sr=roc 2007-04-18 14:09:31 -07:00
dbaron@dbaron.org
30dd65ee30 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
tor@cs.brown.edu
c84f57e323 Backout of 375141 - appears to be causing qm-winxp01 red. 2007-04-17 20:54:53 -07:00
tor@cs.brown.edu
73ddc47593 Bug 375141 - convert svg text to thebes. r=longsonr, sr=roc 2007-04-17 15:48:28 -07:00