Commit Graph

40703 Commits

Author SHA1 Message Date
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
cf5b3270af 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
7ff92ec1fa 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
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
78c4bdc4bd 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
68d7839f41 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
b5cbbc06ce 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
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
Josh Aas
dac88f2abc Bug 555234: Enable OOPP for x86 OS X and don't export mochitests conditional on MOZ_IPC. r=bsmedberg,ted 2010-04-02 20:19:31 -05:00
Chris Pearce
62ed5c8db0 Bug 531340 - Bustage fix on comm-central. r=bustage-fix 2010-04-02 17:03:12 -07:00
Daniel Holbert
66f88aa64e Bug 556900: Fix GCC warnings in nsOggPlayStateMachine.cpp. r=cpearce 2010-04-02 16:47:18 -07:00
Daniel Holbert
4a8e1281a9 Bug 556897: Fix GCC warnings "FOO will be initialized after BAR when initialized here" in content/media/ogg/. r=cpearce 2010-04-02 16:47:15 -07:00
Vivien Nicolas
8d0a5ca6d8 Bug 461843: Backout changes to avoid assertions but broke scrollbar margin support [r=roc] 2010-04-02 18:25:40 -04:00
Michael Wu
9b1b632895 Bug 542146 - Add support for building JS on Android. patch by vlad, bcombee, and me. r=ted 2010-04-02 15:09:05 -07:00
Daniel Holbert
0ec0eb7772 Bug 556860: Fix unsigned/signed warnings in nsGeolocation.cpp. r=dougt 2010-04-02 14:49:38 -07:00
Ted Mielczarek
3b083a71a6 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
Chris Jones
2e823a2ee5 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Michael Wu
c7af30faed Bug 553121 - Use resource URIs instead of file URIs for DTDs, r+sr=jst 2010-04-02 11:32:38 -07:00
Chris Jones
4142ff38b1 Merge backout 2010-04-02 13:20:44 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
dfba02ff4b Merge backout 2010-04-02 13:20:01 -05:00
Chris Jones
1b4aa00d53 Backed out changeset ac5cbcb2feb2 2010-04-02 13:19:24 -05:00
Doug Turner
de5f5f3208 Fix Qt Gfx build bustage when using shared image surfaces. No bug 2010-04-02 11:11:31 -07:00
Chris Jones
2e3a88b480 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Jason Orendorff
d447d924df Bug 555246 - Wrong answer for 'this' in function code when entry frame was produced by a call across globals. r=brendan. 2010-04-01 09:56:25 -05:00
Dan Witte
4e50af97f4 Typo fix. 2010-04-02 14:03:27 -07:00
Dan Witte
a0f7102bf7 Bug 538324 - Move ctypes into js/src. Part 9: Add ctypes to jsshell. r=gal 2010-04-02 13:34:19 -07:00
Dan Witte
691a56e2c8 Bug 538324 - Move ctypes into js/src. Part 8: Add ctypes JS module bits to toolkit. r=bsmedberg
--HG--
rename : js/ctypes/Makefile.in => toolkit/components/ctypes/Makefile.in
rename : js/ctypes/Module.cpp => toolkit/components/ctypes/Module.cpp
rename : js/ctypes/Module.h => toolkit/components/ctypes/Module.h
rename : js/ctypes/ctypes.jsm => toolkit/components/ctypes/ctypes.jsm
rename : js/ctypes/tests/Makefile.in => toolkit/components/ctypes/tests/Makefile.in
rename : js/ctypes/tests/jsctypes-test.cpp => toolkit/components/ctypes/tests/jsctypes-test.cpp
rename : js/ctypes/tests/jsctypes-test.h => toolkit/components/ctypes/tests/jsctypes-test.h
rename : js/ctypes/tests/unit/test_jsctypes.js.in => toolkit/components/ctypes/tests/unit/test_jsctypes.js.in
2010-04-02 13:16:51 -07:00
Dan Witte
35bd2129aa Bug 538324 - Move ctypes into js/src. Part 7: Remove additional NSPR dependencies. r=benjamn 2010-04-02 13:16:06 -07:00
Dan Witte
79b69ab8d7 Bug 538324 - Move ctypes into js/src. Part 6: Add ctypes to JSAPI. r=sayrer 2010-04-02 13:07:41 -07:00
Dan Witte
084f8dbd80 Bug 538324 - Move ctypes into js/src. Part 5: Remove nsILocalFile option, and corresponding XPCOM dependency, for ctypes.open(). r=jorendorff 2010-04-02 13:07:02 -07:00