Commit Graph

27643 Commits

Author SHA1 Message Date
L. David Baron
2f98d4b94d Fix processing of matrix() transform functions to handle calc() rather than asserting. (Bug 584569) r=bzbarsky 2010-08-05 21:59:18 -07:00
L. David Baron
fdbe24a04c Remove the MOZ_WIDGET_TOOLKIT backwards-compatibility definition in the reftest condition sandbox. (Bug 570329) r=roc 2010-08-05 21:59:18 -07:00
Chris Jones
1014dfe1fe Bug 570620, part b: Fix a hidden header depedency and add a PresShell::GetLayerManager() helper. r=tn 2010-08-05 17:11:23 -05:00
Chris Jones
f16c7feac5 Bug 570620, part a: Fix an assertion that will soon no longer hold and remove obsoleted already_AddRefed idiom in two places. r=roc 2010-08-05 17:11:23 -05:00
Boris Zbarsky
9e848ad2db Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron 2010-08-05 17:59:36 -04:00
Bobby Holley
926c1076f2 Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker 2010-08-05 11:27:52 -04:00
Daniel Holbert
565ce0101d Bug 578786: Fix reftests for bug 491180 on Ubuntu 10.04. r=bz a=tests-only 2010-08-05 07:53:43 -07:00
Daniel Holbert
b6ac7fe231 Bug 579492: Use dev pixels for screen rect in PresShell::PaintRangePaintInfo. r=roc a=dbaron 2010-08-05 07:53:43 -07:00
Jonathan Kew
4214a38f34 bug 581092 - use unrounded width when advancing x-position to draw RTL text run in canvas. r=vlad a=blocking2.0 2010-08-05 10:18:39 +01:00
Jonathan Kew
ab9fd8664c bug 578118 - reduce font size in reftest to avoid D2D antialiasing irregularities. r=bas a=tests-only 2010-08-05 10:18:37 +01:00
Boris Zbarsky
062993e0ce Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron 2010-08-04 22:40:19 -04:00
David Zbarsky
170437618c Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
Ehsan Akhgari
6ddaf2e6c3 Bug 578604 - Crash [@ nsTextControlFrame::SetInitialChildList(nsIAtom*, nsFrameList&) ] when print preview; r=roc a=blocking2.0+ 2010-08-04 22:13:57 -04:00
Kyle Huey
65b4e6c0c6 Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz 2010-08-02 15:19:04 -07:00
Zack Weinberg
9ccd63412b Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron 2010-08-04 12:27:05 -07:00
Zack Weinberg
19e2c4da92 Bug 338679: mark style declarations immutable if they are stringified. r=bzbarsky a=dbaron 2010-08-02 15:40:35 -07:00
Zack Weinberg
24feb13867 Bug 569719 part 16: Don't refcount declarations and data blocks; don't have style rules hold direct pointers to data blocks. r+a=dbaron 2010-07-23 11:00:52 -07:00
Zack Weinberg
4f39493716 Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron 2010-07-23 11:00:49 -07:00
Zack Weinberg
190abbabb0 Bug 569719 part 14: replace DeclarationChanged() with SetCSSDeclaration(), which takes the new declaration as an argument. r=dbaron 2010-07-23 11:00:47 -07:00
Zack Weinberg
99904c8b6e Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron 2010-07-23 11:00:44 -07:00
Zack Weinberg
4a58609d8c Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron 2010-07-23 11:00:42 -07:00
Zack Weinberg
143a4b55b1 Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron 2010-07-23 11:00:39 -07:00
Zack Weinberg
793c8d0dc0 Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron 2010-07-23 11:00:37 -07:00
Zack Weinberg
b184cb662d Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Zack Weinberg
785d0ccdde Bug 569719 part 7: Add AppendToString methods to nsCSSRect and friends as well, replacing Declaration::AppendStorageToString. r=dbaron 2010-07-23 11:00:29 -07:00
Zack Weinberg
b0de4806b7 Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron 2010-07-23 11:00:27 -07:00
Zack Weinberg
2d38832142 Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron 2010-07-23 11:00:24 -07:00
Zack Weinberg
aebfe9eed8 Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron 2010-07-23 11:00:21 -07:00
Zack Weinberg
85cd8e693c Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron 2010-07-23 11:00:19 -07:00
Robert O'Callahan
50f42b728b Bug 580834. Make nsLayoutUtils::GetActiveScrolledRoot stop at the nearest popup ancestor instead of asserting. r=tnikkel,a=dbaron 2010-08-13 22:03:51 +12:00
Robert O'Callahan
e028060919 Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron 2010-08-13 22:01:58 +12:00
Robert O'Callahan
1f7b01e1c2 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron 2010-08-13 22:01:13 +12:00
Robert O'Callahan
82d45b530d Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan
339b3340da Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
d61b93538d Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
085c8301ba Bug 537890. Part 6: Switch DPI dynamically when the window moves across screens or the screen mode changes. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
4e69a7ecad Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
46ae2ef8d0 Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
fd75e64333 Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
8084cbbe6d Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Jeff Muizelaar
73cbe59a21 Bug 584400. cairo: Fix dash arrays with D2D
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Jim Mathies
258b0690f7 Bug 579421 - Title bar(window without body) appears at the upper left corner of monitor screen. r=roc. (CLOSED TREE) 2010-08-03 22:36:19 -07:00
Robert O'Callahan
692ed55c12 Bug 580494. Avoid creating an empty ThebesLayer when an inactive nsDisplayItem::BuildLayer returns null. r=tnikkel
--HG--
extra : rebase_source : a22225bb3b5c2bbc12ab2f9b50594083143dbdf0
2010-08-03 15:33:24 +12:00
Jeff Muizelaar
91cc82e49c Bug 518172. Fix the status of the 518172 reftests
I forgot to mark these reftests as passing after fixing
Bug 518172.
2010-08-02 11:04:36 -04:00
Felipe Gomes
9f58efac64 Bug 575328 - Fix for search suggestions box appears on wrong monitor in multiple monitor environment when window is maximized. r=enndeakin. 2010-08-02 10:06:04 -05:00
Felipe Gomes
e2a618aa5f Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Robert O'Callahan
cf14e5ee62 Fix reftest for bug 579349 2010-08-02 16:07:44 +12:00
Robert O'Callahan
bb197a6e72 Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Matt Woodrow
104ade3438 Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron 2010-08-02 15:07:04 +12:00
Robert O'Callahan
24fd5553c9 Bug 582467. With accelerated layer backends, we should always treat video layers as active to avoid having to read back; no point in saving composition costs on those backends anyway. r=vlad 2010-08-02 15:06:58 +12:00
Robert O'Callahan
5286b29597 Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert O'Callahan
1524120859 Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert Sayre
61a58b84de Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Olli Pettay
44e12bf078 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Olli Pettay
8ba02e0050 Bug 576070, stricter tree column handling, r=neil
--HG--
extra : rebase_source : 15c91e8cb1c07abb5a6348711bf9cca0d0c20aaf
2010-07-31 21:18:22 +03:00
Craig Topper
8662f7a74d Bug 579830 - Change nsCOMPtr<Element> to nsRefPtr<Element>. Change one location that was QIing to Element. r=bz a2.0=benjamin
--HG--
extra : rebase_source : db2a1a863ed6c646ef8eb850eaf93b64b4552be7
2010-07-30 20:44:45 -07:00
L. David Baron
7d7660f740 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
Craig Topper
cdca710a52 Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper
a710a36a06 Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper
2c93240c8e DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
L. David Baron
b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Phil Ringnalda
09d6195bc9 Bug 569623 - Mark reftests/bidi/bidi-004.html, reftests/bidi/bidi-004-j.html and reftests/bidi/mirroring-02.html as passing on Linux, since the CentOS boxes where they failed are gone (relanding to fix bug 578286) a2.0=tests 2010-07-30 16:48:57 -07:00
L. David Baron
8285e45e4b Make zwnj-01 have a background color so that the SVG filter works correctly. (Bug 581081) r=jfkthame a2.0=tests 2010-07-30 16:48:57 -07:00
Makoto Kato
ea3c3d0b50 Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only 2010-07-30 17:18:45 +09:00
Kyle Huey
02f6c3eb51 Backed out changeset 9e87c3efc33b 2010-07-29 16:01:41 -07:00
Kyle Huey
330a1072b2 Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
Kyle Huey
de6f5d1296 Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Kyle Huey
48e10623c5 Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Timothy Nikkel
563e069ae6 Backed out changeset 9e290d196600 (bug 574621) for causing test failures. 2010-07-29 15:16:40 -05:00
Robert O'Callahan
b6f426f863 Bug 574621. Make sure top level content documents get an opaque background. (patch modified to review comments by romaxa) r=tnikkel 2010-07-29 14:12:46 -05:00
Steffen Imhof
6729589680 Bug 578693 - Transport of key events to plugin in window-less case is incomplete for Qt backend r=dougt 2010-07-28 18:05:32 -07:00
Robert Sayre
802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Jeff Walden
82a3451969 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
L. David Baron
d942fceb31 Clean up messy line thanks to new operator from bug 570912. (Bug 582111) r=bzbarsky 2010-07-28 16:43:53 -07:00
L. David Baron
cd60aa35b8 Make the transitions style rule hold on to its values and thus preserve rule immutability. Do this by reusing the code for the covering style rule for both transitions style rule types. (Bug 582111) r=bzbarsky 2010-07-28 16:43:53 -07:00
David Zbarsky
a4f8062126 Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Jeff Walden
5f201100e1 Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden
629a60bd96 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Ginn Chen
d5b0c3ecd1 Bug 580546 FrameLayerBuilder.cpp failed to compile with Sun Studio 12 r=roc a=bsmedberg 2010-07-27 17:20:55 +08:00
Robert Longson
d8318c4a74 Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
03cd1f62f1 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Clint Talbert
65a508d873 Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher 2010-07-26 18:43:34 -07:00
Clint Talbert
f960b0cffd Bug 573694 Optionally allow reftest harness to write output to log file for android r=dbaron 2010-07-26 18:43:33 -07:00
Bobby Holley
05c4b5b375 Bug 578511 - Canvas API to disable sync decoding of images.r=roc,sr=vlad 2010-07-26 17:20:45 -04:00
Kyle Huey
ccc69fca65 Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec 2010-07-26 12:35:16 -07:00
Craig Topper
7f6bd7be85 Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt 2010-07-25 17:25:38 -07:00
Timothy Nikkel
e7fa0418df Bug 538308. Record that this crashtest asserts. 2010-07-25 14:27:01 -05:00
Timothy Nikkel
9fc2823e63 Bug 542136. Add crashtest. 2010-07-25 13:10:31 -05:00
Timothy Nikkel
991c464a6f Bug 538308. Add crashtest. 2010-07-25 13:10:31 -05:00
Timothy Nikkel
6666c1c1f6 Bug 489868. Add reftest. 2010-07-25 13:10:31 -05:00
Joe Drew
7b8cd77a78 Bug 572520: step 2.3: make the bug 445810 tests not assume that finishing the load of one image implies that all images have finished loading. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew
b6bb96fd67 Bug 572520: step 2.2, mark up the background draw nothing tests as getting another assertion. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew
7a3ca8ebdf Bug 572520: step 2.1, mark up the table background reftests as asserting on gtk2 due to bug 527825. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew
f494520abe Bug 572520: step 2.0, fix the visited image loading tests to poll for the images to load; just waiting for a draw isn't enough. r=dbaron 2010-07-28 14:51:37 -07:00
Jonathan Kew
02b75da4e2 bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett 2010-07-28 14:36:00 +01:00
Jonathan Kew
dab6f5d47c enable variation selector reftest on OS X (for bug 569350). r=jdaggett a=test-only 2010-07-28 10:30:23 +01:00
John Daggett
5fcee06d7a Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe 2010-07-28 14:30:21 +09:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
16a0fba570 Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg 2010-07-27 16:57:47 +02:00
Neil Deakin
f9a7385f55 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
0033285038 Bug 552982, Part 8, support labels on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
bbe81ee0cd Bug 552982, popups with titlebars tests 2010-07-27 09:38:04 -04:00
Neil Deakin
ea294cf422 Bug 552982, Part 5: support for titlebars on panels, r=mats,sr=roc 2010-07-27 09:38:03 -04:00
Neil Deakin
8522fc0f13 Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin
4a99c182d8 Bug 552982, Part 3: support panel levels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin
f46c03d388 Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats 2010-07-27 09:38:02 -04:00
Neil Deakin
818d6e295a Bug 552982, Part 1: change nsXULPopupManager::AdjustPopupsOnWindowChange so that it only adjusts popups associated with the same window, r=mats 2010-07-27 09:38:02 -04:00
Robert O'Callahan
cd9415a4ff Bug 579264. Ensure that ApplyRenderingChangeToTree repaints popup descendants of the frame. r=bz 2010-07-24 21:38:55 +12:00
Robert O'Callahan
bc67da304a Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange 2010-07-24 21:35:29 +12:00
Kyle Huey
83fd9cd6ac Bug 567323: Layout bindings for camera. r=sicking sr=roc 2010-07-23 14:35:51 -07:00
Benjamin Smedberg
dc487751c4 Back out bug 567323 because of consistent Mochitest-4 errors:
1530 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug411236.html | Test timed out.
1578 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug534785.html | Test timed out.
1702 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug563642.html | Test timed out.
1709 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug564115.html | Test timed out.
2010-07-23 16:16:39 -04:00
Kyle Huey
e06de39084 Bustage fix for Bug 567323 2010-07-23 11:24:49 -07:00
Kyle Huey
1dfe747779 Bug 567323: Layout bindings for camera. r=sicking sr=roc 2010-07-23 10:58:58 -07:00
Olli Pettay
6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Karl Tomlinson
f6b874b897 revert most of acb4d17b70cd from bug 573933 to reenable -moz-appearance testing with bug 576143
--HG--
extra : rebase_source : 1ca78ffb1c791fac5cb89b94baf5a9d819da16ff
2010-07-23 10:48:15 +12:00
Karl Tomlinson
7c86e32ec8 b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Boris Zbarsky
69d8c3830b Bug 580685. We might not have a root element to resolve 'rem' against. r=dbaron 2010-07-22 17:33:37 -04:00
Justin Lebar
f86987c51a Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Masayuki Nakano
1773ea498d Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
Ehsan Akhgari
48b4d58926 Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin 2010-06-02 22:39:29 -04:00
Jonathan Kew
c37829eb10 bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett 2010-07-22 10:25:21 +01:00
Jonathan Kew
34e5652416 bug 511339 followup - add reftests for font feature control. r=jdaggett a=tests-only 2010-07-22 10:25:20 +01:00
Mounir Lamouri
d55a633ca1 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Ehsan Akhgari
16994f2761 Bug 576342 - Intermittent Windows Cd failure: "REFTEST TEST-UNEXPECTED-PASS | reftest/tests/layout/generic/crashtests/463741-1.html | assertion count 3 is less than expected 4 assertions"; r=Jesse 2010-07-21 20:47:04 -04:00
Masayuki Nakano
e75f1ffb27 backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
a6e67f7876 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Craig Topper
4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Chris Jones
ad15c41672 Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc 2010-07-21 13:06:33 -05:00
Kyle Huey
a4df4bc7a5 Bug 574570: Followup to address missed review comment. 2010-07-21 09:12:19 -07:00
Kyle Huey
3f7b53ea0f Bug 574570: Parse the 'accept' attribute in accordance with the HTML5 spec. r=sicking,volkmar 2010-07-21 09:07:55 -07:00
Boris Zbarsky
54bc004d14 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
e3b2e5a289 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
39d355ebfe Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
9f23039775 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
1efbdf7b98 Reenable this test now that bug 556124 is fixed. 2010-07-19 23:57:27 -04:00
Robert O'Callahan
d98ada6843 Bug 579262. Fix logic around mNeedsToUpdatePluginGeometry so we don't miss updating geometry for some plugins. r=tnikkel 2010-07-20 13:29:29 +12:00
Robert O'Callahan
9471a6cc13 Bug 562833. Set proper alignment for display items. r=dbaron 2010-07-20 13:29:25 +12:00
Zack Weinberg
2f4426c2f1 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
d60d9e623f Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Boris Zbarsky
acef5b87c5 Bump the mac assert count too. Bug 579940. 2010-07-19 13:28:45 -04:00
Boris Zbarsky
b5d20cfbb2 Bug 441669. Look for our flow by starting at the cached location and moving out, instead of always searching in one direction and then in the other. r=roc 2010-07-19 11:55:19 -04:00
John Daggett
a18f037625 Bug 563023. Fix Postscript local lookup to match ref. r=jkew 2010-07-19 17:05:10 +09:00
Boris Zbarsky
fa5599abcc Bump the assertion counts, since they seem to be timing-dependent now that we're not flushing layout onload. 2010-07-19 01:09:11 -04:00
Timothy Nikkel
93b1f73e4b Bug 572296. Default the position to open the context menu to the top left of the document. r=mats 2010-07-18 21:23:48 -05:00
Timothy Nikkel
2d90690434 Bug 563878. Part 17. Use nsIFrame::GetNearestWidget to simplify some code. r=mats 2010-07-18 21:23:48 -05:00
Timothy Nikkel
d421bb8373 Bug 563878. Part 16. Switch nsMenuPopupFrame::SetPopupPosition to using the new API to convert app units. r=mats 2010-07-18 21:23:48 -05:00
Timothy Nikkel
20d255fcc2 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Timothy Nikkel
8672c57994 Convert to calls of GetOffsetTo from retained layers to GetOffsetToCrossDoc. r=roc on irc 2010-07-18 21:23:48 -05:00
Timothy Nikkel
09b7683b38 Bug 563878. Part 13. Implement zoom display list item to handle document hierarchies where zoom is not constant. r=mats sr=roc 2010-07-18 21:23:48 -05:00
Timothy Nikkel
ecb1228db4 Bug 563878. Part 12. Change the view observer interface and overhaul painting in view/. r=mats f=roc 2010-07-18 21:23:47 -05:00
Timothy Nikkel
6c604b2923 Bug 563878. Part 11. Rework the synth mouse move code. r=mats 2010-07-18 21:23:47 -05:00
Timothy Nikkel
7be804c15d Adjust comment. r=roc on irc 2010-07-18 21:23:47 -05:00
Timothy Nikkel
70d241a01e Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc 2010-07-18 21:23:47 -05:00
Henri Sivonen
c21cd9cad1 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Daniel Holbert
67c3424709 Bug 578459: Add a comment to currently-unused file svgBindings.xml to indicate why it hasn't been removed. [comment-only change] r=jwatt 2010-07-18 15:07:54 -07:00
Craig Topper
7bc0610614 Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz 2010-07-18 23:20:40 +02:00
Craig Topper
e6dc443652 Bug 575900 - Remove unneeded QIs from CSS Rule classes. r=bz 2010-07-18 22:23:12 +02:00
Craig Topper
9855496f0b Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz 2010-07-18 16:39:20 +02:00
Daniel Holbert
44bf6cafc0 Bug 579588: mark recently-checked-in sporadically-failing test as random, pending investigation in this bug. 2010-07-18 04:18:59 -07:00
Robert Longson
780577b92e Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Robert Longson
17a0720c8d Bug 577475 - polygon end marker should be at the same point as the start marker. r=jwatt 2010-07-18 10:59:11 +01:00
Josh Aas
9a8a73ee06 Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa 2010-07-17 19:47:29 -04:00
Jonathan Kew
956ca25f38 bug 579414 - use sans-serif font and modify text to avoid Win7 random orange due to clipped antialiasing pixels [test-only fix] 2010-07-17 13:38:36 +01:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6e287b8de2 Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao 2010-07-17 10:11:54 +02:00
Mounir Lamouri
b8a342bf7a Bug 565272: Implement the accept attribute for audio/*, video/*. r=sicking 2010-07-17 00:00:28 -07:00
L. David Baron
63ad20a8ac Append style sheets from binding manager when ensuring unique inner on all sheets. (Bug 578810) r=bzbarsky 2010-07-16 22:36:34 -07:00
L. David Baron
1006454fbb Fix typo in comment as followup from bug 531344. 2010-07-16 22:36:34 -07:00
Daniel Holbert
88b6257f5f Bug 579414: Revert attempted randomorange test-fix, since it didn't completely fix the sporadic failure. [tests only] 2010-07-16 22:07:06 -07:00
John Daggett
831a6b0e5e Bug 578022. Cleanup font deactivation code on Windows. r=jkew 2010-07-17 10:32:18 +09:00
Daniel Holbert
811f618ec9 Bug 579414: Use sans-serif font to work around win7 randomorange due to clipped serif-antialiasing. Test-only fix, a=dholbert_sheriff for landing on a CLOSED TREE 2010-07-16 16:25:49 -07:00
Jonathan Watt
9da6570c8a Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Markus Stange
1ec00f8a70 Bug 404267 - Always allow click-through on scrollbars. r=roc 2010-07-16 15:01:39 +02:00
Jim Mathies
69015a0e94 merge 2010-07-15 21:47:52 -05:00
Jim Mathies
0106790dc3 Backing out 'Call Show if our nsIXULWindow will not' patch from bug 574690 due to various regressions. r=bz 2010-07-15 21:47:14 -05:00
Robert O'Callahan
286ba76cc0 Bug 564991. Part 44: Move IsFixedAndCoveringViewport implementation to nsDisplayBackground so it can work on any frame, not just the canvas background. r=tnikkel 2010-07-16 09:08:12 +12:00
Robert O'Callahan
42220d0841 Bug 564991. Part 43: Fix coordinates for invalidating fixed-attachment backgrounds. r=tnikkel 2010-07-16 09:08:12 +12:00
Robert O'Callahan
be5f8938fa Bug 564991. Part 42: When the root frame changes size, invalidate the changed area. r=tnikkel 2010-07-16 09:08:12 +12:00
Robert O'Callahan
bcfd77d28a Bug 564991. Part 39: Accumulate the full opaque rect of opaque display items, and don't simplify away opaque areas of display items low in z-order. r=tnikkel 2010-07-16 09:08:11 +12:00
Robert O'Callahan
7629433417 Bug 564991. Part 38: Make invalidation-during-paint work reliably. r=mats,sr=dbaron 2010-07-16 09:08:11 +12:00
Robert O'Callahan
6dfd97967c Bug 564991. Part 36: Newly-instantiated plugins should be clipped to be invisible until we set their geometry correctly. r=mats 2010-07-16 09:08:10 +12:00
Robert O'Callahan
35417f4105 Bug 564991. Part 35: Fix text decorations to have a unique GetPerFrameKey. r=tnikkel 2010-07-16 09:08:10 +12:00
Robert O'Callahan
306a6d44c0 Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones 2010-07-16 09:08:10 +12:00
Robert O'Callahan
57f54e9cc3 Bug 564991. Part 33: Copy data out of hashtable in DrawThebesLayer in case hashtable is modified during the method. r=tnikkel 2010-07-16 09:08:10 +12:00
Robert O'Callahan
09ce1c5031 Bug 564991. Part 31: Don't cull display items in nsDisplayList::ComputeVisibility. r=mats 2010-07-16 09:08:09 +12:00
Robert O'Callahan
1656c232c6 Bug 573942. Adjust transform matrix in RenderDocument to ensure that components close to integers become actual integers. r=jrmuizel,sr=vlad 2010-07-16 09:08:08 +12:00
Robert O'Callahan
8a03d444f6 Bug 564991. Part 29: Sort plugins so they get moved in the best order. r=karl 2010-07-16 09:08:08 +12:00
Robert O'Callahan
00c5b11afa Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad 2010-07-16 09:08:08 +12:00
Robert O'Callahan
de827321f1 Bug 564991. Part 26: Put background-attachment:fixed backgrounds that propagated to the canvas in their own layer. r=mats,sr=dbaron 2010-07-16 09:08:06 +12:00
Robert O'Callahan
e5ff8517e3 Bug 564991. Part 25: Introduce a 'has active layers' flag on frames, which times out, and use it for 'opacity'. r=mats,sr=dbaron 2010-07-16 09:08:06 +12:00
Robert O'Callahan
e447b2c7d7 Bug 564991. Part 24: Make video layer inactive if the video is not playing. r=doublec 2010-07-16 09:08:05 +12:00
Robert O'Callahan
1b38f406bd Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron 2010-07-16 09:08:05 +12:00
Robert O'Callahan
06e139fe2b Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats 2010-07-16 09:08:05 +12:00
Robert O'Callahan
0964ffd63b Bug 564991. Part 17: Reimplement ColorLayers. r=mats 2010-07-16 09:08:03 +12:00
Robert O'Callahan
b496b17fb3 Bug 564991. Part 16: Improve performance by putting each scrollbar in its own layer. Also note that Mac scrollbars are opaque. r=mats,sr=dbaron 2010-07-16 09:08:03 +12:00
Robert O'Callahan
3b653c5345 Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron 2010-07-16 09:08:02 +12:00
Robert O'Callahan
2ac3c549db Bug 572613. Avoid creating a SolidColor display item when possible by poking the color into the canvas background display item. r=tnikkel 2010-07-16 09:07:53 +12:00
Robert O'Callahan
2e3d02e038 Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
Robert O'Callahan
4b1b78c893 Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats 2010-07-16 09:07:52 +12:00
Robert O'Callahan
bf8f1ac279 Bug 564991. Part 11: Start retaining layer trees. r=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan
788415747e Bug 564991. Part 10: When NS_DOCUMENT_STATE_WINDOW_INACTIVE changes, flush the contents of all ThebesLayers. We need to do this because this change can change the rendering of themed content, and explicitly tracking and invalidating all such content would be way too expensive to justify. r=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan
6824d17ea0 Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00