Commit Graph

26524 Commits

Author SHA1 Message Date
Chris Double
987e0e6294 Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Robert Sayre
2c202e279b Merge tracemonkey to mozilla-central. 2010-04-05 13:17:29 -04:00
Robert Sayre
0f3df923db Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Bill Gianopoulos
3387c15d67 Bug 555727: Stop MSVC from over-optimizing NS_DECLARE_FRAME_PROPERTY. r=dbaron 2010-04-03 16:21:53 -04:00
Ehren Metcalfe
a791e19cc4 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
0318aa7e91 Bug 554188 followup: use fails-if rather than random-if, with stricter condition. 2010-04-02 22:31:41 -07:00
L. David Baron
4448b4ee8a Make pseudo-classes-02 run using test_visited_reftests.html instead of the normal reftest harness. (Bug 147777) r=jwatt 2010-04-02 18:58:27 -07:00
L. David Baron
0c9f4d1933 Add mochitests for getComputedStyle and querySelector(All) lying about :visited selectors. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
13e72332b4 Add reftests for :visited handling in layout/reftests/css-visited/ and make them run through the mochitest harness (via layout/style/test/test_visited_reftests.html) rather than the reftest harness. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
3a0a941202 Add method to munge the content state appropriately for how we're matching so that matching operations in HTML and CSS style sheets follow the new rules. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
77b2baaacc Put visited handling in the tree match context. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
fa654ea00f Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
fa5650511b Propagate whether we have a relevant link from rule processors to style set. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
124bb33c2e Pass through desired link-visitedness on the rule walker and construct if-visited style contexts in the style set when visited styles are present. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
3dbb11b9a9 Fix initialization comment in nsRuleProcessorData. (Bug 147777) r=sdwilsh 2010-04-02 18:58:26 -07:00
L. David Baron
eb2548e97d Make nsStyleContext::FindChildWithRules deal with the visited style context. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
12aeda8a30 Propagate whether we have a relevant link out of selector matching. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
179665d6ce Introduce NodeMatchContext for additional input into SelectorMatches. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
9b0db9e924 Introduce TreeMatchContext for additional output from SelectorMatchesTree. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
b33a804541 Use the appropriate color based on visitedness for the color or fallback color parts of 'fill' and 'stroke'. (Bug 147777) r=jwatt 2010-04-02 18:58:26 -07:00
L. David Baron
e4ae9159cc Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
951a1ae9b5 Use the appropriate color based on visitedness for border-collapse borders. (Bug 147777) r=bernd 2010-04-02 18:58:26 -07:00
L. David Baron
712030c86e Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
f27c596c76 Prerequisite comments for using the appropriate color for border colors. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
15a5fe036b Use the appropriate color based on visitedness for the 'background-color' property. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
109a546aaa Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
a35f4b2aac Use the appropriate color based on visitedness for the 'color' property. (Bug 147777) r=roc 2010-04-02 18:58:25 -07:00
L. David Baron
7a857e9b5a Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
L. David Baron
5d680f5d9b Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
L. David Baron
4cf0bf0c58 Add function to nsStyleUtil for choosing the appropriate color from style data based on link visitedness. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
L. David Baron
80348d8506 Add mechanism for separate style data for visited style. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
L. David Baron
681596fa66 Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Vivien Nicolas
f60313c3a4 Bug 461843: Backout changes to avoid assertions but broke scrollbar margin support [r=roc] 2010-04-02 18:25:40 -04:00
Ted Mielczarek
71d714f465 Bug 554188: 534919-1.html is known to fail on 10.6, working on it. test only, no-r= 2010-04-02 15:06:20 -05:00
Robert Sayre
7d438a554a Merge mozilla-central to tracemonkey. 2010-04-02 10:10:27 -04:00
Robert Sayre
0fb98b223d Disable reftest 508908-1.xul. See bug 556124. 2010-04-02 08:03:11 -04:00
Zack Weinberg
ca65e30e9c Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky 2010-04-01 23:07:43 -07:00
Zack Weinberg
835ff67dda Bug 494117: remove PresContext argument to nsStyleSet::GetContext. r=bzbarsky 2010-04-01 23:07:42 -07:00
Mats Palmgren
348f3082bf Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron 2010-04-01 23:07:40 -07:00
Boris Zbarsky
2b60b98a59 Bug 552334. Deal with z-indices whose difference overflows a 32-bit signed int. r=roc 2010-04-01 22:09:05 -04:00
Boris Zbarsky
e31631ba45 Bug 551699. Use the content insertion frame of our containing block when looking for our static position. r=dbaron 2010-04-01 22:09:05 -04:00
Boris Zbarsky
dd2e9869ca Bug 538082. These asserts are asserting things that happen to not always be true. r=dbaron 2010-04-01 22:09:05 -04:00
Boris Zbarsky
f203c2ec0f Bug 509569. Avoid assertion by not storing structs with unused inherit logical box props in them, even though it would be ok to do so. r=dbaron 2010-04-01 22:09:05 -04:00
Zack Weinberg
7529e1fe6e Bug 508466 part 3: remove eSelectorParsingStatus_Empty. r=dbaron 2010-03-31 11:08:11 -07:00
Zack Weinberg
223c22a153 Bug 508466 part 2: In a CSS selector group, use distinct mOperator codes for the descendant combinator (' ') and the end of the chain ('\0'). r=dbaron 2010-03-31 11:08:09 -07:00
Zack Weinberg
3b15f59e43 Bug 508466 part 1: Refactor nsCSSParser::ParseSelector and nsCSSParser::ParseSelectorGroup for clarity. r=dbaron 2010-03-31 11:08:08 -07:00
Jim Mathies
798a6b7f0b merge backout. 2010-03-31 12:55:55 -05:00
Jim Mathies
e8db46f043 Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:41 -05:00
Josh Aas
452d0e1769 Fix comment. 2010-03-31 13:51:25 -04:00
Mike Hommey
e77f7f4af2 Bug 512487: Remove background-color settings in reftests first-letter/399941-[89] to make them not font-dependent. 2010-03-31 10:44:58 -07:00
Masayuki Nakano
37b847f135 Bug 554822 backout the previous patch 2010-04-01 02:31:06 +09:00
Masayuki Nakano
f1448bab60 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 02:12:43 +09:00
Rob Arnold
0feeddc29f Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad 2010-03-29 15:24:40 -04:00
Joel Maher
b349ccffd7 Bug 471676 Allow reftest harness to accept same chunking arguments as mochitest, used for maemo and other platforms r=ted 2010-03-29 10:57:51 -07:00
Daniel Holbert
3de1190d72 Bug 556404: Put CSS parser in SVG mode when parsing SMIL animation endpoints for XML attributes. r=roc r=dbaron 2010-04-02 09:34:31 -07:00
Kyle Huey
f7fe1611de Bug 253889: Bustage fix 2010-03-31 09:21:17 -04:00
Craig Topper
fbc0e59dce Bug 253889: DeCOMtaminate nsIPresShell - Clean up unnecessary initialization in HandleEventWithTarget(). r=roc
--HG--
extra : rebase_source : 88fa8550cb112139008f04bee4ed6a0a5c7cb415
2010-03-31 08:50:20 -04:00
Craig Topper
2ec76bd9d8 Bug 253889: DeCOMtaminate nsIPresShell - Make GetRootFrame() nonvirtual inside gklayout. r=roc
--HG--
extra : rebase_source : 6c1572e04309bc6d0db9732f98d820595dd3ab77
2010-03-31 08:48:04 -04:00
Craig Topper
0e86233524 Bug 253889: DeCOMtaminate nsIPresShell - Rev IID and remove NS_NewPresShell. r=roc
--HG--
extra : rebase_source : 55acb1008a92cd6c13760591c086c52ac9cb3e74
2010-03-31 08:47:25 -04:00
Craig Topper
ac28e5cb9c Bug 253889: DeCOMtaminate nsIPresShell - Remove more NS_IMETHOD. r=roc
--HG--
extra : rebase_source : ab0c230d7be484858e03b242c76b5cc9bcfa87ae
2010-03-31 08:45:32 -04:00
Craig Topper
f1f968736b Bug 253889: DeCOMtaminate nsIPresShell - Inline getters. r=roc
--HG--
extra : rebase_source : cdb8803dc075e72a47879c83d62e2c08cc999caf
2010-03-31 08:45:08 -04:00
Craig Topper
99999b1e18 Bug 253889: DeCOMtaminate nsIPresShell - IID rev. r=roc
--HG--
extra : rebase_source : 7570b499706367da3153fb3c21abcd41aaa98349
2010-03-31 08:44:11 -04:00
Craig Topper
afa4c872e5 Bug 253889: DeCOMtaminate nsIPresShell - IsPaintingSuppressed(). r=roc
--HG--
extra : rebase_source : 9ee8283e8bce33402893ae5316f89c9f699a1236
2010-03-31 08:43:49 -04:00
Craig Topper
8ef02ed2f5 Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Craig Topper
8da3d1c3df Bug 253889: DeCOMtaminate nsIPresShell - GetEventTarget[Frame|Content](). r=roc
--HG--
extra : rebase_source : aa059747dc2b24360fd8429fbd7fd21077ecbfa4
2010-03-31 08:43:01 -04:00
Craig Topper
8f10fd8f80 Bug 253889: DeCOMtaminate nsIPresShell - Remove NS_IMETHOD. r=roc
--HG--
extra : rebase_source : dc316062106c32edc90815399708b861e3a14aa9
2010-03-31 08:41:54 -04:00
Craig Topper
c82a6bc194 Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Craig Topper
3b3307f212 Bug 253889: DeCOMtaminate nsIPresShell - make some methods const. r=roc
--HG--
extra : rebase_source : 94167aa329d4021677027f6bb6b1674d278f53f5
2010-03-31 08:38:52 -04:00
Craig Topper
b37453ff6d Bug 555888 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : fd3a575d23d76c0adeed53ae6b83268484988014
2010-03-31 13:09:11 +02:00
Robert Longson
bdd80f1369 Bug 521636 - A single rotate number should rotate all glyphs. r=roc 2010-03-31 09:57:28 +01:00
Ginn Chen
73dbd6bb74 Bug 555673 FramePropertyTable.cpp failed to compile with Sun Studio on Solaris r=roc 2010-03-29 19:43:35 +08:00
Robert O'Callahan
c3f6613840 Backing out fix for bug 548792 to try to fix test failure in test_caretmove.html 2010-03-29 16:42:53 +13:00
Robert O'Callahan
4cd9ef0d06 Backed out changeset 4df05ea5fe1b 2010-03-29 16:42:10 +13:00
Robert O'Callahan
34c4e60075 Bug 551463. Don't clamp scroll positions during reflow, do it during a post-reflow callback so that temporary frame size changes don't clamp when they shouldn't. r=mats 2010-03-29 14:46:59 +13:00
Robert O'Callahan
1ea635776b Bug 548792. When scrolling content into view, make sure to check scrollable elements in ancestor documents. r=mats 2010-03-29 14:46:59 +13:00
Robert O'Callahan
a27c78da5a Bug 545049. Capture the pre-transform overflow area of a frame and use it in InvalidateOverflowArea. r=mats 2010-03-29 14:46:58 +13:00
Robert O'Callahan
93d285f634 Bug 545049. When the overflow area of a transformed frame changes, we need to repaint the whole thing. r=mats 2010-03-29 14:46:58 +13:00
Robert O'Callahan
0fd1837981 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Benoit Girard
d0a3d6d019 Optimize Core Graphics drawing model OOPP implementation. b=555835 r=josh 2010-04-01 17:53:56 -04:00
Daniel Holbert
d3484c4647 Bug 551298, patch C bustage-followup: Use fully qualified class name when logging AddRefs names to prevent name-collision in bloat hash map. 2010-04-01 11:05:40 -07:00
Daniel Holbert
f138b54154 Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
d509dc0e16 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
605900c19f Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:38:53 -07:00
Daniel Holbert
f670acaa95 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 08:08:51 -07:00
timeless@mozdev.org
2aec598f27 Bug 552246 remove unused variable availWidth from nsTableRowFrame::CalcHeight
r=bernd
2010-04-01 08:07:22 -07:00
Robert O'Callahan
ff36677368 Bug 550029. Don't try to run treeview script if the document global object has gone away. r=smaug 2010-04-01 20:32:13 +13:00
Jesse Ruderman
fdb1e0190d Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Jesse Ruderman
ff90f89d15 hg rm a test that was removed from the manifest. Making a working test is covered by bug 414740's in-testsuite? flag. 2010-03-31 20:16:44 -07:00
Masayuki Nakano
f88647e545 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 11:35:48 +09:00
Zack Weinberg
8a8adc758b Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Robert O'Callahan
288770f0d1 Bug 551660. Create FramePropertyTable. r=mats,sr=dbaron 2010-03-15 14:51:44 +13:00
Robert O'Callahan
8ee064d838 Bug 551637. collapseOffsetProperty is never used. r=mats 2010-03-29 14:46:13 +13:00
Robert O'Callahan
79e3ba391b Bug 551632. endsInDiacritic frame property is set but never used. r=smontagu 2010-03-29 14:46:13 +13:00
Kyle Huey
1284a86b27 Bug 253889: Windows bustage fix. 2010-03-28 19:57:06 -04:00
Craig Topper
61dba9a452 Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Olli Pettay
c9aaa3e7c4 Bug 553924 - Crash [@ nsDocumentViewer.cpp], r=jlebar 2010-03-29 01:47:54 +03:00
Ehsan Akhgari
7f6cd7f0af Bug 552359 - Tinderbox orange: layout/reftests/forms/placeholder/placeholder-7.html placeholder-8.html placeholder-9.html; r=roc 2010-03-27 11:16:53 -04:00
Masayuki Nakano
71ab14e537 Bug 553975 Caret is painted under textframe in input/textarea element r=roc 2010-03-27 13:33:17 +09:00
Daniel Holbert
4b5785c3e6 Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Robert O'Callahan
245051422a Bug 551635. Don't crash if we focus the root element and there's no root scroll frame. r=mats 2010-03-11 18:37:27 +13:00