Commit Graph

1170 Commits

Author SHA1 Message Date
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
L. David Baron
3b67d5db4a 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
597523deaa Merge backout of bug 553124 2010-04-07 13:29:28 -04:00
Ehsan Akhgari
3313f2610b Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
f11e5f3370 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
430750684a Add test for background image loading behavior for :visited links. (Bug 557287) 2010-04-06 12:42:41 -07:00
L. David Baron
7880213876 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
1e8873bdf4 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
df8e44cdd9 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
9dc08b1cf0 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
d923cbe90a Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert 2010-04-06 19:03:12 -07:00
Zack Weinberg
3fc693ef33 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
2ec3bc6f42 Bug 556661: make nsDOMCSSDeclaration::SetProperty capable of removing !important. r=dbaron 2010-04-06 15:52:02 -07:00
L. David Baron
1a2961ba01 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
8a88b3f08f 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
8e3acb1006 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
e0ac5d5547 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
9b9ef4a6b9 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
1141b26829 Add mochitests for getComputedStyle and querySelector(All) lying about :visited selectors. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
d93ae3417f 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
f094fceed0 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
6d9693bbd2 Put visited handling in the tree match context. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
562295a495 Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
2f9c329ba6 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
d1f6c99d69 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
a0fa66317b Fix initialization comment in nsRuleProcessorData. (Bug 147777) r=sdwilsh 2010-04-02 18:58:26 -07:00
L. David Baron
7716822c2c Make nsStyleContext::FindChildWithRules deal with the visited style context. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
e280ee7267 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
ae7431d3fc Introduce NodeMatchContext for additional input into SelectorMatches. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
1954ac4824 Introduce TreeMatchContext for additional output from SelectorMatchesTree. (Bug 147777) r=bzbarsky 2010-04-02 18:58:26 -07:00
L. David Baron
f64f440371 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
0b57ef51cd 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
cb0d8954c9 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
c6cfc1d0a4 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
0703626682 Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
L. David Baron
961c31082c 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
4f2f50bd5a Add mechanism for separate style data for visited style. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
L. David Baron
3eacc25287 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
Daniel Holbert
84c8cc58ba 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
Zack Weinberg
54ad0fb73a Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky 2010-04-01 23:07:43 -07:00
Zack Weinberg
7186dd3ecb Bug 494117: remove PresContext argument to nsStyleSet::GetContext. r=bzbarsky 2010-04-01 23:07:42 -07:00
Mats Palmgren
57a4d3a783 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
fc92cdabc8 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
Daniel Holbert
55760b9bc8 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
aa26889b7f Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
17d9b970b2 Backed out changeset afcaf3670c21 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:59 -07:00
Daniel Holbert
83bf8f3bd3 Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 08:08:51 -07:00
Zack Weinberg
ee4e0f1e56 Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Zack Weinberg
fc83353867 Bug 508466 part 3: remove eSelectorParsingStatus_Empty. r=dbaron 2010-03-31 11:08:11 -07:00