Граф коммитов

4038 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 30d39f10f2 Add support for calc() expressions in translate functions of -moz-transform. (Bug 531344) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron b44f2f2e1c Fix weird SetCoordToValue signature. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron cd7fdfd709 Allow CSS parser to forbid min()/max() within certain calc() expressions. (Bug 531344) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron c79bc101bc Create a common function for setting pieces of a transform matrix for a translation. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron 96ae9617aa Add some helper functions for common CSS value to CSS value interpolations. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron c0e1253b97 Make the style struct store the specified transform list so that we can animate matching lists without matrix decomposition. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron 3adbe95c8f Handle computed-value calc() expressions in computed style. (Bug 363249) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron 413fbfdc07 Convert calc() serialization code to a template so it can also be used for nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron 46944261e9 Add API to compute length, percentage or calc() style coords. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron bdaba1f3fc Add API to compute computed-value calc() expressions to lengths. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron f081169855 Add additional template parameter expectations to ComputeCalc so that its input can be nsCSSValue or nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron 0c9f617c72 Add code to compute a computed-value calc() expression from a specified-value calc() expression, and make it reachable from SetCoord in nsRuleNode. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron 247e69252b Switch calc() to saturating operations on nscoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron 46fbfa8fba Fix namespace usage in nsRuleNode. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron 2d6d3fc9eb Add storage for calc() expressions to nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron fbdc2c3138 Add nsStyleCoord::Array type. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron c5676916f0 Add nsStyleContext::Alloc for allocations scoped to the lifetime of the style context. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron 9737f5e893 Fire transitionend events only for transitions on elements (not pseudo-elements). (Bug 537140) r=bzbarsky 2010-07-02 21:18:55 -07:00
Boris Zbarsky 35ac88e284 Bug 576136. Use arrays of rulevalues, not linked lists, for slightly better cache locality. r=dbaron 2010-07-02 16:56:09 -04:00
Jesse Ruderman 3aa2e3fa71 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Benjamin Smedberg a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg e17740e1ab Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg 29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Daniel Holbert 013e10d651 Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz 2010-06-25 12:38:57 -07:00
Benjamin Smedberg 822ccb0789 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ms2ger 96299b3d2f Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 11aa72f2d4 Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Benjamin Smedberg c89bc5321c Bug 573739 - Don't get the private browing service during layout module initialization: delay until profile-after-change. 2010-06-22 12:59:57 -04:00
Boris Zbarsky 5f1001dd6d Adding bug 573127 test 2010-06-23 01:43:17 -04:00
Boris Zbarsky 753e4b833b Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron 2010-06-23 00:46:27 -04:00
L. David Baron 1dc52aecc3 Switch test_transitions_per_property to testing interpolation 1/4 of the way through instead of 1/2, so it will catch getting the halves backwards. 2010-06-26 11:58:06 -07:00
L. David Baron 1c9fd8e939 Adjust comment as followup to bug 574059. 2010-06-26 11:58:06 -07:00
Boris Zbarsky 7be35161f4 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Boris Zbarsky a7d7581a19 Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron 2010-06-18 12:23:05 -04:00
L. David Baron e48dbb1afd Add test for bug 573255.
--HG--
extra : transplant_source : Y%E3o%C5%F1H8t%AF%3E%1Cu%5B%EA%E0%2B%27%08%EA%C2
2010-06-19 14:11:20 -07:00
L. David Baron 4684f3f568 Backed out changeset a6e3300a3bac (bug 571347) for causing bug 573255 because the optimization is invalid given :not() selectors. 2010-06-19 14:16:38 -07:00
Boris Zbarsky c8d7e9da79 Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron 2010-06-18 12:23:05 -04:00
Boris Zbarsky 6b42fb408a Bug 569006. Skip probing for ::before/::after during reresolve if we're not redoing matching on kids, since those can't appear/disappear without either a reframe or a change in what selectors we match. r=dbaron 2010-06-18 12:23:05 -04:00
Boris Zbarsky fa30dc0437 Bug 494117 part 2. Don't force selector matching on the whole subtree rooted at an element when the element's style changes. r=dbaron 2010-06-18 12:23:05 -04:00
Boris Zbarsky 43f065f6ae Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron 2010-06-18 12:23:05 -04:00
Jesse Ruderman 9478c01a40 Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Jesse Ruderman 73e0f6b5f2 Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Boris Zbarsky 00f4b8a8ca Bug 571105. Don't force creation of an if-visited style contest if we don't actually need one. r=dbaron 2010-06-14 16:06:48 -04:00
Justin Wood 55183ae219 Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
L. David Baron 5b0dfeed0f Fix alphabetization of renamed properties in property_database.js. (Bug 549809) 2010-06-08 18:44:33 -07:00
L. David Baron 534169bd6e Rename -moz-background-size to background-size. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron 7a021d9262 Support for background-clip and background-origin in the background shorthand. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron 1118f60946 Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron db7a6cb346 Remove comments referencing no-longer-existing no-clip value for background-clip. (Bug 549809) 2010-06-08 18:44:32 -07:00
L. David Baron 13edc8e9a6 Add -moz-background-clip: content. (Bug 549809) r=roc 2010-06-08 18:44:32 -07:00
Boris Zbarsky 6fc99eb310 Bug 558943. Pass the right value for aIsLink from ReparentStyleContext. r=dbaron 2010-06-08 15:58:26 -04:00
Robert Sayre 899c142ca3 Merge tracemonkey to mozilla-central. 2010-06-06 14:55:52 -04:00
Mounir Lamouri 9b26ae26de Bug 569337 - Fix compilation issues when SVG and SMIL are disabled. r=dbaron 2010-06-06 19:45:18 +02:00
Robert Sayre cecd0f18ee Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Robert Sayre 5a3f306961 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Jason Orendorff 578fc3cdd3 Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
John Daggett 909acbe49a Bug 555406. Call checkLoadURI for INHERIT_PRINCIPAL font loads. r=bz 2010-05-24 15:45:18 +09:00
Ehsan Akhgari c9c8c3c5b3 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Jason Duell 6cd446aadb # User Michal Novotny <michal.novotny@gmail.com>
# Date 1272456176 -7200
Bug 549241 - Channel classifier should run in chrome process. r=biesi, sr=jst
2010-05-21 14:03:02 -07:00
Ehsan Akhgari db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Craig Topper 213b0d1c3f Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Craig Topper ef96f55ca1 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Craig Topper 94829365f8 Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron 2010-05-17 21:00:39 -07:00
L. David Baron 86bba93f79 Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky 2010-05-14 22:01:46 -07:00
L. David Baron 76df418748 Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky 2010-05-14 22:01:45 -07:00
Craig Topper 29a342cd5f Rename nsIStyleSheet::GetApplicable to IsApplicable and GetComplete to IsComplete. (Bug 239008) r=dbaron 2010-05-14 12:05:14 -07:00
Boris Zbarsky 95b761ff79 Bug 565818. Pass Elements to HasAttributeDependentStyle and HasStateDependentStyle. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky f1f4c49fc4 Bug 565815. Use Element in the transition manager instead of nsIContent. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky 8cae712aa8 Bug 565809. Move checking for style attribute changes into the cascade level. r=dbaron 2010-05-14 13:04:51 -04:00
Mitchell Field 0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
L. David Baron a5fdfffd89 Add appropriate styles for the effects of HTML5 sectioning elements on headers. (Bug 562835) r=bzbarsky 2010-05-13 19:36:48 -07:00
L. David Baron 494c35914d Avoid wrapping to negative font sizes. (Bug 565248) r=roc 2010-05-13 19:36:48 -07:00
Craig Topper bd3c6ba927 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Ehsan Akhgari dd43739b68 Bug 528686 - xf:select doesn't work if contenteditable element is presented within the document; r=dbaron 2010-05-06 20:33:31 -04:00
L. David Baron 51fd47f445 Restore comments and formatting from nsICSSStyleSheet.h that was lost in 5329c2d9c968. (Bug 239008) 2010-05-11 13:59:25 -07:00
Craig Topper 0a75cd11cd Make most of the methods in nsCSSStyleSheet non-virtual. (Bug 239008) r=dbaron 2010-05-11 13:41:48 -07:00
Craig Topper 0712e1b438 Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper 55e9fbfa98 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Peter Van der Beken 34f855c0b2 Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
L. David Baron dcc4af33b9 Instantiate the calc ops struct rather than a nested data struct inside of it. (Bug 363249) r=bzbarsky 2010-05-11 08:49:44 -07:00
L. David Baron f67d8257ba Get rid of (void) C-isms in nsStyleCoord. (Bug 363249) r=bzbarsky 2010-05-11 08:49:44 -07:00
L. David Baron 97f744099a Add calc() support for 'font-size' property, which is the only property for which percents are computed to lengths in nsRuleNode. (Bug 363249) r=bzbarsky 2010-05-11 08:49:44 -07:00
L. David Baron a834b40a01 Add calc() support for lengths in text-shadow and -moz-box-shadow. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron 454d6dd6d0 Add calc() support for the easiest cases: properties that take lengths but not percentages and take simple values only (-moz-column-rule-width, -moz-column-width, letter-spacing, word-spacing, marker-offset, outline-offset, border-spacing). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron 36456511ee Fix property alphabetization errors in property_database.js. 2010-05-11 08:49:43 -07:00
L. David Baron ba2f2edc7b Add mechanism for clamping computation of calc() to nonnegative values. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron e55e809d36 Add mechanism for computation of calc() in the cases where the arguments are only lengths (i.e., where computed style can contain a simple result rather than a calc tree). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron f2c3ce7ef8 Implement serialization of calc() values. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron 328cba210e Implement parsing of calc(). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron 1a7c32ce5f Add template-based mechanism for computing a calc() tree. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron 746829e4fe Implement storage of calc() expressions in nsCSSValue. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
Peter Van der Beken 2390f94ae2 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst. 2010-04-19 17:41:39 +02:00
L. David Baron c4eb38acd9 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky fb534f9674 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Ms2ger@gmail.com 91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
L. David Baron 736090d613 Don't bother with 16-bit reference count and index in nsCSSValue::Array. (Bug 574059) r=bzbarsky 2010-06-24 14:53:44 -07:00
Boris Zbarsky 3f7bc45256 Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky 0466fc87f5 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky 9c2ad4b2aa Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Timothy Nikkel dbc078a9ef Bug 559491. If a visited style context has no parent then add it to the list of roots. r=dbaron 2010-04-29 20:15:44 -05:00
Mitchell Field f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Henri Sivonen baf480f1c5 Make test_acid3_test46.html wait for onload. (orange fix) 2010-04-28 16:21:07 +03:00
timeless f3cdc36c53 Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless aa22afa674 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Boris Zbarsky 0119433e2d Bug 559284. Make various HTML5 sectioning elements display:block. r=dbaron 2010-04-26 16:27:01 -04:00
Boris Zbarsky d6ac020246 Bug 561516. Switch from an array of function pointers to a switch to make it easier to modify this code in the future. r=dbaron 2010-04-26 16:27:01 -04:00
timeless@mozdev.org 3d83fa269f Bug 555702 - nsCSSExpandedDataBlock::DoExpand null checks aBlock instead of *aBlock, r=dbaron
--HG--
extra : rebase_source : a1d1ab6b36f02edbafa36e743ec846f69b84da66
2010-03-29 06:43:00 -07:00
L. David Baron cd07aa2832 Make the test not fail when the transition has completed already but the event hasn't fired yet. (Bug 537573) a=philor for APPROVAL REQUIRED 2010-04-23 19:59:48 -07:00
L. David Baron dd9bcaffc0 Make some selectors in html.css faster using :-moz-any(). (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
L. David Baron b9449d47f3 Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
L. David Baron 6eb74eb12e Make test_selectors continue when a parsing test fails. 2010-04-23 19:59:47 -07:00
L. David Baron 0b6c0a8e57 Clean up SkipUntil handling in parsing of pseudo-classes with arguments. (I haven't found any cases where this actually changes behavior, but it's needed for the next patch.) (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
Brandon Sterne 65e8b587bd Bug 561449 - checking in forgotten style portion of CSP redirect patch, r=jst, a=dholbert_sheriff 2010-04-23 15:05:32 -07:00
Zack Weinberg 590227c608 Bug 559715: Micro-optimize nsCSSPropertySet by adjusting types so that the compiler can do index calculations more efficiently., r=dbaron, a=dholbert_sheriff 2010-04-23 12:59:15 -07:00
Brandon Sterne 78b1ffc343 Bug 515460 - enforce CSP during @font-face redirects, r=jdaggett, a=dholbert_sheriff 2010-04-23 12:53:41 -07:00
Neil Deakin b627649b3d Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Henri Sivonen e8a8915f17 Bug 452915 - Remove default border from linked images per HTML5. r=dbaron.
--HG--
extra : rebase_source : 10b90a485cffe44c01493d4469eec2204724e2ce
2010-02-02 09:43:18 +02:00
Craig Topper 8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper 25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
L. David Baron c7f2c20b20 Make the reset test in test_transitions.html deal with the possibility of massive skew between setTimeout and the clock. (Bug 539904) 2010-04-07 12:06:15 -07:00
Ehsan Akhgari d414a5a8e0 Merge backout of bug 553124 2010-04-07 13:29:28 -04:00
Ehsan Akhgari 43363953fd Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari 6f84f45be3 Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron 48a0a6c550 Add test for background image loading behavior for :visited links. (Bug 557287) 2010-04-06 12:42:41 -07:00
L. David Baron b9f7a3d9ad Don't start image loads for the if-visited style contexts. (Bug 557287) r=bzbarsky 2010-04-06 12:42:41 -07:00
L. David Baron 5412d20e69 Make style contexts know if they are the if-visited style. (Bug 557287) r=bzbarsky 2010-04-06 12:42:41 -07:00
L. David Baron 1dd09b2485 When setTimeout fires much later than it should, which happens on unit test boxes a good bit, make test_transitions_events.html report a todo rather than a fail. (Bug 537573) 2010-04-06 22:50:06 -07:00
L. David Baron 44fc00f5f0 Use the appropriate color based on visitedness for '-moz-column-rule-color'. (Bug 557580) r=roc 2010-04-06 19:03:12 -07:00
L. David Baron 34a3f166a8 Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert 2010-04-06 19:03:12 -07:00
Zack Weinberg b571940f32 Bug 556661 bustage fix: test_priority_preservation.html updated to new semantics, augmented with further tests 2010-04-06 17:55:57 -07:00
Zack Weinberg fc45a2cee3 Bug 556661: make nsDOMCSSDeclaration::SetProperty capable of removing !important. r=dbaron 2010-04-06 15:52:02 -07:00
L. David Baron ea2113c668 Avoid showing black when the if-visited style is transparent and the unvisited style is a color. (Bug 557584) r=bzbarsky 2010-04-06 15:32:52 -07:00
Zack Weinberg 52c2d9375f Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug. 2010-04-06 14:52:17 -07:00
Peter Van der Beken 85c9e641b0 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01: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 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