Commit Graph

5864 Commits

Author SHA1 Message Date
Doug Turner
ea91fe7947 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Robert O'Callahan
d6f331fed2 Bug 523468. Force next line to be reflowed whenever we push or pull children from an inline frame. r=dbaron 2009-10-27 14:43:56 +13:00
Robert O'Callahan
f29db2066b Bug 522767, fixing WinMo bustage 2009-10-27 15:16:35 +13:00
Robert O'Callahan
f3c75a5163 Bug 449324. Apply opaque-border optimization to all opaque border types, not just 'solid'. r=dbaron 2009-10-27 14:43:56 +13:00
Robert O'Callahan
56aad34bd4 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Robert O'Callahan
e7c528888e Bug 522394. Don't bother descending into zero-opacity content when constructing display list. r=dbaron 2009-10-27 14:43:55 +13:00
Robert O'Callahan
bf503ccbd8 Bug 522394. Make nsSVGUtils::ConvertToSurfaceSize more robust, and don't assert needlessly when we adjust filterRes to account for over-large filter sizes. r=jwatt 2009-10-27 14:43:55 +13:00
Robert O'Callahan
e324cf9671 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Robert Longson
0edaf9a46e Bug 448906 - linked patterns are not scaled correctly. r=roc 2009-10-26 19:37:31 +00:00
Jonathan Watt
88596a0dc1 Bug 524104. Markers should be affected by group opacity on the marked element. r=longsonr@gmail.com 2009-10-26 18:17:49 +01:00
Doug Turner
1fc21399d6 Bug 492848 - Visibility notify event API for windowless plugins. r=roc 2009-10-26 00:00:14 -07:00
Oleg Romashin
120e3e893c Bug 472821 - Force wmode preference required to make all plugins visible in fennec. r=joshmoz, sr=jst 2009-10-26 04:46:03 -04:00
Robert Longson
3635446381 Bug 521759 - patterns incorrect with viewBox and percentage widths or heights. r=roc 2009-10-25 13:05:33 +00:00
Jonas Sicking
17edc7e1dc Bug 523771: Support the 'multiple' attribute on <input type=file>. r=benjamn sr=jst 2009-10-24 21:13:30 -07:00
Daniel Holbert
e441521399 Bug 522320: Mask out internally-used OVERRIDE_ALL bit before trying to convert "text-decoration" values to strings. r=dbaron 2009-10-24 20:51:45 -07:00
L. David Baron
5228cb6cef Make test_transitions report either PASS or TODO for its timing-related tests since we just can't test timing on the unit test VMs. (Bug 522862) 2009-10-24 18:47:29 -04:00
Timothy Nikkel
796cb88b9d Backed out changeset 58fd8a926bf5 (bug 366203) due to it causing bug 524293. 2009-10-24 17:31:44 -05:00
Timothy Nikkel
101700a5df Bug 366203. Only apply treebody binding to first treechildren child of tree element. r=neil,enn
--HG--
extra : rebase_source : e9e00ab6374b5628aa0892f9a1f3e0910e4e6d6e
2009-10-20 20:54:30 -05:00
Timothy Nikkel
7b23b3c396 Bug 515096. Add a weak frame check in nsComboboxControlFrame methods HandleRedisplayTextEvent and RemoveOption because flushing could kill us. r=bz
--HG--
extra : rebase_source : e7f6a175a5fd0c8992329288f0e8c2752c270ed6
2009-10-15 21:49:57 -05:00
Timothy Nikkel
5321e14840 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Timothy Nikkel
bfb3787c95 Bug 457514. If an out of flow first letter frame is the insertion parent, then use the placeholder frame to get the parent, not the out of flow frame. r=bz
--HG--
extra : rebase_source : 8913cd4c0484baecba53d239263a761b9c9dcf8b
2009-10-15 21:48:44 -05:00
Timothy Nikkel
c7f094cc6a Bug 522374. Ignore <area> elements in looking for a next/prev siblings for frame construction due to their misuse of the primary frame map. r=bz
--HG--
extra : rebase_source : 1b996eb1c5c6a130197e84ad11998afae4b20eb9
2009-10-16 20:51:05 -05:00
Timothy Nikkel
8393aaead0 Bug 479931. The index of the child content in its container needs to be adjusted to determine its index in the tree rows. r=neil
--HG--
extra : rebase_source : 30711fef343b77ffccdfcf45422eac83bcf6eece
2009-10-18 16:23:11 -05:00
Boris Zbarsky
a15350e46e Bug 524175. Compute weight correctly again for selectors involving pseudo-elements, and fail parsing selectors with more than one pseudo-element. r=zwol 2009-10-23 21:41:59 -04:00
Jaakko Kiviluoto
53ba8a7707 Bug 523333. nsContentUtils::HidePopupsInDocument() does not check for null nsIDocument argument properly. r=enndeakin 2009-10-23 16:24:47 -04:00
Daniel Holbert
97dd2cec14 update bug # for deferred-anim-1.xhtml reftest failure (bug 470868) 2009-10-23 08:16:11 -07:00
Ted Mielczarek
6d7a9bbc89 bug 523330 - default symbols path busted for mochitest/reftest. r=bsmedberg 2009-10-21 14:19:51 -04:00
Ted Mielczarek
436ed59600 bug 524098 - mark this test as random on mac for now 2009-10-23 11:03:49 -04:00
L. David Baron
af787b4ab1 Backed out changeset 1aea70ef6f63 (temporary debugging code for bug 523934). 2009-10-23 10:47:25 -04:00
L. David Baron
779dcfee41 Add temporary debugging code to debug bug 523934 2009-10-23 10:21:00 -04:00
Daniel Holbert
e1704c93d5 bustage fix for bug 520710 -- add missing test files (bustage became visible after Bug 482402 enabled the SMIL tests) 2009-10-22 16:52:30 -07:00
Daniel Holbert
49b7752b81 Bug 482402: Enable "svg.smil.enabled" pref by default (enabling SMIL in nightly builds). r=roc 2009-10-22 15:51:23 -07:00
Daniel Holbert
08db3f7b28 bug 520710: SVG/SMIL: Make <set> element apply its 'to' value for whole duration. r=birtles sr=roc 2009-10-22 15:15:44 -07:00
Daniel Holbert
192d1b23ab Bug 523576: Build nsSMILKeySpline even when SMIL is disabled, since the CSS transitions code needs it. r=roc 2009-10-22 15:13:12 -07:00
Daniel Holbert
750877547e Bug 523755: Remove two unneeded nsCSSValue variable declarations in nsCSSDeclaration. r=dbaron 2009-10-22 15:13:10 -07:00
L. David Baron
4ebea4337e Fix two reftest.js mistakes in changeset d4fa46306138. (Bug 471579) r=ted 2009-10-22 16:36:24 -04:00
Olli Pettay
ccdacf91b1 Trying to fix the test for bug 411236, a=sheriff on a CLOSED TREE 2009-10-22 20:25:06 +03:00
Karl Tomlinson
b0842142c7 test for bug 494901
--HG--
extra : rebase_source : 42ade56cf5e0a803f3f952809049a3a934703d5a
2009-10-22 15:45:36 +13:00
Karl Tomlinson
12e383701f b=494901 textbox misaligned when using align=baseline r=dbaron
--HG--
extra : rebase_source : 6322f30a5eabd9c4662a1cc817dde8abaecacaaa
2009-10-22 13:11:25 +13:00
Karl Tomlinson
bca7a265bd b=494901 remove some things from nsSprocketLayout that don't do anything r=dbaron
--HG--
extra : rebase_source : 065b7ecdf4d570683fe94a3bf7e4d2bfb967ed36
2009-10-22 13:05:25 +13:00
Daniel Holbert
2129f0b766 Followup to Bug 522320 bustage fix: in modified chunk of nsCSSDeclaration, check nsCSSValue unit before querying its integer value 2009-10-21 17:25:30 -07:00
Daniel Holbert
389de9359d Bug 522320 bustage fix (handle 'normal' value for font-variant/font-style in two other places). 2009-10-21 17:05:07 -07:00
Daniel Holbert
ba53e336e3 Bug 520486 (patch 1): Extend nsStyleAnimation to support enumerated values. r=dbaron 2009-10-21 14:57:57 -07:00
Daniel Holbert
6a6d66990d Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 2 (handle remaining properties). r=dbaron 2009-10-21 14:57:57 -07:00
Daniel Holbert
6d5899f9b0 Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 1 addendum (handle font-style, font-variant, overflow). r=dbaron 2009-10-21 14:57:57 -07:00
Daniel Holbert
5510f297d0 Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 1 (handle single-valued SVG-animatable properties). r=dbaron 2009-10-21 14:57:57 -07:00
Robert Longson
a78c07f658 Bug 521207 - tiles do not work if they extend beyond the filter subregion bounds 2009-10-21 18:47:59 +01:00
L. David Baron
0832157c6a Add support for animation of stroke-dasharray to nsStyleAnimation. (Bug 523355) r=dholbert sr=bzbarsky 2009-10-21 10:17:40 -04:00
Jonathan Watt
6fd3e51824 Bug 523481. Restore the group opacity optimization that was broken by the patch for bug 455984. r=longsonr@gmail.com 2009-10-21 13:32:57 +02:00
L. David Baron
27faacf80b Add support for animation of text-shadow and -moz-box-shadow (the first complex value types that we animate). (Bug 523196) r=dholbert sr=bzbarsky 2009-10-21 06:53:46 -04:00
L. David Baron
863b69812a Serialize type selectors with original case. (Bug 523341) r=bzbarsky 2009-10-21 06:53:46 -04:00
Boris Zbarsky
74eef1d572 Bug 523089. Fix serialization of [*|foo] selectors. r=dbaron 2009-10-20 13:27:47 -04:00
Boris Zbarsky
4fe287e289 Bug 522601. Make inDeepTreeWalker closer to spec behavior and implement various unimplemented methods. r=sicking,sdwilsh 2009-10-20 13:27:46 -04:00
Daniel Holbert
bbb012c014 Bug 521335: explicitly handle 'eUnit_None' in nsStyleAnimation's ComputeDistance & AddWeighted methods, so that none-to-none animations won't spam assertions. r=dbaron 2009-10-20 09:54:50 -07:00
Daniel Holbert
3223de4b58 Bug 523188: Allow for ClearAnimValue() (and SetSMILOverrideStyleRule()) to be called for animation targets that aren't in a document. r=birtles r=roc 2009-10-20 09:54:47 -07:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
L. David Baron
33cf1c9250 Implement nsStyleAnimation::Add and Interpolate using the same code underneath. (Bug 523193) r=dholbert sr=bzbarsky 2009-10-20 07:46:16 -04:00
L. David Baron
e57591b530 Switch nsStyleAnimation from using nsStyleCoord to using its own nsStyleAnimation::Value, so we don't have to add nontrivial destructors to nsStyleCoord. (Bug 522852) r=dholbert,bzbarsky 2009-10-20 07:46:16 -04:00
Boris Zbarsky
92987aebab Adding test for bug 523096 2009-10-20 01:43:24 -04:00
Jonathan Griffin
9d1984bf9a Bug 521457. Add debugger options to runreftest.py and runxpcshelltests.py. r=ted
--HG--
extra : rebase_source : 420b33b1d44aae7361c25d8bcc15032c303aa80d
2009-10-19 16:12:09 -07:00
Robert O'Callahan
63962ec51f Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz 2009-10-19 01:01:40 -07:00
Masayuki Nakano
9a683dfc70 Backing out bug 520417
--HG--
rename : widget/src/beos/nsSystemSoundService.cpp => widget/src/beos/nsSound.cpp
rename : widget/src/beos/nsSystemSoundService.h => widget/src/beos/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.h => widget/src/cocoa/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.mm => widget/src/cocoa/nsSound.mm
rename : widget/src/gtk2/nsSystemSoundService.cpp => widget/src/gtk2/nsSound.cpp
rename : widget/src/gtk2/nsSystemSoundService.h => widget/src/gtk2/nsSound.h
rename : widget/src/os2/nsSystemSoundService.cpp => widget/src/os2/nsSound.cpp
rename : widget/src/os2/nsSystemSoundService.h => widget/src/os2/nsSound.h
rename : widget/src/photon/nsSystemSoundService.cpp => widget/src/photon/nsSound.cpp
rename : widget/src/photon/nsSystemSoundService.h => widget/src/photon/nsSound.h
rename : widget/src/qt/nsSystemSoundService.cpp => widget/src/qt/nsSound.cpp
rename : widget/src/qt/nsSystemSoundService.h => widget/src/qt/nsSound.h
rename : widget/src/windows/nsSystemSoundService.cpp => widget/src/windows/nsSound.cpp
rename : widget/src/windows/nsSystemSoundService.h => widget/src/windows/nsSound.h
2009-10-18 16:29:08 +09:00
L. David Baron
547f5923a6 Increase transitions test bezier tolerance to 0.0015 since bug 522862 comment 0 has an example that requires it to be 0.0012. (Bug 522862, Bug 435441) 2009-10-17 10:56:38 -04:00
L. David Baron
653c9c5c2f Make ReResolveStyleContext no longer rerun selector matching on next-continuations by making both ReResolveStyleContext and ReParentStyleContext enforce the invariant that all continuations have the same style context. (Bug 522563) r=bzbarsky 2009-10-17 10:31:47 -04:00
L. David Baron
7c16cf86f8 Add comment about additional place new system metrics should be added. 2009-10-17 10:31:47 -04:00
Masayuki Nakano
019ea85b6d Bug 520417 Redesign nsSound structure r+sr=roc
--HG--
rename : widget/src/beos/nsSound.cpp => widget/src/beos/nsSystemSoundService.cpp
rename : widget/src/beos/nsSound.h => widget/src/beos/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.h => widget/src/cocoa/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.mm => widget/src/cocoa/nsSystemSoundService.mm
rename : widget/src/gtk2/nsSound.cpp => widget/src/gtk2/nsSystemSoundService.cpp
rename : widget/src/gtk2/nsSound.h => widget/src/gtk2/nsSystemSoundService.h
rename : widget/src/os2/nsSound.cpp => widget/src/os2/nsSystemSoundService.cpp
rename : widget/src/os2/nsSound.h => widget/src/os2/nsSystemSoundService.h
rename : widget/src/photon/nsSound.cpp => widget/src/photon/nsSystemSoundService.cpp
rename : widget/src/photon/nsSound.h => widget/src/photon/nsSystemSoundService.h
rename : widget/src/qt/nsSound.cpp => widget/src/qt/nsSystemSoundService.cpp
rename : widget/src/qt/nsSound.h => widget/src/qt/nsSystemSoundService.h
rename : widget/src/windows/nsSound.cpp => widget/src/windows/nsSystemSoundService.cpp
rename : widget/src/windows/nsSound.h => widget/src/windows/nsSystemSoundService.h
2009-10-17 21:53:47 +09:00
Daniel Holbert
ad1651cc8b bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron 2009-10-16 15:49:30 -07:00
Jonathan Griffin
f7c1aed1b9 Bug 521130. Add a --timeout parameter to runtests.py, and change the --timeout parameter in runreftests.py to use s instead of ms. r=ted 2009-10-16 13:23:30 -07:00
Taras Glek
a8c40146d6 Bug 522649: author styled select widget is missing arrow on button r=bz
--HG--
extra : rebase_source : 74aeb4467822896f4bc0e5ceaf73578de75c2222
2009-10-16 11:48:04 -07:00
Ted Mielczarek
2c3a293605 bug 372581 - fix runreftest.py's --utility-path to handle relative pathnames. r=bsmedberg
--HG--
extra : rebase_source : dcf9cff627ba9abb46ab99dd88616589fbcb5a3c
2009-10-16 13:34:17 -04:00
Mats Palmgren
846c1e4208 Make the reftest framework draw the caret (non-blinking). b=519361 r=roc 2009-10-16 12:55:49 +02:00
Mats Palmgren
00302efc79 Flag nsCaret::mPendingDraw if the on-cycle draw was suppressed; update the caret when the pres shell tells us that painting is unsuppressed. b=520720 r=roc 2009-10-16 12:55:32 +02:00
Olli Pettay
7e40ce018a Bug 448602 - Have a way to enumerate event listeners, r=bz
--HG--
extra : rebase_source : 77ed96b23db73ae78ed7f34ed231daf84fae1f54
2009-10-16 11:57:32 +03:00
L. David Baron
48e18ed038 Add bug numbers for the FIXME comments in CSS transitions patches. (Bug 435441) 2009-10-15 17:23:19 -07:00
L. David Baron
5ed2b51cec Add tests for media queries of system metrics. (Bug 522149) 2009-10-15 17:23:19 -07:00
L. David Baron
30ac481d4d Add media queries for all of our system metrics exposed in :-moz-system-metric(). (Bug 522149) r=bzbarsky 2009-10-15 17:23:19 -07:00
L. David Baron
2c64d5b55a Pass the media feature to media feature value getters. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
L. David Baron
b52b7d6d82 Make nsMediaFeature::mKeywordTable an mData union. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
L. David Baron
87dadf6778 Put :-moz-system-metric values in nsGkAtoms. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
Robert O'Callahan
754070307a Add logging code to help diagnose random failure 2009-10-16 12:10:27 +13:00
Jesse Ruderman
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman
28f2ece525 Add some crashtests 2009-10-15 13:26:59 -07:00
Zack Weinberg
a1d38cb54a Bug 522292: Make the table of character properties in nsCSSScanner.cpp a compile-time constant. 2009-10-15 13:18:21 -07:00
Jesse Ruderman
980554b795 Add reftest for bug 467321 2009-10-15 12:18:37 -07:00
Daniel Holbert
e98e00b7d5 Bug 517882 follow-up: Reorder nsStyleText constructor's initializer list to fix build warning. r=dbaron 2009-10-14 19:42:03 -07:00
Robert O'Callahan
a981cba29c Bug 508115. Test 2009-08-05 21:29:33 +12:00
Robert O'Callahan
6c601aeedb Bug 520316. Call DetachWidgetEventHandler on the right view. r=dbaron 2009-10-10 00:48:29 +13:00
Robert O'Callahan
2194dd18b0 Bug 520462. Test that mouse clicks transfer focus to plugins correctly. r=jmathies 2009-10-08 00:14:12 +13:00
Robert O'Callahan
4f509a4cd9 Bug 476547. Make lquote and rquote actually work, especially when there are dynamic changes, by finding the correct text frames to modify and notifying the text frame that the DOM text has changed. r=karlt 2009-10-07 17:28:41 +13:00
Robert O'Callahan
f98cfc2882 Bug 520436. Interpret NPN_InvalidateRect rectangles as relative to the content-box, not the border-box. r=josh 2009-10-05 23:07:30 +13:00
L. David Baron
09ca90ac3c Increase test tolerance to reflect observed errors in bug 435441 comments 103 and 105, and handle timer firing after 8 seconds (comment 104). 2009-10-14 17:51:38 -07:00
Taras Glek
d4fe44eb8b Bug 522050 - select menus appear huge on bugzilla r=bzbarsky 2009-10-14 14:59:21 -04:00
L. David Baron
34d6f3a24f Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky 2009-10-13 19:38:20 -07:00
L. David Baron
fcf766ba60 nsCSSValue constructor taking nscolor is a bad idea since nscolor is just PRInt32. (Bug 521350) r=bzbarsky 2009-10-13 19:38:20 -07:00
L. David Baron
b13bce9c1c Add bug numbers for FIXME comments in transitions landing. (Bug 435441) 2009-10-13 19:38:20 -07:00
L. David Baron
2f1013d988 Add previously-skipped border and outline properties to nsStyleAnimation. (Bug 521292) r=dholbert, bzbarsky 2009-10-13 19:38:20 -07:00
Jesse Ruderman
ca80457a1b Fix typo in these reftest files 2009-10-13 12:28:57 -07:00
Simon Montagu
f0251c1158 Don't propagate the FRAMES_ARE_EMPTY flag when continuations cross block frame boundaries. Bug 495875, r+sr=roc 2009-10-13 00:12:54 -07:00
Daniel Holbert
582391de5f whitespace-only: clean up trailing whitespace in nsCSSProps.cpp & nsRuleNode.cpp 2009-10-12 23:35:57 -07:00
Boris Zbarsky
55b2e31775 Bug 521525. Make sure to reflow kids with percentage heights if our computed height changes from specified to auto. r=dbaron 2009-10-12 18:27:24 -04:00